pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-virtualenv py-virtualenv: improve test target...
details: https://anonhg.NetBSD.org/pkgsrc/rev/055c9217d1e6
branches: trunk
changeset: 378324:055c9217d1e6
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon May 02 09:08:53 2022 +0000
description:
py-virtualenv: improve test target, add test status
diffstat:
devel/py-virtualenv/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 3be90a6dcf01 -r 055c9217d1e6 devel/py-virtualenv/Makefile
--- a/devel/py-virtualenv/Makefile Mon May 02 08:46:36 2022 +0000
+++ b/devel/py-virtualenv/Makefile Mon May 02 09:08:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2022/04/29 23:17:52 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2022/05/02 09:08:53 wiz Exp $
DISTNAME= virtualenv-16.7.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -29,12 +29,16 @@
REPLACE_PYTHON= virtualenv.py
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} virtualenv virtualenv-${PYVERSSUFFIX} || ${TRUE}
+# as of 16.7.9
+# 15 failed, 10 passed, 10 skipped, 5 warnings, 59 errors
do-test:
- cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
Home |
Main Index |
Thread Index |
Old Index