freebsd-ports/devel/py-cftime/Makefile
Wen Heping 2c51c0087b Python library for decoding time units and variable values in a netCDF
file conforming to the Climate and Forecasting (CF) netCDF conventions.

WWW: https://github.com/Unidata/cftime
2019-03-27 08:36:30 +00:00

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>