diff --git a/misc/py-pyct/Makefile b/misc/py-pyct/Makefile index 769b58f25595..7c4732586268 100644 --- a/misc/py-pyct/Makefile +++ b/misc/py-pyct/Makefile @@ -1,22 +1,27 @@ PORTNAME= pyct -DISTVERSION= 0.5.0 -PORTREVISION= 1 +DISTVERSION= 0.6.0 CATEGORIES= misc MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python package for common tasks for users: copy examples, fetch data WWW= https://github.com/pyviz-dev/pyct LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25.0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4.0:devel/py-hatch-vcs@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}param>=1.7.0:devel/py-param@${PY_FLAVOR} -USES= python -USE_PYTHON= distutils concurrent autoplist pytest +USES= python shebangfix +USE_PYTHON= pep517 concurrent autoplist pytest + +SHEBANG_FILES= pyct/report.py NO_ARCH= yes +# tests as of 0.6.0: 20 passed, 1 warning in 20.37s + .include diff --git a/misc/py-pyct/distinfo b/misc/py-pyct/distinfo index 2db29db00b3b..54d4f75babf9 100644 --- a/misc/py-pyct/distinfo +++ b/misc/py-pyct/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1675143107 -SHA256 (pyct-0.5.0.tar.gz) = dd9f4ac5cbd8e37c352c04036062d3c5f67efec76d404761ef16b0cbf26aa6a0 -SIZE (pyct-0.5.0.tar.gz) = 15837 +TIMESTAMP = 1785521876 +SHA256 (pyct-0.6.0.tar.gz) = d4e513b2cf35b6165605ae5fce5f2a49985bc67473c579de85134b8c71d374a8 +SIZE (pyct-0.6.0.tar.gz) = 14586 diff --git a/misc/py-pyct/files/patch-pyproject.toml b/misc/py-pyct/files/patch-pyproject.toml new file mode 100644 index 000000000000..5413579ee2f3 --- /dev/null +++ b/misc/py-pyct/files/patch-pyproject.toml @@ -0,0 +1,15 @@ +-- Convert the deprecated string form of project.license to the PEP 621 +-- table form and remove project.license-files, both required by the +-- setuptools version available in the ports tree. +--- pyproject.toml.orig 2026-07-31 21:30:43.120920000 -0700 ++++ pyproject.toml +@@ -10,8 +10,7 @@ + dynamic = ["version"] + readme = "README.md" + description = "Python package common tasks for users (e.g. copy examples, fetch data, ...)" +-license = "BSD-3-Clause" +-license-files = ["LICENSE.txt"] ++license = {text = "BSD-3-Clause"} + requires-python = ">=3.8" + authors = [ + {name = "HoloViz", email = "developers@holoviz.org"}