28 lines
684 B
Makefile
28 lines
684 B
Makefile
PORTNAME= GridDataFormats
|
|
DISTVERSION= 0.6.0
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Handle data on a grid: NumPy n-dimensional arrays
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils autoplist concurrent
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MDAnalysis
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|