commit: ebfad630ba822305a17373e9a281aeb6ad2b365c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 16 05:44:56 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 16 05:44:56 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebfad630
dev-python/python-socks: Bump to 2.8.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-socks/Manifest | 1 +
dev-python/python-socks/python-socks-2.8.1.ebuild | 41 +++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
index 775f9ce27549..8ec6956ddb8b 100644
--- a/dev-python/python-socks/Manifest
+++ b/dev-python/python-socks/Manifest
@@ -1 +1,2 @@
DIST python-socks-2.8.0.gh.tar.gz 32423 BLAKE2B
c5c854db5e3cfc8b91641f3522648984dabdd02342c7da5bbc5203c0b50cdf91698311affcfd6ac964e331d45005e648258472453d8c07153c332785b8bfc0fb
SHA512
a3ea3682717b7630fca0ce7480969c085858c153efca5b730f232bdf8183dafccfc9faf63ac5f61adc78432408d2b6b24895a670a1f3187d25a9748f820cdf0b
+DIST python-socks-2.8.1.gh.tar.gz 32435 BLAKE2B
99dd9af19b3952e758373da8092eb87f10d471f85d0bcdfdf643f1765a656c062c7c7ace0682982c2738f8c76163495745938f6c86b601b9be8bfe8b6f6d6717
SHA512
0f8304d979049af3fbf2bd8af94bbd71215834413c4dbc377ea4b829461811d671ee28f07fac425e9fc00da2e8e083f20671bb2e64fdc11b3fddfad0a9278167
diff --git a/dev-python/python-socks/python-socks-2.8.1.ebuild
b/dev-python/python-socks/python-socks-2.8.1.ebuild
new file mode 100644
index 000000000000..7785839f1e0e
--- /dev/null
+++ b/dev-python/python-socks/python-socks-2.8.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020-2026 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