[arch-commits] Commit in python-reedsolo/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Nov 22 16:29:08 UTC 2020
Date: Sunday, November 22, 2020 @ 16:29:07
Author: jelle
Revision: 759222
Update PKGBUILD to latest version with tests
Modified:
python-reedsolo/trunk/PKGBUILD
----------+
PKGBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-22 16:29:03 UTC (rev 759221)
+++ PKGBUILD 2020-11-22 16:29:07 UTC (rev 759222)
@@ -20,7 +20,8 @@
check() {
cd "reedsolomon-${pkgver}"
- python3 setup.py test
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" python -m unittest discover tests
}
package() {
More information about the arch-commits
mailing list