From nobody Sat Mar 23 15:01:44 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V22Th6x7rz5F9Zd; Sat, 23 Mar 2024 15:01:44 +0000 (UTC) (envelope-from git@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 4V22Th4ZB7z44nT; Sat, 23 Mar 2024 15:01:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711206104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lbQji239UWQdeFc3VzymxUI7ArG6xGFxlY+vVuxRTvQ=; b=B8gG+jtaNDQjt09H5COpyQuZQklosQ2w3bYDAzYyDE4g6xXanOHhCa49CLNiCYE0mBpJFE mM+CxDwQFDwvD74DYa/pEqe6OpcQGqTvfD8em+O9U3gddvtTQbBmmr/FwmYj4Un1NptegZ uXMUmmlzPbCjIM6ldYy8JEk2myBThgCy01zymIFapp+UEiWjGKFjZ4fGbdfsGj8/ui6zbl FArZvcuif3bfGUuX5O36J82Ysn1JljTYMm7G4ERy6Ey2tTiQSQZ9H32LKFoW88hduIiZ8d sEdDQRurGjsuYB0PRecoOLz97SabFpOaSPD+7GlbyBUCmX6VzC2wCZb5x2vwaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711206104; a=rsa-sha256; cv=none; b=vUiffoYwyNBHWJQXJuL/ODoptXRthBWTLoVA2Uma47kDkUXCX3DfF303f+zrpixvyBH2eF k+KHx6xmQ0QjrGFIefpNdQq57fCYArqKMmknmiTRtfStcJVcgj/2OT15clqo+mCTYoyEs0 8MOvStDwjDSxAfypZN+1nZOiToZOnlK1sjBIqA5rCW3eesKGj8A4yH0pTKIOl7xtHJiCGT n+VIfW4eEHJONDYn+vkUSYlwSyPzaU7e7S9iX6BXAa74WxqZk1hls8bMs/Q8WyheuCnW1J bK64WqFy4oOU/k2+F0RTSDgX5e4wEdYaozPxILNkivicr7y5VljqTEgu23Qdzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711206104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lbQji239UWQdeFc3VzymxUI7ArG6xGFxlY+vVuxRTvQ=; b=jKaKbIJCW3Nr3xxSm5vXkJPOHk3PFFmEWWCXhZyHFtXRjBh8txErVBU3iCdVo5rUuO0YO7 cSMln7pzGXpocNeotqZ6w4EHR1N2EWc63P6srv9W2sF/wHRPqpRcaR8UXoS3OCP6tiGy2Z XiAYDnZZ9QB8fMqmEyeAje62XNY12BwYs4XwUDDGk21Bh3OMd1cabbZlHPCuEwp/SStM6B wQnkIR0VyuO8h5SjGaJlN/j6Yohdz8fPqAksLi8B5GQ723YgzWoCdx6hMLxB0roMS3vW40 0qo1hAGuE7CnwLqSvfB8BZpRpZCRoeXYdJTxZcQF2gWeC+5mQR5mjkV0p1IMRw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V22Th46D5zt6R; Sat, 23 Mar 2024 15:01:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42NF1iPV007879; Sat, 23 Mar 2024 15:01:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42NF1ipf007876; Sat, 23 Mar 2024 15:01:44 GMT (envelope-from git) Date: Sat, 23 Mar 2024 15:01:44 GMT Message-Id: <202403231501.42NF1ipf007876@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a80e0bc5d818 - main - science/py-h5py: Convert to USE_PYTHON=pep517 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a80e0bc5d818f5e02164b5fe6fa6bb0a64157858 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a80e0bc5d818f5e02164b5fe6fa6bb0a64157858 commit a80e0bc5d818f5e02164b5fe6fa6bb0a64157858 Author: Po-Chuan Hsieh AuthorDate: 2024-03-23 14:22:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-23 14:49:30 +0000 science/py-h5py: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- science/py-h5py/Makefile | 12 ++++++++++-- science/py-h5py/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile index 2cb5fdc6be85..d1f9b71e5541 100644 --- a/science/py-h5py/Makefile +++ b/science/py-h5py/Makefile @@ -1,5 +1,6 @@ PORTNAME= h5py PORTVERSION= 3.10.0 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,13 +14,20 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/licenses/license.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.31<1:lang/cython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} \ - ${RUN_DEPENDS} + ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.17.3,1:math/py-numpy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>=3.1.1:net/py-mpi4py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tables>=3.4.4:devel/py-tables@${PY_FLAVOR} USES= localbase pkgconfig python -USE_PYTHON= autoplist concurrent cython distutils pytest +USE_PYTHON= autoplist concurrent cython pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} +TEST_WRKSRC= ${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= DOCS EXAMPLES diff --git a/science/py-h5py/files/patch-pyproject.toml b/science/py-h5py/files/patch-pyproject.toml new file mode 100644 index 000000000000..9568f19589d1 --- /dev/null +++ b/science/py-h5py/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-10-04 09:21:14 UTC ++++ pyproject.toml +@@ -1,7 +1,7 @@ requires = [ + [build-system] + requires = [ + "Cython >=0.29.31,<1", +- "oldest-supported-numpy", ++ "numpy", + "pkgconfig", + "setuptools >=61", + ]