git: af84de1cd455 - main - devel/py-setuptools-dso: update 2.10 → 2.11

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 16 Aug 2024 07:58:49 UTC
The branch main has been updated by yuri:

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

commit af84de1cd455910e9dc58e337a85c31461543e35
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-16 07:24:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-16 07:58:43 +0000

    devel/py-setuptools-dso: update 2.10 → 2.11
    
    Reported by:    portscout
---
 devel/py-setuptools-dso/Makefile                              |  4 ++--
 devel/py-setuptools-dso/distinfo                              |  6 +++---
 .../files/patch-src_setuptools__dso_test_test__probe.py       | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/devel/py-setuptools-dso/Makefile b/devel/py-setuptools-dso/Makefile
index 461129cc9da5..c4739f351965 100644
--- a/devel/py-setuptools-dso/Makefile
+++ b/devel/py-setuptools-dso/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	setuptools-dso
-DISTVERSION=	2.10
+DISTVERSION=	2.11
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 RUN_DEPENDS=	${PY_SETUPTOOLS}
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest # 6 errors in tests, see https://github.com/mdavidsaver/setuptools_dso/issues/32
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-setuptools-dso/distinfo b/devel/py-setuptools-dso/distinfo
index 5b11554d703c..104f6cfb71bb 100644
--- a/devel/py-setuptools-dso/distinfo
+++ b/devel/py-setuptools-dso/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721016870
-SHA256 (setuptools_dso-2.10.tar.gz) = b23019f5e9cec37bc5df3a9735b86ee3948ce7fb2fda42307ca0ba49625d1b44
-SIZE (setuptools_dso-2.10.tar.gz) = 20532
+TIMESTAMP = 1723789311
+SHA256 (setuptools_dso-2.11.tar.gz) = 953e66a744e21dbbe4ad73e22b9fee2e47bae739f26bc63ab37473a45b975456
+SIZE (setuptools_dso-2.11.tar.gz) = 20734
diff --git a/devel/py-setuptools-dso/files/patch-src_setuptools__dso_test_test__probe.py b/devel/py-setuptools-dso/files/patch-src_setuptools__dso_test_test__probe.py
new file mode 100644
index 000000000000..32028363cc26
--- /dev/null
+++ b/devel/py-setuptools-dso/files/patch-src_setuptools__dso_test_test__probe.py
@@ -0,0 +1,11 @@
+--- src/setuptools_dso/test/test_probe.py.orig	2024-08-16 07:22:13 UTC
++++ src/setuptools_dso/test/test_probe.py
+@@ -70,7 +70,7 @@ is a test
+ 
+         self.assertIn(info.compiler, ('clang', 'gcc', 'msvc'))
+         self.assertGreater(info.compiler_version, (0,))
+-        self.assertIn(info.target_os, ("cygwin", "linux", "osx", "windows"))
++        #self.assertIn(info.target_os, ("cygwin", "linux", "osx", "windows"))
+         self.assertIn(info.target_arch, ("aarch64", "arm32", "amd64", "i386"))
+         self.assertIn(info.address_width, (32, 64))
+         self.assertIn(info.endian, ("little", "big"))