mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
206deb21bf
Reported by: portscout
29 lines
722 B
Makefile
29 lines
722 B
Makefile
PORTNAME= pyodeint
|
|
DISTVERSION= 0.10.7
|
|
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= ${PYNUMPY} \
|
|
${LOCALBASE}/include/boost/config.hpp:devel/boost-libs
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
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_EXT_SUFFIX}.so
|
|
|
|
|
|
.include <bsd.port.mk>
|