- Update to version 1.0.8
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Remake of the patch against current tree.
Author: miwi Date: Sat May 17 09:54:02 2014 New Revision: 354306 URL: http://svnweb.freebsd.org/changeset/ports/354306 QAT: https://qat.redports.org/buildarchive/r354306/ Log: - Update to 1.0.8 - Support GITHUB PR: 187745 Submitted by: Ports Fury Modified: head/science/py-netCDF4/Makefile head/science/py-netCDF4/distinfo head/science/py-netCDF4/pkg-descr Modified: head/science/py-netCDF4/Makefile ============================================================================== --- head/science/py-netCDF4/Makefile Sat May 17 09:53:11 2014 (r354305) +++ head/science/py-netCDF4/Makefile Sat May 17 09:54:02 2014 (r354306) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= netCDF4 -PORTVERSION= 1.0.5 -PORTREVISION= 4 +PORTVERSION= 1.0.8 CATEGORIES= science python -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= netcdf4-python +MASTER_SITES= GH PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org @@ -19,26 +17,35 @@ LIB_DEPENDS= libhdf5.so:${PORTSDIR}/scie libnetcdf.so:${PORTSDIR}/science/netcdf RUN_DEPENDS= ${PYNUMPY} -OPTIONS_DEFINE= DOCS EXAMPLES +USE_GITHUB= yes +GH_ACCOUNT= Unidata +GH_PROJECT= netcdf4-python +GH_TAGNAME= v${PORTVERSION}rel +GH_COMMIT= 1344040 -USES= dos2unix -DOS2UNIX_FILES= utils/nc3tonc4 USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes -MAKE_ENV= HDF5_INCDIR=${LOCALBASE}/include \ - HDF5_LIBDIR=${LOCALBASE}/lib \ - NETCDF4_INCDIR=${LOCALBASE}/include \ - NETCDF4_LIBDIR=${LOCALBASE}/lib + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * PORTEXAMPLES= * -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: - @${REINPLACE_CMD} -e \ - "/dirstosearch/s|=.*|= ['${LOCALBASE}']|" ${WRKSRC}/setup.py + @${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} "[directories]" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "HDF5_libdir=${LOCALBASE}/lib" \ + >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "HDF5_incdir=${LOCALBASE}/include" \ + >> ${WRKSRC}/setup.cfg post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/science/py-netCDF4/distinfo ============================================================================== --- head/science/py-netCDF4/distinfo Sat May 17 09:53:11 2014 (r354305) +++ head/science/py-netCDF4/distinfo Sat May 17 09:54:02 2014 (r354306) @@ -1,2 +1,2 @@ -SHA256 (netCDF4-1.0.5.tar.gz) = a87751f85d823c22727183c78f8f20d83569399dc73c4bb30a247063756e46bd -SIZE (netCDF4-1.0.5.tar.gz) = 538945 +SHA256 (netCDF4-1.0.8.tar.gz) = cc6582011ff2937a4c6250e6df1fd9b33f15c18ae74bace0f519503d1402df66 +SIZE (netCDF4-1.0.8.tar.gz) = 571836 Modified: head/science/py-netCDF4/pkg-descr ============================================================================== --- head/science/py-netCDF4/pkg-descr Sat May 17 09:53:11 2014 (r354305) +++ head/science/py-netCDF4/pkg-descr Sat May 17 09:54:02 2014 (r354306) @@ -11,4 +11,4 @@ primitive data types (such as 64 bit and implemented, except variable-length strings (NC_STRING). User defined data types (compound, vlen, enum etc.) are not supported. -WWW: http://code.google.com/p/netcdf4-python/ +WWW: http://unidata.github.io/netcdf4-python/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!