diff --git a/science/py-paramz/Makefile b/science/py-paramz/Makefile index f3efc26b0cca..60ca75b1ede1 100644 --- a/science/py-paramz/Makefile +++ b/science/py-paramz/Makefile @@ -1,29 +1,30 @@ PORTNAME= paramz DISTVERSIONPREFIX= v -DISTVERSION= 0.9.6 -PORTREVISION= 3 +DISTVERSION= 0.10.0 CATEGORIES= science python #MASTER_SITES= PYPI # no tarball PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Parameterization framework WWW= https://github.com/sods/paramz LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}decorator>=4.0.10:devel/py-decorator@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=4.0.10:devel/py-decorator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=2:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.15:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist pep517 USE_GITHUB= yes GH_ACCOUNT= sods NO_ARCH= yes .include diff --git a/science/py-paramz/distinfo b/science/py-paramz/distinfo index 96b5d1b90679..c910f8a6c9ae 100644 --- a/science/py-paramz/distinfo +++ b/science/py-paramz/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724142317 -SHA256 (sods-paramz-v0.9.6_GH0.tar.gz) = dc2f954ceceb9c67703e613e1c3dff63ecffcfb036bfc770a885ecce4d5b3083 -SIZE (sods-paramz-v0.9.6_GH0.tar.gz) = 3623736 +TIMESTAMP = 1785392916 +SHA256 (sods-paramz-v0.10.0_GH0.tar.gz) = e8db01b771949169d71e425228dca1610f71ed86a7f675254f32414299c2c088 +SIZE (sods-paramz-v0.10.0_GH0.tar.gz) = 3625830 diff --git a/science/py-paramz/files/patch-pyproject.toml b/science/py-paramz/files/patch-pyproject.toml new file mode 100644 index 000000000000..c776e24a5a98 --- /dev/null +++ b/science/py-paramz/files/patch-pyproject.toml @@ -0,0 +1,26 @@ +-- Convert the PEP 621 license string to the table form so the installed +-- setuptools accepts the pyproject.toml configuration, remove the +-- license-files key that the installed setuptools does not recognise, +-- and relax the build-system setuptools requirement to the version that +-- is provided by the devel/py-setuptools port. + +--- pyproject.toml.orig 2026-07-29 23:32:22.347627000 -0700 ++++ pyproject.toml 2026-07-29 23:32:22.349457000 -0700 +@@ -5,8 +5,7 @@ + {name = "Max Zwiessele", email = "ibinbei@gmail.com"}, + ] + description = "The Parameterization Framework" +-license = "BSD-3-Clause" +-license-files = ["LICENSE"] ++license = { text = "BSD-3-Clause" } + requires-python = ">=3.11" + keywords = ["machine-learning", "gaussian-processes", "kernels"] + classifiers = [ +@@ -50,5 +49,5 @@ + readme = {file = ["README.rst"]} + + [build-system] +-requires = ["setuptools>=77", "wheel"] ++requires = ["setuptools>=63.1.0", "wheel"] + build-backend = "setuptools.build_meta" +\ No newline at end of file