Date: Thursday, April 6, 2023 @ 13:06:48
  Author: felixonmars
Revision: 1438759

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-reredirects/repos/community-staging-any/
  python-sphinx-reredirects/repos/community-staging-any/PKGBUILD
    (from rev 1438756, python-sphinx-reredirects/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-sphinx-reredirects/repos/community-staging-any/PKGBUILD (from 
rev 1438756, python-sphinx-reredirects/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:06:48 UTC (rev 1438759)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: JakobDev<jakobdev at gmx dot de>
+
+pkgname=python-sphinx-reredirects
+_pkgname=${pkgname#python-}
+pkgver=0.1.1
+pkgrel=2
+pkgdesc='Handles redirects for moved pages in Sphinx documentation projects'
+arch=(any)
+url="https://gitlab.com/documatt/$_pkgname";
+license=("BSD")
+depends=(python
+         python-sphinx)
+makedepends=(python-{build,installer}
+             python-setuptools
+             python-wheel)
+checkdepends=(python-pytest)
+_archive="$_pkgname-v$pkgver"
+source=("$url/-/archive/v$pkgver/$_archive.tar.bz2")
+sha256sums=('5f494fad2fbb3c37b787815a4c6f8c9b1dbab7a1d91c55025033c16d4d226a06')
+
+build() {
+    cd "$_archive"
+    python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       pytest
+}
+
+package() {
+    cd "$_archive"
+    python -m installer -d "$pkgdir" dist/*.whl
+}

Reply via email to