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

Felix Yan felixonmars at archlinux.org
Sat Jan 9 14:24:03 UTC 2021


    Date: Saturday, January 9, 2021 @ 14:24:02
  Author: felixonmars
Revision: 816222

better test hack

Modified:
  python-pytest-subtests/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-09 14:21:35 UTC (rev 816221)
+++ PKGBUILD	2021-01-09 14:24:02 UTC (rev 816222)
@@ -20,11 +20,9 @@
 }
 
 check() {
-  # Hack entry points by installing it
-
   cd pytest-subtests-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest
+  python setup.py egg_info
+  PYTHONPATH="$PWD" pytest
 }
 
 package() {



More information about the arch-commits mailing list