diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-12-05 17:52:52 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-12-05 17:52:52 +0000 |
commit | 5930db63059aaac7bc956efb41bc16d92360d8e3 (patch) | |
tree | 9a70c8ef97367dd87ef95cb8c25b339db3110ca8 | |
parent | be5bff64acab07ddb309accffcd1054776f83510 (diff) | |
download | ports-5930db63059aaac7bc956efb41bc16d92360d8e3.tar.gz ports-5930db63059aaac7bc956efb41bc16d92360d8e3.zip |
Notes
-rw-r--r-- | science/py-netCDF4/Makefile | 31 | ||||
-rw-r--r-- | science/py-netCDF4/distinfo | 4 |
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 |