pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-networkx



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Aug 18 20:15:04 UTC 2020

Modified Files:
        pkgsrc/math/py-networkx: Makefile

Log Message:
math/py-networkx: Fix running tests.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/math/py-networkx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-networkx/Makefile
diff -u pkgsrc/math/py-networkx/Makefile:1.31 pkgsrc/math/py-networkx/Makefile:1.32
--- pkgsrc/math/py-networkx/Makefile:1.31       Sat Apr 11 07:45:41 2020
+++ pkgsrc/math/py-networkx/Makefile    Tue Aug 18 20:15:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/04/11 07:45:41 adam Exp $
+# $NetBSD: Makefile,v 1.32 2020/08/18 20:15:04 riastradh Exp $
 
 DISTNAME=      networkx-2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,16 @@ COMMENT=    Python package for creating and
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-decorator>=4.3.0:../../devel/py-decorator
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.3.7:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} \
+       pytest-${PYVERSSUFFIX} --pyargs networkx
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index