mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
math/py-pyodesys: switch to USES=pytest, fix tests
Reported by: reprise Approved by: portmgr blanket
This commit is contained in:
parent
d7176a1b20
commit
c45ba2de94
1 changed files with 2 additions and 6 deletions
|
@ -16,11 +16,10 @@ RUN_DEPENDS= ${PYNUMPY} \
|
|||
${PYTHON_PKGNAMEPREFIX}scipy>=1.2.3:science/py-scipy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sympy>=1.5.1:math/py-sympy@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
||||
${LOCALBASE}/include/boost/numeric/ublas/matrix.hpp:devel/boost-libs \
|
||||
TEST_DEPENDS= ${LOCALBASE}/include/boost/numeric/ublas/matrix.hpp:devel/boost-libs \
|
||||
${LOCALBASE}/include/gsl/gsl_errno.h:math/gsl
|
||||
|
||||
USES= localbase:ldflags python:3.7+ shebangfix
|
||||
USES= display:test localbase:ldflags python:3.7+ shebangfix pytest
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
SHEBANG_GLOB= *.py
|
||||
|
@ -39,7 +38,4 @@ EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVO
|
|||
${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR}
|
||||
|
||||
do-test: install # Tests fail because extra-dependencies are erroneously required: https://github.com/bjodah/pyodesys/issues/97
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue