mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
22f32ce577
- Update to 2.3.0 - Remove BROKEN mark Approved by: swills (mentor)
45 lines
981 B
Makefile
45 lines
981 B
Makefile
# Created by: TAOKA Fumiyoshi
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= h5py
|
|
PORTVERSION= 2.3.0
|
|
CATEGORIES= science python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= xmj@chaot.net
|
|
COMMENT= General-purpose Python interface to the HDF5 library
|
|
|
|
LICENSE= BSD
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
cython:${PORTSDIR}/lang/cython
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= h5py
|
|
GH_COMMIT= c8c63eb
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
PORTDOCS= README.rst
|
|
PORTEXAMPLES= multiprocessing_example.py \
|
|
threading_example.py
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|