d04d23ae37
With both math/py-numpy (2) and math/py-numpy1, the variable stopped making sense. Also remove the upper version bound.
30 lines
837 B
Makefile
30 lines
837 B
Makefile
PORTNAME= pyodeint
|
|
DISTVERSION= 0.10.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python binding for odeint from boost
|
|
WWW= https://github.com/bjodah/pyodeint
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \
|
|
${LOCALBASE}/include/boost/config.hpp:devel/boost-libs
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR}
|
|
|
|
USES= compiler:c++11-lang localbase python
|
|
USE_PYTHON= distutils autoplist pytest
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
TEST_WRKSRC= ${WRKSRC}/pyodeint/tests
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyodeint/_odeint${PYTHON_TAG}.so
|
|
|
|
|
|
.include <bsd.port.mk>
|