pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-click Fix test target.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/310cec3f7dea
branches:  trunk
changeset: 362538:310cec3f7dea
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed May 17 11:20:55 2017 +0000

description:
Fix test target.

diffstat:

 devel/py-click/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r ccf023acb238 -r 310cec3f7dea devel/py-click/Makefile
--- a/devel/py-click/Makefile   Wed May 17 11:17:45 2017 +0000
+++ b/devel/py-click/Makefile   Wed May 17 11:20:55 2017 +0000
@@ -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 @@
 
 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