aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2017-09-20 21:19:59 +0800
committerbofh <bofh@FreeBSD.org>2017-09-20 21:19:59 +0800
commita098a6158d57edfcd35aee90417833e1e586c68c (patch)
treedea032d6ea9411560cffc6df6fa0b0bc9a2a7f1e
parent8e52be355d62fc2271218356fb18b5e065b305b8 (diff)
downloadfreebsd-ports-gnome-a098a6158d57edfcd35aee90417833e1e586c68c.tar.gz
freebsd-ports-gnome-a098a6158d57edfcd35aee90417833e1e586c68c.tar.zst
freebsd-ports-gnome-a098a6158d57edfcd35aee90417833e1e586c68c.zip
science/py-netCDF4: Update version 1.2.7=>1.2.9
- Conditional installation of DOCS and EXAMPLES
-rw-r--r--science/py-netCDF4/Makefile11
-rw-r--r--science/py-netCDF4/distinfo6
2 files changed, 11 insertions, 6 deletions
diff --git a/science/py-netCDF4/Makefile b/science/py-netCDF4/Makefile
index e033ad69885f..f719b6dca115 100644
--- a/science/py-netCDF4/Makefile
+++ b/science/py-netCDF4/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= netCDF4
-PORTVERSION= 1.2.7
+PORTVERSION= 1.2.9
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= rel
-PORTREVISION= 1
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +13,8 @@ COMMENT= Python Interface to the NetCDF Library (versions 3 and 4)
LICENSE= MIT
-BUILD_DEPENDS= ${PYNUMPY}
+BUILD_DEPENDS= ${PYNUMPY} \
+ ${LOCALBASE}/bin/cython:lang/cython
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libnetcdf.so:science/netcdf
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -44,8 +44,13 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/netCDF4/_netCDF4.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/netcdftime/_netcdftime.so
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
diff --git a/science/py-netCDF4/distinfo b/science/py-netCDF4/distinfo
index 7e3fa07ac4f8..e64d7ef18e9d 100644
--- a/science/py-netCDF4/distinfo
+++ b/science/py-netCDF4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487981539
-SHA256 (Unidata-netcdf4-python-v1.2.7rel_GH0.tar.gz) = 42255f15341ae1959f814443385af4be5ae012b42e2202f300a5e5095338f54e
-SIZE (Unidata-netcdf4-python-v1.2.7rel_GH0.tar.gz) = 855982
+TIMESTAMP = 1500011385
+SHA256 (Unidata-netcdf4-python-v1.2.9rel_GH0.tar.gz) = bbb6d40d33f5fe8fbf211b5706ff4af9484a91a5ab50d9f6607858bd34c1d10c
+SIZE (Unidata-netcdf4-python-v1.2.9rel_GH0.tar.gz) = 543438