[arch-commits] Commit in python-ubjson/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Mon Aug 29 14:39:34 UTC 2022


    Date: Monday, August 29, 2022 @ 14:39:34
  Author: yan12125
Revision: 1285263

python-ubjson: fix building with newer setuptools

See: https://wiki.archlinux.org/index.php?title=Python_package_guidelines&type=revision&diff=743435&oldid=742361
See: https://github.com/pypa/distutils/pull/133

Modified:
  python-ubjson/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 14:38:49 UTC (rev 1285262)
+++ PKGBUILD	2022-08-29 14:39:34 UTC (rev 1285263)
@@ -23,8 +23,8 @@
 
 check() {
   cd py-ubjson-$pkgver
-  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-$pyver" python -m unittest discover -v test
+  pyver=$(python -c "import sys; print('{}{}'.format(*sys.version_info[:2]))")
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$pyver" python -m unittest discover -v test
 }
 
 package() {



More information about the arch-commits mailing list