pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-virtualenv



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May  2 09:08:53 UTC 2022

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

Log Message:
py-virtualenv: improve test target, add test status


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/py-virtualenv/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-virtualenv/Makefile
diff -u pkgsrc/devel/py-virtualenv/Makefile:1.54 pkgsrc/devel/py-virtualenv/Makefile:1.55
--- pkgsrc/devel/py-virtualenv/Makefile:1.54    Fri Apr 29 23:17:52 2022
+++ pkgsrc/devel/py-virtualenv/Makefile Mon May  2 09:08:53 2022
@@ -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 @@ USE_LANGUAGES=      # none
 
 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