aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-12-06 01:52:52 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-12-06 01:52:52 +0800
commit21ff28673e15f6dfa473cecc118abed8174794ce (patch)
tree9a70c8ef97367dd87ef95cb8c25b339db3110ca8 /science
parent17da61d90379645d17931b8a37136b5adaa505c5 (diff)
downloadfreebsd-ports-gnome-21ff28673e15f6dfa473cecc118abed8174794ce.tar.gz
freebsd-ports-gnome-21ff28673e15f6dfa473cecc118abed8174794ce.tar.zst
freebsd-ports-gnome-21ff28673e15f6dfa473cecc118abed8174794ce.zip
- Update to 1.1.1
- Strip shared library Changes: https://github.com/Unidata/netcdf4-python/blob/master/Changelog PR: ports/195356 Submitted by: sunpoet (myself) Approved by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Diffstat (limited to 'science')
-rw-r--r--science/py-netCDF4/Makefile31
-rw-r--r--science/py-netCDF4/distinfo4
2 files changed, 15 insertions, 20 deletions
diff --git a/science/py-netCDF4/Makefile b/science/py-netCDF4/Makefile
index a59e4f099ca6..da239e420de7 100644
--- a/science/py-netCDF4/Makefile
+++ b/science/py-netCDF4/Makefile
@@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= netCDF4
-PORTVERSION= 1.0.8
-PORTREVISION= 1
+PORTVERSION= 1.1.1
CATEGORIES= science python
-MASTER_SITES= GH
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 5u623l20@gmail.com
@@ -16,38 +14,35 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 \
libnetcdf.so:${PORTSDIR}/science/netcdf
-RUN_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_GITHUB= yes
-GH_ACCOUNT= Unidata
-GH_PROJECT= netcdf4-python
-GH_TAGNAME= v${PORTVERSION}rel
-GH_COMMIT= 1344040
+OPTIONS_DEFINE= DOCS EXAMPLES
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-
PORTDOCS= *
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES
+GH_ACCOUNT= Unidata
+GH_COMMIT= 08e4708
+GH_PROJECT= netcdf4-python
+GH_TAGNAME= v${PORTVERSION}rel
+USE_GITHUB= yes
post-patch:
@${ECHO_CMD} -n > ${WRKSRC}/setup.cfg
@${ECHO_CMD} "[options]" >> ${WRKSRC}/setup.cfg
@${ECHO_CMD} "use_ncconfig=True" >> ${WRKSRC}/setup.cfg
- @${ECHO_CMD} "ncconfig=${LOCALBASE}/bin/nc-config" \
- >> ${WRKSRC}/setup.cfg
+ @${ECHO_CMD} "ncconfig=${LOCALBASE}/bin/nc-config" >> ${WRKSRC}/setup.cfg
@${ECHO_CMD} "[directories]" >> ${WRKSRC}/setup.cfg
- @${ECHO_CMD} "HDF5_libdir=${LOCALBASE}/lib" \
- >> ${WRKSRC}/setup.cfg
- @${ECHO_CMD} "HDF5_incdir=${LOCALBASE}/include" \
- >> ${WRKSRC}/setup.cfg
+ @${ECHO_CMD} "HDF5_libdir=${LOCALBASE}/lib" >> ${WRKSRC}/setup.cfg
+ @${ECHO_CMD} "HDF5_incdir=${LOCALBASE}/include" >> ${WRKSRC}/setup.cfg
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/netCDF4.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/science/py-netCDF4/distinfo b/science/py-netCDF4/distinfo
index d61ab4638d8a..7175e0152c17 100644
--- a/science/py-netCDF4/distinfo
+++ b/science/py-netCDF4/distinfo
@@ -1,2 +1,2 @@
-SHA256 (netCDF4-1.0.8.tar.gz) = cc6582011ff2937a4c6250e6df1fd9b33f15c18ae74bace0f519503d1402df66
-SIZE (netCDF4-1.0.8.tar.gz) = 571836
+SHA256 (netCDF4-1.1.1.tar.gz) = 629234cf6f71f3a9835428a9c1b3bd9dc45523705053e04159b33fe3ecea60ec
+SIZE (netCDF4-1.1.1.tar.gz) = 589742