git: fd29e4a1e282 - main - graphics/py-pyx: Update to 0.17

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:30:37 UTC
The branch main has been updated by sunpoet:

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

commit fd29e4a1e28245c05c6a8f10c4ef39dcc5f05cdc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 19:00:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:25:01 +0000

    graphics/py-pyx: Update to 0.17
    
    Changes:        https://github.com/pyx-project/pyx/releases
                    https://github.com/pyx-project/pyx/blob/master/CHANGES
---
 graphics/py-pyx/Makefile                   |  6 ++----
 graphics/py-pyx/distinfo                   |  6 +++---
 graphics/py-pyx/files/patch-pyproject.toml | 11 +++++++++++
 graphics/py-pyx/files/patch-setup.py       | 11 -----------
 4 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/graphics/py-pyx/Makefile b/graphics/py-pyx/Makefile
index e86c9cd584cb..78f454ab013c 100644
--- a/graphics/py-pyx/Makefile
+++ b/graphics/py-pyx/Makefile
@@ -1,10 +1,8 @@
 PORTNAME=	pyx
-PORTVERSION=	0.16
-PORTREVISION=	1
+PORTVERSION=	0.17
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	PyX-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python package for creating encapsulated PostScript figures
@@ -14,7 +12,7 @@ WWW=		https://pyx-project.org/ \
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python tex
diff --git a/graphics/py-pyx/distinfo b/graphics/py-pyx/distinfo
index 0d88ff76ab82..85a7327ca2a3 100644
--- a/graphics/py-pyx/distinfo
+++ b/graphics/py-pyx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057893
-SHA256 (PyX-0.16.tar.gz) = 4d8e3e471cd3e9a9bd13d5086cdf7c0af1b0c3f3e195e74f5f63318dc40a66d8
-SIZE (PyX-0.16.tar.gz) = 626703
+TIMESTAMP = 1790435882
+SHA256 (pyx-0.17.tar.gz) = 3bc8aa809131559f7a5c0e1f1129b42c71ade36df0332113f5c5779384a39af1
+SIZE (pyx-0.17.tar.gz) = 628935
diff --git a/graphics/py-pyx/files/patch-pyproject.toml b/graphics/py-pyx/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e7a184f43769
--- /dev/null
+++ b/graphics/py-pyx/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-05-10 20:07:52 UTC
++++ pyproject.toml
+@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
+ 
+ 
+ [project]
+-name = "PyX"
++name = "pyx"
+ description = "Python package for the generation of PostScript, PDF, and SVG files"
+ readme = "README.md"
+ license = { file = "LICENSE" }
diff --git a/graphics/py-pyx/files/patch-setup.py b/graphics/py-pyx/files/patch-setup.py
deleted file mode 100644
index 29ea74211ff9..000000000000
--- a/graphics/py-pyx/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2021-08-21 13:07:32 UTC
-+++ setup.py
-@@ -43,7 +43,7 @@ description, long_description = __doc__.split("\n\n", 
- 
- description, long_description = __doc__.split("\n\n", 1)
- 
--setup(name="PyX",
-+setup(name="pyx",
-       version=pyx.version.version,
-       author="Jörg Lehmann, André Wobst",
-       author_email="pyx-devel@lists.sourceforge.net",