commit: a377a5da2e0c9481962e7054a5e73143d6ba0bef
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 11 07:46:52 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 11 07:46:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a377a5da
dev-python/python-socks: Bump to 2.7.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-socks/Manifest | 1 +
dev-python/python-socks/python-socks-2.7.3.ebuild | 41 +++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
index 07e3ef7460cc..722e701b6a5a 100644
--- a/dev-python/python-socks/Manifest
+++ b/dev-python/python-socks/Manifest
@@ -1 +1,2 @@
DIST python-socks-2.7.2.gh.tar.gz 32394 BLAKE2B
47302bc64cd3d767b8050f5c324450c73c6d002827c1038461a7a226d656f18e2adb69d8b9b3baf3cdd11869309a1a3d6340f9df8175ca9f0f2010dbdd1bb5f2
SHA512
69089f6f5ab1bb8010ef5e9b4c8513fd5e24f353f78186d186616474fb2eae81b689b7e21b049dfb2d885be143f45591103f7c4054d9723f4bc74bfbfeb77b1f
+DIST python-socks-2.7.3.gh.tar.gz 32414 BLAKE2B
85feef349d778c28a1a517dad3ee87707102df7319dfd4853e7f72d3d939321bf3327d8cb2fa569e5f856bd1c139b6acdbc6098d347c7cb92430f7c958638769
SHA512
8a2b9a58a252ef6e650664c8bd95fd69d33668628dd7915bbccbfba96e65fd09d68e2fe251e20cef2367fbd802a36de5b1352cf3eaf4e8b6c1ea18142d421c74
diff --git a/dev-python/python-socks/python-socks-2.7.3.ebuild
b/dev-python/python-socks/python-socks-2.7.3.ebuild
new file mode 100644
index 000000000000..a468b7f17ceb
--- /dev/null
+++ b/dev-python/python-socks/python-socks-2.7.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1
+
+DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
+HOMEPAGE="
+ https://github.com/romis2012/python-socks/
+ https://pypi.org/project/python-socks/
+"
+SRC_URI="
+ https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# curio is not packaged
+# asyncio is the only backend we have, so dep on its deps unconditionally
+# TODO: revisit
+BDEPEND="
+ test? (
+ >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
+ >=dev-python/flask-1.1.2[${PYTHON_USEDEP}]
+ >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}]
+ >=dev-python/trio-0.24[${PYTHON_USEDEP}]
+ >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
+ )
+"
+
+# Test markers exist to exclude trio etc if needed
+EPYTEST_PLUGINS=( anyio pytest-{asyncio,trio} )
+distutils_enable_tests pytest