git: 8927fe8f67e3 - main - devel/py-setuptools: account for removed pkgutil methods in Python 3.12

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Thu, 10 Apr 2025 13:45:43 UTC
The branch main has been updated by vishwin:

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

commit 8927fe8f67e32805fe94c94356b013d59ca4af25
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-04-10 13:44:00 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-04-10 13:44:00 +0000

    devel/py-setuptools: account for removed pkgutil methods in Python 3.12
    
    Reported by: jan, Tatsuki Makino
    PR: 285957
---
 devel/py-setuptools/Makefile | 3 +++
 devel/py-setuptools/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/devel/py-setuptools/Makefile b/devel/py-setuptools/Makefile
index 836352af12b3..f8441337aa21 100644
--- a/devel/py-setuptools/Makefile
+++ b/devel/py-setuptools/Makefile
@@ -6,6 +6,9 @@ MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DIST_SUBDIR=	python
 
+PATCH_SITES=	https://github.com/pypa/${PORTNAME}/commit/
+PATCHFILES=	6653e747c3815b140156249205397ef3719581ee.patch:-p1
+
 # note: before committing a new major version, contact portmgr to
 # arrange for an experimental ports run. Untested commits may be
 # backed out.
diff --git a/devel/py-setuptools/distinfo b/devel/py-setuptools/distinfo
index 79396fbdf202..828c744ce6c7 100644
--- a/devel/py-setuptools/distinfo
+++ b/devel/py-setuptools/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1657634036
+TIMESTAMP = 1744292398
 SHA256 (python/setuptools-63.1.0.tar.gz) = 16923d366ced322712c71ccb97164d07472abeecd13f3a6c283f6d5d26722793
 SIZE (python/setuptools-63.1.0.tar.gz) = 2599380
+SHA256 (python/6653e747c3815b140156249205397ef3719581ee.patch) = fbdb0cdeee1d38829b73cadd95445815c9b5566b7e803b8bd39586f6d4afe077
+SIZE (python/6653e747c3815b140156249205397ef3719581ee.patch) = 1262