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

Bruno Pagani archange at archlinux.org
Sun Nov 1 08:12:31 UTC 2020


    Date: Sunday, November 1, 2020 @ 08:12:30
  Author: archange
Revision: 738184

Switch to new test way

Modified:
  python-h5py/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 08:11:58 UTC (rev 738183)
+++ PKGBUILD	2020-11-01 08:12:30 UTC (rev 738184)
@@ -42,10 +42,8 @@
 }
 
 check() {
-  cd ${_pkg}-${pkgver}
-#  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 pytest --pyargs h5py -rxXs
-  python setup.py test
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  PYTHONPATH="$PWD/${_pkg}-${pkgver}/build/lib.linux-$CARCH-${python_version}" python -m pytest --pyargs h5py -rxXs
 }
 
 package() {



More information about the arch-commits mailing list