git: e9598e9dfbfc - main - net/py-python-socks: Update to 3.0.0

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Wed, 12 Aug 2026 06:00:49 UTC
The branch main has been updated by ehaupt:

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

commit e9598e9dfbfc92e90b50c5e85f227999fa7ae8b8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2026-08-12 06:00:03 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2026-08-12 06:00:43 +0000

    net/py-python-socks: Update to 3.0.0
    
    Teach modern pyproject.toml some manners around our vintage setuptools.
    
    Upstream now requires setuptools >= 77 and uses the SPDX license string
    syntax. FreeBSD still ships setuptools 63.1 here, so patch the build
    requirements and use the older license table form to keep everyone on
    speaking terms.
---
 net/py-python-socks/Makefile                   |  2 +-
 net/py-python-socks/distinfo                   |  6 +++---
 net/py-python-socks/files/patch-pyproject.toml | 15 +++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/net/py-python-socks/Makefile b/net/py-python-socks/Makefile
index bdffe998b6f6..7a27c725c4a8 100644
--- a/net/py-python-socks/Makefile
+++ b/net/py-python-socks/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-socks
-PORTVERSION=	2.8.2
+PORTVERSION=	3.0.0
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/net/py-python-socks/distinfo b/net/py-python-socks/distinfo
index 4d118ef8417e..65b245217c6f 100644
--- a/net/py-python-socks/distinfo
+++ b/net/py-python-socks/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782389613
-SHA256 (python_socks-2.8.2.tar.gz) = ffc493951854fa3fc0551e0434a09a7b9f9047f9ad666dce42cb94a52e8a34b6
-SIZE (python_socks-2.8.2.tar.gz) = 39656
+TIMESTAMP = 1786463941
+SHA256 (python_socks-3.0.0.tar.gz) = c20ddf978b5c90467bf242757a11dcd00d7c8bd339901de1839b492d5571ab7f
+SIZE (python_socks-3.0.0.tar.gz) = 232731
diff --git a/net/py-python-socks/files/patch-pyproject.toml b/net/py-python-socks/files/patch-pyproject.toml
new file mode 100644
index 000000000000..35250ef79784
--- /dev/null
+++ b/net/py-python-socks/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+--- pyproject.toml.orig	2026-08-09 05:37:50 UTC
++++ pyproject.toml
+@@ -1,10 +1,10 @@
+ [build-system]
+-requires = ['setuptools >= 77.0']
++requires = ['setuptools >= 63.1']
+ build-backend = 'setuptools.build_meta'
+ 
+ [project]
+ name = 'python-socks'
+-license = 'Apache-2.0'
++license = { text = 'Apache-2.0' }
+ description = 'Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python'
+ readme = 'README.md'
+ authors = [{ name = 'Roman Snegirev', email = 'snegiryev@gmail.com' }]