Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= h5py |
4 |
PORTNAME= h5py |
5 |
PORTVERSION= 2.4.0 |
5 |
PORTVERSION= 2.5.0 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= science python |
6 |
CATEGORIES= science python |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
8 |
|
Lines 14-22
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/licenses/license.txt |
13 |
LICENSE_FILE= ${WRKSRC}/licenses/license.txt |
15 |
|
14 |
|
16 |
BUILD_DEPENDS= ${PYNUMPY} \ |
15 |
BUILD_DEPENDS= ${PYNUMPY} \ |
17 |
cython:${PORTSDIR}/lang/cython |
16 |
cython:${PORTSDIR}/lang/cython \ |
18 |
RUN_DEPENDS= ${PYNUMPY} |
17 |
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ |
|
|
18 |
${PYTHON_PKGNAMEPREFIX}pkgconfig>0:${PORTSDIR}/devel/py-pkgconfig |
19 |
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 |
19 |
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 |
|
|
20 |
RUN_DEPENDS= ${PYNUMPY} \ |
21 |
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six |
20 |
|
22 |
|
21 |
USE_GITHUB= yes |
23 |
USE_GITHUB= yes |
22 |
|
24 |
|
Lines 23-37
Link Here
|
23 |
USES= python |
25 |
USES= python |
24 |
USE_PYTHON= autoplist distutils |
26 |
USE_PYTHON= autoplist distutils |
25 |
|
27 |
|
26 |
PORTDOCS= README.rst |
28 |
PORTDOCS= * |
27 |
PORTEXAMPLES= multiprocessing_example.py \ |
29 |
PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \ |
28 |
threading_example.py |
30 |
swmr_inotify_example.py threading_example.py |
29 |
|
31 |
|
30 |
OPTIONS_DEFINE= DOCS EXAMPLES |
32 |
OPTIONS_DEFINE= DOCS EXAMPLES |
31 |
|
33 |
|
32 |
post-install: |
34 |
post-install: |
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
35 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
34 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} |
|
|
37 |
@(cd ${WRKSRC}/docs) && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
38 |
|
35 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
39 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
36 |
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} |
40 |
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} |
37 |
|
41 |
|