git: 41545f2afdae - main - devel/py-types-psycopg2: Update to 2.9.21.20250809
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Sep 2025 18:14:41 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41545f2afdae29b8ecfa626039910e8035d73eb5
commit 41545f2afdae29b8ecfa626039910e8035d73eb5
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-02 18:01:35 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-02 18:10:17 +0000
devel/py-types-psycopg2: Update to 2.9.21.20250809
Changes: https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/psycopg2.md
---
devel/py-types-psycopg2/Makefile | 6 ++----
devel/py-types-psycopg2/distinfo | 6 +++---
devel/py-types-psycopg2/files/patch-pyproject.toml | 23 ++++++++++++++++++++++
3 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/devel/py-types-psycopg2/Makefile b/devel/py-types-psycopg2/Makefile
index cfd5a11050cb..d98bde179e89 100644
--- a/devel/py-types-psycopg2/Makefile
+++ b/devel/py-types-psycopg2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= types-psycopg2
-PORTVERSION= 2.9.21.20250318
-PORTREVISION= 1
+PORTVERSION= 2.9.21.20250809
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +12,8 @@ WWW= https://github.com/python/typeshed/tree/main/stubs/psycopg2
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-types-psycopg2/distinfo b/devel/py-types-psycopg2/distinfo
index 6bc660b39ecd..904db3d62d4a 100644
--- a/devel/py-types-psycopg2/distinfo
+++ b/devel/py-types-psycopg2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742311054
-SHA256 (types_psycopg2-2.9.21.20250318.tar.gz) = eb6eac5bfb16adfd5f16b818918b9e26a40ede147e0f2bbffdf53a6ef7025a87
-SIZE (types_psycopg2-2.9.21.20250318.tar.gz) = 26614
+TIMESTAMP = 1755062562
+SHA256 (types_psycopg2-2.9.21.20250809.tar.gz) = b7c2cbdcf7c0bd16240f59ba694347329b0463e43398de69784ea4dee45f3c6d
+SIZE (types_psycopg2-2.9.21.20250809.tar.gz) = 26539
diff --git a/devel/py-types-psycopg2/files/patch-pyproject.toml b/devel/py-types-psycopg2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..707b201bfc86
--- /dev/null
+++ b/devel/py-types-psycopg2/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+--- pyproject.toml.orig 2025-08-09 03:14:52 UTC
++++ pyproject.toml
+@@ -1,12 +1,11 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["setuptools>=77.0.3"]
++requires = ["setuptools>=61"]
+
+ [project]
+ name = "types-psycopg2"
+ version = "2.9.21.20250809"
+-license = "Apache-2.0"
+-license-files = ["LICENSE"]
++license = { text = "Apache-2.0" }
+ description = "Typing stubs for psycopg2"
+ readme = { text = """\
+ ## Typing stubs for psycopg2
+@@ -46,5 +45,4 @@ dependencies = []
+ "Chat" = "https://gitter.im/python/typing"
+
+ [tool.setuptools]
+-packages = ['psycopg2-stubs']
+ include-package-data = false