Date: Monday, June 27, 2022 @ 19:01:54 Author: alerque Revision: 1239731
archrelease: copy trunk to community-any Added: python-sphinx-reredirects/repos/community-any/PKGBUILD (from rev 1239730, python-sphinx-reredirects/trunk/PKGBUILD) Deleted: python-sphinx-reredirects/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 35 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-27 19:01:46 UTC (rev 1239730) +++ PKGBUILD 2022-06-27 19:01:54 UTC (rev 1239731) @@ -1,37 +0,0 @@ -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: JakobDev<jakobdev at gmx dot de> - -# TODO: Tests added after 0.1.0 release, enable check() on next bump - -pkgname=python-sphinx-reredirects -_pkgname=${pkgname#python-} -pkgver=0.1.0 -pkgrel=1 -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=('185113103aed8f5da175c863baee06999a83913521bea30d6e6382602868f9ef') - -build() { - cd "$_archive" - python -m build -wn -} - -# check() { -# cd "$_archive" -# pytest tests -# } - -package() { - cd "$_archive" - python -m installer -d "$pkgdir" dist/*.whl -} Copied: python-sphinx-reredirects/repos/community-any/PKGBUILD (from rev 1239730, python-sphinx-reredirects/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-27 19:01:54 UTC (rev 1239731) @@ -0,0 +1,35 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: JakobDev<jakobdev at gmx dot de> + +pkgname=python-sphinx-reredirects +_pkgname=${pkgname#python-} +pkgver=0.1.1 +pkgrel=1 +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 +}