Index: head/science/py-h5py/Makefile =================================================================== --- head/science/py-h5py/Makefile (revision 462928) +++ head/science/py-h5py/Makefile (revision 462929) @@ -1,47 +1,47 @@ # Created by: TAOKA Fumiyoshi # $FreeBSD$ PORTNAME= h5py -DISTVERSION= 2.7.1 +PORTVERSION= 2.7.1 CATEGORIES= science python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= General-purpose Python interface to the HDF5 library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/licenses/license.txt BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR} USES= python -USE_GITHUB= yes -USE_PYTHON= distutils cython autoplist concurrent +USE_PYTHON= autoplist concurrent cython distutils PORTDOCS= * PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \ swmr_inotify_example.py threading_example.py OPTIONS_DEFINE= DOCS EXAMPLES -do-install-DOCS-on: +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/h5py/*.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} - ${COPYTREE_SHARE} ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -do-install-EXAMPLES-on: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/h5py/*.so - do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/science/py-h5py/distinfo =================================================================== --- head/science/py-h5py/distinfo (revision 462928) +++ head/science/py-h5py/distinfo (revision 462929) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519520436 -SHA256 (h5py-h5py-2.7.1_GH0.tar.gz) = 55bdefda47c49973ec24384097d18eb5f84797c057aaf0bf0b6b0f7860ad43e7 -SIZE (h5py-h5py-2.7.1_GH0.tar.gz) = 268457 +TIMESTAMP = 1519522205 +SHA256 (h5py-2.7.1.tar.gz) = 180a688311e826ff6ae6d3bda9b5c292b90b28787525ddfcb10a29d5ddcae2cc +SIZE (h5py-2.7.1.tar.gz) = 264225 Index: head/science/py-h5py/pkg-descr =================================================================== --- head/science/py-h5py/pkg-descr (revision 462928) +++ head/science/py-h5py/pkg-descr (revision 462929) @@ -1,12 +1,12 @@ The h5py package provides both a high- and low-level interface to the HDF5 -library from Python. The low-level interface is intended to be a complete -wrapping of the HDF5 1.8 API, while the high-level component supports -Python-style object-oriented access to HDF5 files, datasets and groups. +library from Python. The low-level interface is intended to be a complete +wrapping of the HDF5 API, while the high-level component supports access to HDF5 +files, datasets and groups using established Python and NumPy concepts. -The goal of this package is not to provide yet another scientific data -model. It is an attempt to create as straightforward a binding as possible -to the existing HDF5 API and abstractions, so that Python programs can -easily deal with HDF5 files and exchange data with other HDF5-aware -applications. +A strong emphasis on automatic conversion between Python (Numpy) datatypes and +data structures and their HDF5 equivalents vastly simplifies the process of +reading and writing data from Python. -WWW: https://www.h5py.org +WWW: https://www.h5py.org/ +WWW: https://pypi.python.org/pypi/h5py +WWW: https://github.com/h5py/h5py