Date: Fri, 5 Dec 2014 17:52:52 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374066 - head/science/py-netCDF4 Message-ID: <201412051752.sB5HqqTk049199@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Dec 5 17:52:52 2014 New Revision: 374066 URL: https://svnweb.freebsd.org/changeset/ports/374066 QAT: https://qat.redports.org/buildarchive/r374066/ Log: - 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) Modified: head/science/py-netCDF4/Makefile head/science/py-netCDF4/distinfo Modified: head/science/py-netCDF4/Makefile ============================================================================== --- head/science/py-netCDF4/Makefile Fri Dec 5 17:48:02 2014 (r374065) +++ head/science/py-netCDF4/Makefile Fri Dec 5 17:52:52 2014 (r374066) @@ -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} Modified: head/science/py-netCDF4/distinfo ============================================================================== --- head/science/py-netCDF4/distinfo Fri Dec 5 17:48:02 2014 (r374065) +++ head/science/py-netCDF4/distinfo Fri Dec 5 17:52:52 2014 (r374066) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412051752.sB5HqqTk049199>