1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

science/py-netCDF4: Update version 1.2.7=>1.2.9

- Conditional installation of DOCS and EXAMPLES
This commit is contained in:
Muhammad Moinur Rahman 2017-09-20 13:19:59 +00:00
parent 8e6396b77c
commit b434cf9b30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450200
2 changed files with 11 additions and 6 deletions

View File

@ -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})

View File

@ -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