Import math/py-cftime, a Python library for decoding time units and
variable values in a netCDF file conforming to the Climate and Forecasting (CF) netCDF conventions. OK benoit@ earlier versions input by sthen@ and kmos@
This commit is contained in:
parent
c4a4c8c683
commit
fec1b6d629
41
math/py-cftime/Makefile
Normal file
41
math/py-cftime/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/02/09 18:43:18 martin Exp $
|
||||
|
||||
COMMENT= time and date handling utility functions from netcdf4-python
|
||||
|
||||
MODPY_EGG_VERSION= 1.0.4.2
|
||||
DISTNAME= cftime-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= https://unidata.github.io/cftime/
|
||||
|
||||
MAINTAINER= Martin Reindl <martin@catai.org>
|
||||
|
||||
# BSD-like, some parts GNU
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB= pthread ${MODPY_WANTLIB}
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_SETUPTOOLS= Yes
|
||||
MODPY_PI= Yes
|
||||
MODPY_PYTEST= Yes
|
||||
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
||||
|
||||
BUILD_DEPENDS= lang/cython${MODPY_FLAVOR}
|
||||
|
||||
RUN_DEPENDS= lang/cython${MODPY_FLAVOR} \
|
||||
math/netcdf
|
||||
|
||||
TEST_DEPENDS= devel/py-test${MODPY_FLAVOR} \
|
||||
devel/py-test-cov${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR} \
|
||||
security/py-cryptography${MODPY_FLAVOR} \
|
||||
security/py-openssl${MODPY_FLAVOR}
|
||||
|
||||
# not needed for python3, also messes with relative imports in tests
|
||||
pre-test:
|
||||
rm -f ${WRKSRC}/cftime/__init__.py
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/py-cftime/distinfo
Normal file
2
math/py-cftime/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (cftime-1.0.4.2.tar.gz) = GsZPj5Bm6nVuon1nztrwZOfIZidSGPp8hGhAZqWJD3A=
|
||||
SIZE (cftime-1.0.4.2.tar.gz) = 48264
|
2
math/py-cftime/pkg/DESCR
Normal file
2
math/py-cftime/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Python library for decoding time units and variable values in a netCDF file
|
||||
conforming to the Climate and Forecasting (CF) netCDF conventions.
|
12
math/py-cftime/pkg/PLIST
Normal file
12
math/py-cftime/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/02/09 18:43:18 martin Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime/
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cftime/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/cftime/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@so lib/python${MODPY_VERSION}/site-packages/cftime/_cftime.so
|
Loading…
x
Reference in New Issue
Block a user