pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-nose



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Aug 18 20:12:37 UTC 2020

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

Log Message:
devel/py-nose: Enable the tests to run.

Not all of them pass but that's better than all of them not running!


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-nose/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-nose/Makefile
diff -u pkgsrc/devel/py-nose/Makefile:1.15 pkgsrc/devel/py-nose/Makefile:1.16
--- pkgsrc/devel/py-nose/Makefile:1.15  Sun Aug 28 15:48:30 2016
+++ pkgsrc/devel/py-nose/Makefile       Tue Aug 18 20:12:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2016/08/28 15:48:30 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2020/08/18 20:12:37 riastradh Exp $
 
 DISTNAME=      nose-1.3.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -24,6 +24,10 @@ SUBST_VARS.manpath=  PKGMANDIR
 post-extract:
        ${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
 
+pre-test:
+       ${RUN} cd ${WRKSRC} && \
+       ${PYTHONBIN} setup.py build_tests
+
 do-test:
        ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
 



Home | Main Index | Thread Index | Old Index