summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-25 05:34:08 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-25 05:34:08 +0000
commit8d49cbc1eb011a1e2f798f8972283ce1534d4d8b (patch)
tree32222a28e3b6a251ba4210d4aafb9a13e2b80019 /science
parentRelax USES=python (diff)
Update to 2.7.1
- Change MASTER_SITES to CHEESESHOP - Sort BUILD_DEPENDS - Update pkg-descr - Add PyPI and GitHub repository to WWW - Take maintainership
Notes
Notes: svn path=/head/; revision=462929
Diffstat (limited to 'science')
-rw-r--r--science/py-h5py/Makefile30
-rw-r--r--science/py-h5py/distinfo6
-rw-r--r--science/py-h5py/pkg-descr18
3 files changed, 27 insertions, 27 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index cd6f35a55650..5411b241b61a 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -2,26 +2,26 @@
# $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 \
@@ -29,19 +29,19 @@ PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.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}
-
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/h5py/*.so
+ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+ cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>
diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo
index a27265610dbd..83889cf2a86f 100644
--- a/science/py-h5py/distinfo
+++ b/science/py-h5py/distinfo
@@ -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
diff --git a/science/py-h5py/pkg-descr b/science/py-h5py/pkg-descr
index 35d1d981f7b9..2f375d99dd0e 100644
--- a/science/py-h5py/pkg-descr
+++ b/science/py-h5py/pkg-descr
@@ -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