pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-click



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed May 17 11:20:56 UTC 2017

Modified Files:
        pkgsrc/devel/py-click: Makefile

Log Message:
Fix test target.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-click/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-click/Makefile
diff -u pkgsrc/devel/py-click/Makefile:1.11 pkgsrc/devel/py-click/Makefile:1.12
--- pkgsrc/devel/py-click/Makefile:1.11 Mon Jan 16 09:23:56 2017
+++ pkgsrc/devel/py-click/Makefile      Wed May 17 11:20:55 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/01/16 09:23:56 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2017/05/17 11:20:55 wiz Exp $
 
 DISTNAME=      click-6.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,8 +14,11 @@ BUILD_DEPENDS+=      ${PYPKGPREFIX}-test-[0-9
 
 USE_LANGUAGES= # none
 
+TEST_ENV+=     PYTHONPATH=..
+
 do-test:
-       cd ${WRKSRC}/tests && PYTHONPATH=.. py.test-${PYVERSSUFFIX} --tb=short
+       cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX} --tb=short
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
+TEST_ENV+=     LC_ALL=en_US.UTF-8



Home | Main Index | Thread Index | Old Index