mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
172572ce8c
- Cosmetic fixes Approved by: portmgr blanket
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: TAOKA Fumiyoshi
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= h5py
|
|
PORTVERSION= 2.6.0
|
|
CATEGORIES= science python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= johannes@perceivon.net
|
|
COMMENT= General-purpose Python interface to the HDF5 library
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/licenses/license.txt
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
cython:lang/cython \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six \
|
|
${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \
|
|
swmr_inotify_example.py threading_example.py
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
|
|
${COPYTREE_SHARE} ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|