FreeBSD Bugzilla – Attachment 183181 Details for
Bug 219754
science/py-h5py: update to 2.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to 2.7.0 with proper PREFIX handling
science__py-h5py__2.7.0.diff (text/plain), 1.90 KB, created by
Johannes Jost Meixner
on 2017-06-03 17:20:16 UTC
(
hide
)
Description:
update to 2.7.0 with proper PREFIX handling
Filename:
MIME Type:
Creator:
Johannes Jost Meixner
Created:
2017-06-03 17:20:16 UTC
Size:
1.90 KB
patch
obsolete
>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):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219754
:
183179
| 183181