From owner-svn-ports-head@freebsd.org Tue Jan 26 17:37:43 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC3A34F8269; Tue, 26 Jan 2021 17:37:43 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQDTJ629Fz3Cf8; Tue, 26 Jan 2021 17:37:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B31AA5A71; Tue, 26 Jan 2021 17:37:38 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10QHbc3E029303; Tue, 26 Jan 2021 17:37:38 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10QHbbTx029298; Tue, 26 Jan 2021 17:37:37 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202101261737.10QHbbTx029298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 26 Jan 2021 17:37:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562832 - in head/science/py-h5py: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/science/py-h5py: . files X-SVN-Commit-Revision: 562832 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 17:37:44 -0000 Author: sunpoet Date: Tue Jan 26 17:37:37 2021 New Revision: 562832 URL: https://svnweb.freebsd.org/changeset/ports/562832 Log: Update to 3.1.0 Changes: https://github.com/h5py/h5py/releases https://github.com/h5py/h5py/blob/master/docs/whatsnew/3.1.rst Added: head/science/py-h5py/files/ head/science/py-h5py/files/patch-setup.py (contents, props changed) Modified: head/science/py-h5py/Makefile head/science/py-h5py/distinfo head/science/py-h5py/pkg-descr head/science/py-h5py/pkg-plist Modified: head/science/py-h5py/Makefile ============================================================================== --- head/science/py-h5py/Makefile Tue Jan 26 17:37:32 2021 (r562831) +++ head/science/py-h5py/Makefile Tue Jan 26 17:37:37 2021 (r562832) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= h5py -PORTVERSION= 2.10.0 +PORTVERSION= 3.1.0 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,17 +13,24 @@ COMMENT= General-purpose Python interface to the HDF5 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/licenses/license.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.14:lang/cython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \ ${RUN_DEPENDS} LIB_DEPENDS= libhdf5.so:science/hdf5 -RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USES= pkgconfig python:3.6+ +USES= localbase pkgconfig python:3.6+ USE_PYTHON= autoplist concurrent cython distutils OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/h5py/*.so @@ -39,4 +46,4 @@ post-install-EXAMPLES-on: do-test: cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test -.include +.include Modified: head/science/py-h5py/distinfo ============================================================================== --- head/science/py-h5py/distinfo Tue Jan 26 17:37:32 2021 (r562831) +++ head/science/py-h5py/distinfo Tue Jan 26 17:37:37 2021 (r562832) @@ -1,3 +1,3 @@ -TIMESTAMP = 1567842470 -SHA256 (h5py-2.10.0.tar.gz) = 84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d -SIZE (h5py-2.10.0.tar.gz) = 301057 +TIMESTAMP = 1611665487 +SHA256 (h5py-3.1.0.tar.gz) = 1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2 +SIZE (h5py-3.1.0.tar.gz) = 371392 Added: head/science/py-h5py/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-h5py/files/patch-setup.py Tue Jan 26 17:37:37 2021 (r562832) @@ -0,0 +1,23 @@ +--- setup.py.orig 2020-11-06 14:25:11 UTC ++++ setup.py +@@ -27,10 +27,7 @@ VERSION = '3.1.0' + # Minimum supported versions of Numpy & Cython depend on the Python version + NUMPY_MIN_VERSIONS = [ + # Numpy Python +- ('1.12', "=='3.6'"), +- ('1.14.5', "=='3.7'"), +- ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.14.5', ">='3.6'"), + ] + + # these are required to use h5py +@@ -49,7 +46,7 @@ SETUP_REQUIRES = [ + f"Cython >=0.29; python_version<'3.8'", + f"Cython >=0.29.14; python_version>='3.8'", + ] + [ +- f"numpy =={np_min}; python_version{py_condition}" ++ f"numpy >={np_min}; python_version{py_condition}" + for np_min, py_condition in NUMPY_MIN_VERSIONS + ] + Modified: head/science/py-h5py/pkg-descr ============================================================================== --- head/science/py-h5py/pkg-descr Tue Jan 26 17:37:32 2021 (r562831) +++ head/science/py-h5py/pkg-descr Tue Jan 26 17:37:37 2021 (r562832) @@ -8,5 +8,4 @@ data structures and their HDF5 equivalents vastly simp reading and writing data from Python. WWW: https://www.h5py.org/ -WWW: https://pypi.org/project/h5py/ WWW: https://github.com/h5py/h5py Modified: head/science/py-h5py/pkg-plist ============================================================================== --- head/science/py-h5py/pkg-plist Tue Jan 26 17:37:32 2021 (r562831) +++ head/science/py-h5py/pkg-plist Tue Jan 26 17:37:37 2021 (r562832) @@ -10,18 +10,20 @@ %%PORTDOCS%%%%DOCSDIR%%/high/dims.rst %%PORTDOCS%%%%DOCSDIR%%/high/file.rst %%PORTDOCS%%%%DOCSDIR%%/high/group.rst +%%PORTDOCS%%%%DOCSDIR%%/high/lowlevel.rst %%PORTDOCS%%%%DOCSDIR%%/index.rst %%PORTDOCS%%%%DOCSDIR%%/licenses.rst %%PORTDOCS%%%%DOCSDIR%%/mpi.rst %%PORTDOCS%%%%DOCSDIR%%/quick.rst %%PORTDOCS%%%%DOCSDIR%%/refs.rst +%%PORTDOCS%%%%DOCSDIR%%/release_guide.rst %%PORTDOCS%%%%DOCSDIR%%/special.rst %%PORTDOCS%%%%DOCSDIR%%/strings.rst %%PORTDOCS%%%%DOCSDIR%%/swmr.rst %%PORTDOCS%%%%DOCSDIR%%/vds.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.0.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.1.rst -%%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.10.0.rst +%%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.10.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.2.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.3.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.4.rst @@ -31,6 +33,8 @@ %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.7.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.8.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.9.rst +%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.0.rst +%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.1.rst %%PORTDOCS%%%%DOCSDIR%%/whatsnew/index.rst %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bytesio.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/collective_io.py @@ -38,8 +42,11 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dual_pco_edge.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eiger_use_case.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/excalibur_detector_modules.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiblockslice_interleave.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiprocessing_example.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/percival_use_case.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/store_and_retrieve_units_example.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/store_datetimes.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/swmr_inotify_example.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/swmr_multiprocess.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/threading_example.py