Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2017 13:19:59 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450200 - head/science/py-netCDF4
Message-ID:  <201709201319.v8KDJxo1053462@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Wed Sep 20 13:19:59 2017
New Revision: 450200
URL: https://svnweb.freebsd.org/changeset/ports/450200

Log:
  science/py-netCDF4: Update version 1.2.7=>1.2.9
  
  - Conditional installation of DOCS and EXAMPLES

Modified:
  head/science/py-netCDF4/Makefile
  head/science/py-netCDF4/distinfo

Modified: head/science/py-netCDF4/Makefile
==============================================================================
--- head/science/py-netCDF4/Makefile	Wed Sep 20 13:03:38 2017	(r450199)
+++ head/science/py-netCDF4/Makefile	Wed Sep 20 13:19:59 2017	(r450200)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	netCDF4
-PORTVERSION=	1.2.7
+PORTVERSION=	1.2.9
 DISTVERSIONPREFIX=	v
 DISTVERSIONSUFFIX=	rel
-PORTREVISION=	1
 CATEGORIES=	science python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -14,7 +13,8 @@ COMMENT=	Python Interface to the NetCDF Library (versi
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYNUMPY}
+BUILD_DEPENDS=	${PYNUMPY} \
+		${LOCALBASE}/bin/cython:lang/cython
 LIB_DEPENDS=	libhdf5.so:science/hdf5 \
 		libnetcdf.so:science/netcdf
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -44,8 +44,13 @@ post-patch:
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/netCDF4/_netCDF4.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/netcdftime/_netcdftime.so
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
 

Modified: head/science/py-netCDF4/distinfo
==============================================================================
--- head/science/py-netCDF4/distinfo	Wed Sep 20 13:03:38 2017	(r450199)
+++ head/science/py-netCDF4/distinfo	Wed Sep 20 13:19:59 2017	(r450200)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487981539
-SHA256 (Unidata-netcdf4-python-v1.2.7rel_GH0.tar.gz) = 42255f15341ae1959f814443385af4be5ae012b42e2202f300a5e5095338f54e
-SIZE (Unidata-netcdf4-python-v1.2.7rel_GH0.tar.gz) = 855982
+TIMESTAMP = 1500011385
+SHA256 (Unidata-netcdf4-python-v1.2.9rel_GH0.tar.gz) = bbb6d40d33f5fe8fbf211b5706ff4af9484a91a5ab50d9f6607858bd34c1d10c
+SIZE (Unidata-netcdf4-python-v1.2.9rel_GH0.tar.gz) = 543438



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709201319.v8KDJxo1053462>