Date: Sun, 25 Feb 2018 05:34:08 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462929 - head/science/py-h5py Message-ID: <201802250534.w1P5Y8oK066614@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Feb 25 05:34:08 2018 New Revision: 462929 URL: https://svnweb.freebsd.org/changeset/ports/462929 Log: 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 Modified: head/science/py-h5py/Makefile head/science/py-h5py/distinfo head/science/py-h5py/pkg-descr Modified: head/science/py-h5py/Makefile ============================================================================== --- head/science/py-h5py/Makefile Sun Feb 25 05:34:03 2018 (r462928) +++ head/science/py-h5py/Makefile Sun Feb 25 05:34:08 2018 (r462929) @@ -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_multipro 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 <bsd.port.mk> Modified: head/science/py-h5py/distinfo ============================================================================== --- head/science/py-h5py/distinfo Sun Feb 25 05:34:03 2018 (r462928) +++ head/science/py-h5py/distinfo Sun Feb 25 05:34:08 2018 (r462929) @@ -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 Modified: head/science/py-h5py/pkg-descr ============================================================================== --- head/science/py-h5py/pkg-descr Sun Feb 25 05:34:03 2018 (r462928) +++ head/science/py-h5py/pkg-descr Sun Feb 25 05:34:08 2018 (r462929) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802250534.w1P5Y8oK066614>