git: 790b4c7d4419 - main - devel/py-types-retry: update 0.9.9.4 → 0.9.9.20260408

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=790b4c7d4419a267b0bb4baffa222ff3d47e7905

commit 790b4c7d4419a267b0bb4baffa222ff3d47e7905
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-01 05:45:50 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-01 06:50:05 +0000

    devel/py-types-retry: update 0.9.9.4 → 0.9.9.20260408
---
 devel/py-types-retry/Makefile                   | 15 ++++++++++++--
 devel/py-types-retry/distinfo                   |  6 +++---
 devel/py-types-retry/files/patch-pyproject.toml | 26 +++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 5 deletions(-)

diff --git a/devel/py-types-retry/Makefile b/devel/py-types-retry/Makefile
index 5535f9010846..3fa05fb5b741 100644
--- a/devel/py-types-retry/Makefile
+++ b/devel/py-types-retry/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	types-retry
-DISTVERSION=	0.9.9.4
-PORTREVISION=	1
+DISTVERSION=	0.9.9.20260408
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	types_retry-${DISTVERSION}
 
 MAINTAINER=	[email protected]
 COMMENT=	Typing stubs for retry
@@ -16,4 +16,15 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+# Use generated setup.py because upstream PEP 621 license metadata is incompatible with the ports setuptools version.
+post-extract:
+	@${ECHO} "from setuptools import setup" > ${WRKSRC}/setup.py
+	@${ECHO} "setup(" >> ${WRKSRC}/setup.py
+	@${ECHO} "    name='types-retry'," >> ${WRKSRC}/setup.py
+	@${ECHO} "    version='${DISTVERSION}'," >> ${WRKSRC}/setup.py
+	@${ECHO} "    packages=['retry-stubs']," >> ${WRKSRC}/setup.py
+	@${ECHO} "    package_data={'retry-stubs': ['__init__.pyi', 'api.pyi', 'METADATA.toml', 'py.typed']}," >> ${WRKSRC}/setup.py
+	@${ECHO} "    include_package_data=False," >> ${WRKSRC}/setup.py
+	@${ECHO} ")" >> ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/devel/py-types-retry/distinfo b/devel/py-types-retry/distinfo
index 1653f3cbd877..dc15f36e6914 100644
--- a/devel/py-types-retry/distinfo
+++ b/devel/py-types-retry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689920187
-SHA256 (types-retry-0.9.9.4.tar.gz) = e4731dc684b56b875d9746459ad665d3bc281a56b530acdf1c97730167799941
-SIZE (types-retry-0.9.9.4.tar.gz) = 2845
+TIMESTAMP = 1785521697
+SHA256 (types_retry-0.9.9.20260408.tar.gz) = 3f98fa62ec027449383f5c019cceacc784c1dbab4760989ddab421f7b8407d92
+SIZE (types_retry-0.9.9.20260408.tar.gz) = 7778
diff --git a/devel/py-types-retry/files/patch-pyproject.toml b/devel/py-types-retry/files/patch-pyproject.toml
new file mode 100644
index 000000000000..83ecd4aa1579
--- /dev/null
+++ b/devel/py-types-retry/files/patch-pyproject.toml
@@ -0,0 +1,26 @@
+-- Convert the deprecated string form of project.license to the PEP 621
+-- table form, remove project.license-files, and drop the [tool.setuptools]
+-- configuration that the setuptools version in the ports tree does not accept.
+-- Package metadata is supplied by the generated setup.py instead.
+--- pyproject.toml.orig	2026-07-31 21:19:26.267079000 -0700
++++ pyproject.toml
+@@ -5,8 +5,7 @@
+ [project]
+ name = "types-retry"
+ version = "0.9.9.20260408"
+-license = "Apache-2.0"
+-license-files = ["LICENSE"]
++license = {text = "Apache-2.0"}
+ description = "Typing stubs for retry"
+ readme = { text = """\
+ ## Typing stubs for retry
+@@ -45,9 +44,3 @@
+ "Issue tracker" = "https://github.com/python/typeshed/issues"
+ "Chat" = "https://gitter.im/python/typeshed"
+
+-[tool.setuptools]
+-packages = ['retry-stubs']
+-include-package-data = false
+-
+-[tool.setuptools.package-data]
+-'retry-stubs' = ['__init__.pyi', 'api.pyi', 'METADATA.toml', 'py.typed']
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.