2018-04-01 08:24:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pyodesys
|
2018-10-18 23:34:12 +02:00
|
|
|
DISTVERSION= 0.12.4
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 2
|
2018-04-01 08:24:52 +02:00
|
|
|
CATEGORIES= math python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Straightforward numerical integration of ODE systems from Python
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
2018-08-09 02:31:44 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \
|
2018-06-20 19:05:41 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>=2.0.2:math/py-matplotlib@${PY_FLAVOR} \
|
2018-09-17 22:27:24 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \
|
2018-06-20 19:05:41 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR}
|
2018-09-21 18:43:54 +02:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
2018-04-01 08:24:52 +02:00
|
|
|
|
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2018-09-21 18:43:54 +02:00
|
|
|
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
|
2018-10-18 23:34:12 +02:00
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
2018-09-21 18:43:54 +02:00
|
|
|
|
2018-04-01 08:24:52 +02:00
|
|
|
.include <bsd.port.mk>
|