- Update to version 1.0.4 Remove file: pkg-plist
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
Author: miwi Date: Tue Apr 30 00:39:35 2013 New Revision: 316858 URL: http://svnweb.freebsd.org/changeset/ports/316858 Log: - Update to version 1.0.4 PR: 177915 Submitted by: Ports Fury Deleted: head/science/py-netCDF4/pkg-plist Modified: head/science/py-netCDF4/Makefile (contents, props changed) head/science/py-netCDF4/distinfo (contents, props changed) Modified: head/science/py-netCDF4/Makefile ============================================================================== --- head/science/py-netCDF4/Makefile Tue Apr 30 00:38:41 2013 (r316857) +++ head/science/py-netCDF4/Makefile Tue Apr 30 00:39:35 2013 (r316858) @@ -2,25 +2,59 @@ # $FreeBSD$ PORTNAME= netCDF4 -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.4 CATEGORIES= science python -MASTER_SITES= http://netcdf4-python.googlecode.com/files/ \ - CHEESESHOP +MASTER_SITES= GOOGLE_CODE +PROJECTHOST= netcdf4-python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org -COMMENT= Python Interface to the NetCDF Library(versions 3 and 4) +COMMENT= Python Interface to the NetCDF Library (versions 3 and 4) -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy -RUN_DEPENDS:= ${BUILD_DEPENDS} +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= hdf5:${PORTSDIR}/science/hdf5-18 \ netcdf:${PORTSDIR}/science/netcdf4 +RUN_DEPENDS= ${PYNUMPY} + +OPTIONS_DEFINE= DOCS EXAMPLES -USE_PYTHON= 2.5+ +USE_DOS2UNIX= utils/nc3tonc4 +USE_PYTHON= yes USE_PYDISTUTILS= yes +MAKE_ENV= HDF5_INCDIR=${LOCALBASE}/include \ + HDF5_LIBDIR=${LOCALBASE}/lib \ + NETCDF4_INCDIR=${LOCALBASE}/include \ + NETCDF4_LIBDIR=${LOCALBASE}/lib + +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/nc3tonc4 \ + bin/nc4tonc3 \ + %%PYTHON_SITELIBDIR%%/netCDF4.so \ + %%PYTHON_SITELIBDIR%%/netCDF4_utils.py \ + %%PYTHON_SITELIBDIR%%/netCDF4_utils.pyc \ + %%PYTHON_SITELIBDIR%%/netCDF4_utils.pyo \ + %%PYTHON_SITELIBDIR%%/netcdftime.py \ + %%PYTHON_SITELIBDIR%%/netcdftime.pyc \ + %%PYTHON_SITELIBDIR%%/netcdftime.pyo + +.include <bsd.port.options.mk> post-patch: - @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ - ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e \ + "/dirstosearch/s|=.*|= ['${LOCALBASE}']|" ${WRKSRC}/setup.py + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${DOCSDIR}) +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR}) +.endif .include <bsd.port.mk> Modified: head/science/py-netCDF4/distinfo ============================================================================== --- head/science/py-netCDF4/distinfo Tue Apr 30 00:38:41 2013 (r316857) +++ head/science/py-netCDF4/distinfo Tue Apr 30 00:39:35 2013 (r316858) @@ -1,2 +1,2 @@ -SHA256 (netCDF4-1.0.2.tar.gz) = 76af3918112fbd254d07f073376d4364b3538ab0fdde47a453f1e10f612f6223 -SIZE (netCDF4-1.0.2.tar.gz) = 490900 +SHA256 (netCDF4-1.0.4.tar.gz) = 99f5eaebae2fae92759d13b790dde4226b2b8c83a68f86543c41c7998cba53b7 +SIZE (netCDF4-1.0.4.tar.gz) = 521990 _______________________________________________ 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"