[arch-commits] Commit in python-sphinx-reredirects/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Jun 27 19:01:47 UTC 2022
Date: Monday, June 27, 2022 @ 19:01:46
Author: alerque
Revision: 1239730
upgpkg: python-sphinx-reredirects 0.1.1-1
Modified:
python-sphinx-reredirects/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-27 18:59:24 UTC (rev 1239729)
+++ PKGBUILD 2022-06-27 19:01:46 UTC (rev 1239730)
@@ -1,11 +1,9 @@
# Maintainer: Caleb Maclennan <caleb at 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
+pkgver=0.1.1
pkgrel=1
pkgdesc='Handles redirects for moved pages in Sphinx documentation projects'
arch=(any)
@@ -16,10 +14,10 @@
makedepends=(python-{build,installer}
python-setuptools
python-wheel)
-# checkdepends=(python-pytest)
+checkdepends=(python-pytest)
_archive="$_pkgname-v$pkgver"
source=("$url/-/archive/v$pkgver/$_archive.tar.bz2")
-sha256sums=('185113103aed8f5da175c863baee06999a83913521bea30d6e6382602868f9ef')
+sha256sums=('5f494fad2fbb3c37b787815a4c6f8c9b1dbab7a1d91c55025033c16d4d226a06')
build() {
cd "$_archive"
@@ -26,10 +24,10 @@
python -m build -wn
}
-# check() {
-# cd "$_archive"
-# pytest tests
-# }
+check() {
+ cd "$_archive"
+ pytest
+}
package() {
cd "$_archive"
More information about the arch-commits
mailing list