2c51c0087b
file conforming to the Climate and Forecasting (CF) netCDF conventions. WWW: https://github.com/Unidata/cftime
25 lines
564 B
Makefile
25 lines
564 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cftime
|
|
PORTVERSION= 1.0.3.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Time-handling functionality from netcdf4-python
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils cython
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && py.test
|
|
|
|
.include <bsd.port.mk>
|