View | Details | Raw Unified | Return to bug 219754 | Differences between
and this patch

Collapse All | Expand All

(-)b/science/py-h5py/Makefile (-2 / +4 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	h5py
4
PORTNAME=	h5py
5
PORTVERSION=	2.6.0
5
PORTVERSION=	2.7.0
6
PORTREVISION=	1
7
CATEGORIES=	science python
6
CATEGORIES=	science python
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
8
Lines 32-37 PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \ Link Here
32
31
33
OPTIONS_DEFINE=	DOCS EXAMPLES
32
OPTIONS_DEFINE=	DOCS EXAMPLES
34
33
34
post-patch:
35
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup_build.py
36
35
do-install-DOCS-on:
37
do-install-DOCS-on:
36
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
37
	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
39
	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
(-)b/science/py-h5py/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (h5py-h5py-2.6.0_GH0.tar.gz) = 7fec1d6f19418b3a624bbb90c7baa105952c0bb6cfbb6676f436fac44fc6ccfb
1
TIMESTAMP = 1496507199
2
SIZE (h5py-h5py-2.6.0_GH0.tar.gz) = 246443
2
SHA256 (h5py-h5py-2.7.0_GH0.tar.gz) = fff3a878c6adfa1b4f5c30b558a295d52dd4fee9174128c626ef416dec1b536b
3
SIZE (h5py-h5py-2.7.0_GH0.tar.gz) = 265122
(-)b/science/py-h5py/files/patch-setup__build.py (+13 lines)
Added Link Here
1
--- setup_build.py.orig	2017-06-03 16:40:14 UTC
2
+++ setup_build.py
3
@@ -49,8 +49,8 @@ if sys.platform.startswith('win'):
4
         ('H5_BUILT_AS_DYNAMIC_LIB', None)
5
     ])
6
 else:
7
-    COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include''/usr/local/include'])
8
-    COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include''/usr/local/include'])
9
+    COMPILER_SETTINGS['include_dirs'].extend(['%%PREFIX%%/include'])
10
+    COMPILER_SETTINGS['library_dirs'].extend(['%%PREFIX%%/lib'])
11
 
12
 
13
 class h5py_build_ext(build_ext):

Return to bug 219754