Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-nose devel/py-nose: Enable the tests to run.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca8c318f2ac1
branches:  trunk
changeset: 437215:ca8c318f2ac1
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Aug 18 20:12:37 2020 +0000

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

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

diffstat:

 devel/py-nose/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 64d81766cb5e -r ca8c318f2ac1 devel/py-nose/Makefile
--- a/devel/py-nose/Makefile    Tue Aug 18 17:57:24 2020 +0000
+++ b/devel/py-nose/Makefile    Tue Aug 18 20:12:37 2020 +0000
@@ -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 @@
 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