diff options
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-cftime/Makefile | 25 | ||||
| -rw-r--r-- | devel/py-cftime/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-cftime/pkg-descr | 4 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a292647fbc5a..6d4f6213d252 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4454,6 +4454,7 @@ SUBDIR += py-certsrv SUBDIR += py-cffi SUBDIR += py-cfgparse + SUBDIR += py-cftime SUBDIR += py-chainmap SUBDIR += py-characteristic SUBDIR += py-check-manifest diff --git a/devel/py-cftime/Makefile b/devel/py-cftime/Makefile new file mode 100644 index 000000000000..443876bfbfa6 --- /dev/null +++ b/devel/py-cftime/Makefile @@ -0,0 +1,25 @@ +# $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> diff --git a/devel/py-cftime/distinfo b/devel/py-cftime/distinfo new file mode 100644 index 000000000000..2115d2325b5c --- /dev/null +++ b/devel/py-cftime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1553672327 +SHA256 (cftime-1.0.3.4.tar.gz) = dd74d0d470baf1c50e31335215793a5e78436903e34b4f151fa9ccbf3a6cc20c +SIZE (cftime-1.0.3.4.tar.gz) = 46422 diff --git a/devel/py-cftime/pkg-descr b/devel/py-cftime/pkg-descr new file mode 100644 index 000000000000..5cb8e13e209a --- /dev/null +++ b/devel/py-cftime/pkg-descr @@ -0,0 +1,4 @@ +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 |
