svn commit: r442511 - in head/science/py-h5py: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Jun 3 18:03:41 UTC 2017
Author: tcberner
Date: Sat Jun 3 18:03:40 2017
New Revision: 442511
URL: https://svnweb.freebsd.org/changeset/ports/442511
Log:
Update to 2.7.0
PR: 219754
Submitted by: xmj (maintainer)
Added:
head/science/py-h5py/files/
head/science/py-h5py/files/patch-setup__build.py (contents, props changed)
Modified:
head/science/py-h5py/Makefile
head/science/py-h5py/distinfo
Modified: head/science/py-h5py/Makefile
==============================================================================
--- head/science/py-h5py/Makefile Sat Jun 3 17:57:37 2017 (r442510)
+++ head/science/py-h5py/Makefile Sat Jun 3 18:03:40 2017 (r442511)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= h5py
-PORTVERSION= 2.6.0
-PORTREVISION= 1
+PORTVERSION= 2.7.0
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -31,6 +30,9 @@ PORTEXAMPLES= multiprocessing_example.py swmr_multipro
swmr_inotify_example.py threading_example.py
OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup_build.py
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/science/py-h5py/distinfo
==============================================================================
--- head/science/py-h5py/distinfo Sat Jun 3 17:57:37 2017 (r442510)
+++ head/science/py-h5py/distinfo Sat Jun 3 18:03:40 2017 (r442511)
@@ -1,2 +1,3 @@
-SHA256 (h5py-h5py-2.6.0_GH0.tar.gz) = 7fec1d6f19418b3a624bbb90c7baa105952c0bb6cfbb6676f436fac44fc6ccfb
-SIZE (h5py-h5py-2.6.0_GH0.tar.gz) = 246443
+TIMESTAMP = 1496507199
+SHA256 (h5py-h5py-2.7.0_GH0.tar.gz) = fff3a878c6adfa1b4f5c30b558a295d52dd4fee9174128c626ef416dec1b536b
+SIZE (h5py-h5py-2.7.0_GH0.tar.gz) = 265122
Added: head/science/py-h5py/files/patch-setup__build.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-h5py/files/patch-setup__build.py Sat Jun 3 18:03:40 2017 (r442511)
@@ -0,0 +1,13 @@
+--- setup_build.py.orig 2017-06-03 16:40:14 UTC
++++ setup_build.py
+@@ -49,8 +49,8 @@ if sys.platform.startswith('win'):
+ ('H5_BUILT_AS_DYNAMIC_LIB', None)
+ ])
+ else:
+- COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include''/usr/local/include'])
+- COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include''/usr/local/include'])
++ COMPILER_SETTINGS['include_dirs'].extend(['%%PREFIX%%/include'])
++ COMPILER_SETTINGS['library_dirs'].extend(['%%PREFIX%%/lib'])
+
+
+ class h5py_build_ext(build_ext):
More information about the svn-ports-all
mailing list