diff options
author | wiz <wiz@pkgsrc.org> | 2017-05-17 11:20:55 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-05-17 11:20:55 +0000 |
commit | 1cde3b3f30397a11d12da40ea4128a890f06e9b4 (patch) | |
tree | f5594f9939414bdbbfb3b1182dabccacdda95019 | |
parent | 3a97d09794de143f514a2388837bd9b6ee2d4086 (diff) | |
download | pkgsrc-1cde3b3f30397a11d12da40ea4128a890f06e9b4.tar.gz |
Fix test target.
-rw-r--r-- | devel/py-click/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/py-click/Makefile b/devel/py-click/Makefile index 1ac58511c2b..d4f4ee2e225 100644 --- a/devel/py-click/Makefile +++ b/devel/py-click/Makefile @@ -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]*:../../devel/py-test 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 |