diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-09-21 16:43:54 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-09-21 16:43:54 +0000 |
commit | fa0dc38af524e6f89ff3b62cb06cbd706eed6694 (patch) | |
tree | a6c28d0643d5e69925a5c06759a1af0647293536 /math/py-pyodesys | |
parent | a95f238eace484f5df54a30b885f2c4b05f6bc06 (diff) | |
download | ports-fa0dc38af524e6f89ff3b62cb06cbd706eed6694.tar.gz ports-fa0dc38af524e6f89ff3b62cb06cbd706eed6694.zip |
math/py-pyodesys: Add tests; Add EXTRAS option for extra-dependencies
Notes
Notes:
svn path=/head/; revision=480285
Diffstat (limited to 'math/py-pyodesys')
-rw-r--r-- | math/py-pyodesys/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/py-pyodesys/Makefile b/math/py-pyodesys/Makefile index 1e41627b4de7..3a24ab27e2cf 100644 --- a/math/py-pyodesys/Makefile +++ b/math/py-pyodesys/Makefile @@ -2,6 +2,7 @@ PORTNAME= pyodesys DISTVERSION= 0.12.3 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,9 +19,23 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes +OPTIONS_DEFINE= EXTRAS +OPTIONS_DEFAULT= EXTRAS + +EXTRAS_DESC= Install optional dependencies for additional functionality +EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.2:devel/py-pycodeexport@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.3:devel/py-pycompilation@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR} + +do-test: # Tests fail because extra-dependencies are erroneously required: https://github.com/bjodah/pyodesys/issues/97 + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest --pyargs ${PORTNAME} + .include <bsd.port.mk> |