git: db18dfea1cc4 - main - devel/py-setuptools-dso: update 2.11 → 2.12.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jul 2026 19:22:33 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=db18dfea1cc47c03800b1c2e0bc1a60b3903b4ca
commit db18dfea1cc47c03800b1c2e0bc1a60b3903b4ca
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-20 18:05:15 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-20 19:22:26 +0000
devel/py-setuptools-dso: update 2.11 → 2.12.3
---
devel/py-setuptools-dso/Makefile | 4 +++-
devel/py-setuptools-dso/distinfo | 6 +++---
.../files/patch-src_setuptools__dso_probe.py | 15 +++++++++++++++
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/devel/py-setuptools-dso/Makefile b/devel/py-setuptools-dso/Makefile
index c4739f351965..054da756b323 100644
--- a/devel/py-setuptools-dso/Makefile
+++ b/devel/py-setuptools-dso/Makefile
@@ -1,5 +1,5 @@
PORTNAME= setuptools-dso
-DISTVERSION= 2.11
+DISTVERSION= 2.12.3
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,4 +21,6 @@ USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
+# tests as of 2.12.3: 7 passed, 1 warning in 0.70s
+
.include <bsd.port.mk>
diff --git a/devel/py-setuptools-dso/distinfo b/devel/py-setuptools-dso/distinfo
index 104f6cfb71bb..722042184c28 100644
--- a/devel/py-setuptools-dso/distinfo
+++ b/devel/py-setuptools-dso/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1723789311
-SHA256 (setuptools_dso-2.11.tar.gz) = 953e66a744e21dbbe4ad73e22b9fee2e47bae739f26bc63ab37473a45b975456
-SIZE (setuptools_dso-2.11.tar.gz) = 20734
+TIMESTAMP = 1784569258
+SHA256 (setuptools_dso-2.12.3.tar.gz) = 9effb7bc38f87ff9aed33cc69e860320804ca6c69af8896dbba10996a49b5d7e
+SIZE (setuptools_dso-2.12.3.tar.gz) = 21510
diff --git a/devel/py-setuptools-dso/files/patch-src_setuptools__dso_probe.py b/devel/py-setuptools-dso/files/patch-src_setuptools__dso_probe.py
new file mode 100644
index 000000000000..5fbdb6112048
--- /dev/null
+++ b/devel/py-setuptools-dso/files/patch-src_setuptools__dso_probe.py
@@ -0,0 +1,15 @@
+-- Add FreeBSD support to target OS detection.
+-- FreeBSD uses the __FreeBSD__ macro which is not recognized by the
+-- original probe, causing target_os to be None. This patch adds FreeBSD
+-- to the list of recognized operating systems.
+
+--- src/setuptools_dso/probe.py.orig 2026-02-11 01:15:48 UTC
++++ src/setuptools_dso/probe.py
+@@ -403,6 +403,7 @@ class ToolchainInfo(object):
+ 'target_os':[
+ ('__APPLE__', 'osx'),
+ ('__CYGWIN__', 'cygwin'),
++ ('__FreeBSD__', 'freebsd'),
+ ('__linux__', 'linux'),
+ ('_WIN32', 'windows'),
+ ],