summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2020-08-18 20:15:04 +0000
committerriastradh <riastradh@pkgsrc.org>2020-08-18 20:15:04 +0000
commitc83389b26577a2af42701998bb701ea1108f93d5 (patch)
tree734370dc539d60681afffc60ee34abe88f44ec1b /math
parentad13c703ada4ca4bc42c772788e2f0d3e983fe28 (diff)
downloadpkgsrc-c83389b26577a2af42701998bb701ea1108f93d5.tar.gz
math/py-networkx: Fix running tests.
Diffstat (limited to 'math')
-rw-r--r--math/py-networkx/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile
index 0ceaf5d0730..df38820a9f2 100644
--- a/math/py-networkx/Makefile
+++ b/math/py-networkx/Makefile
@@ -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 manipulating graphs and networks
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"