diff options
author | tcberner <tcberner@FreeBSD.org> | 2017-06-04 02:03:40 +0800 |
---|---|---|
committer | tcberner <tcberner@FreeBSD.org> | 2017-06-04 02:03:40 +0800 |
commit | 0aa81c06577c02cfee4ea1aa8e03c3ab3b193267 (patch) | |
tree | a7cbb9f5f17166781d8db8ccf59ade4fe6a849b8 /science | |
parent | adf88c28587075d75eb8ed3239a6012df2c3d65b (diff) | |
download | freebsd-ports-gnome-0aa81c06577c02cfee4ea1aa8e03c3ab3b193267.tar.gz freebsd-ports-gnome-0aa81c06577c02cfee4ea1aa8e03c3ab3b193267.tar.zst freebsd-ports-gnome-0aa81c06577c02cfee4ea1aa8e03c3ab3b193267.zip |
Update to 2.7.0
PR: 219754
Submitted by: xmj (maintainer)
Diffstat (limited to 'science')
-rw-r--r-- | science/py-h5py/Makefile | 6 | ||||
-rw-r--r-- | science/py-h5py/distinfo | 5 | ||||
-rw-r--r-- | science/py-h5py/files/patch-setup__build.py | 13 |
3 files changed, 20 insertions, 4 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile index 37d6be8e27c0..6e0e4ae7ed4c 100644 --- a/science/py-h5py/Makefile +++ b/science/py-h5py/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= h5py -PORTVERSION= 2.6.0 -PORTREVISION= 1 +PORTVERSION= 2.7.0 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,6 +31,9 @@ PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \ OPTIONS_DEFINE= DOCS EXAMPLES +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup_build.py + do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo index 864ae9d77d8e..2b74ba21dcb6 100644 --- a/science/py-h5py/distinfo +++ b/science/py-h5py/distinfo @@ -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 diff --git a/science/py-h5py/files/patch-setup__build.py b/science/py-h5py/files/patch-setup__build.py new file mode 100644 index 000000000000..cd89d09b10ee --- /dev/null +++ b/science/py-h5py/files/patch-setup__build.py @@ -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): |