freebsd-ports/math/py-pygslodeiv2/Makefile
2022-01-12 20:41:22 +01:00

26 lines
677 B
Makefile

PORTNAME= pygslodeiv2
DISTVERSION= 0.9.4
PORTREVISION= 2
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python binding for odeiv2 in GNU Scientific Library (GSL)
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libgsl.so:math/gsl
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= compiler:c++11-lang localbase python:3.6+
USE_PYTHON= distutils autoplist
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>