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

Bruno Pagani archange at archlinux.org
Sun Feb 7 18:12:27 UTC 2021


    Date: Sunday, February 7, 2021 @ 18:12:27
  Author: archange
Revision: 848173

Fix tests by setting PYTHONPATH

Modified:
  python-locket/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-07 18:04:53 UTC (rev 848172)
+++ PKGBUILD	2021-02-07 18:12:27 UTC (rev 848173)
@@ -3,7 +3,7 @@
 _pkg=locket
 pkgname=python-${_pkg}
 pkgver=0.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="File-based locks for Python"
 arch=(any)
 url="https://github.com/mwilliamson/locket.py"
@@ -23,8 +23,7 @@
 
 check() {
   cd ${_pkg}.py-${pkgver}
-  # https://github.com/mwilliamson/locket.py/issues/13
-  nosetests || echo "Tests failed"
+  PYTHONPATH="${PWD}/build/lib/" nosetests
 }
 
 package() {


More information about the arch-commits mailing list