git: 0b59412a9755 - main - misc/py-pyct: update 0.5.0 → 0.6.0

Yuri Victorovich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b59412a975575dc4847806e4d184d70a457295b

commit 0b59412a975575dc4847806e4d184d70a457295b
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-01 05:56:50 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-01 06:50:06 +0000

    misc/py-pyct: update 0.5.0 → 0.6.0
---
 misc/py-pyct/Makefile                   | 13 +++++++++----
 misc/py-pyct/distinfo                   |  6 +++---
 misc/py-pyct/files/patch-pyproject.toml | 15 +++++++++++++++
 3 files changed, 27 insertions(+), 7 deletions(-)

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,6 +1,5 @@
 PORTNAME=	pyct
-DISTVERSION=	0.5.0
-PORTREVISION=	1
+DISTVERSION=	0.6.0
 CATEGORIES=	misc
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,17 @@ 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 <bsd.port.mk>
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 = "[email protected]"}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.