From dd4dbff7d90d19cb3b8a4657236e598887ffbd41 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Sep 2026 03:04:44 -0500 Subject: Adding metadata --- dev-python/python-socks/Manifest | 1 + dev-python/python-socks/python-socks-3.1.1.ebuild | 42 +++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/python-socks/python-socks-3.1.1.ebuild (limited to 'dev-python/python-socks') diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index ae9cd8361325..d57ca1643496 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,2 +1,3 @@ DIST python-socks-2.8.2.gh.tar.gz 33105 BLAKE2B dbc2492070ea6992552eecdfeb47cdc4299491a1350c14d04bce41695470516d5e05a0b07f4d0b0434348355c9dd32b5de30a186f5a9febee573dd737d42cd46 SHA512 0ab02015a0c409548e53b829e7af37ba8c2d88e8857aae481391fb8c86b9156ec47e155940b1cbe05692ad9a7cd02798e530e36717f02efd472ea86cae5a5865 DIST python-socks-3.0.0.gh.tar.gz 181844 BLAKE2B 390769e03331b7e97d66496110d1414ed5494937a701ba356d81d6dd3c7d22b1bed1ae121569fe6da281b2660ce02bf50bcd60a6b04bde9ea0f7cf2faf858960 SHA512 641e4d2402212ce5eac30aea1919269dbe4d9773994b60fe08d734203b1084ea4e47df40477bb6f18117765286eeddf3bb85f39e289f7d19a3de1c56dfe6b3e7 +DIST python-socks-3.1.1.gh.tar.gz 181886 BLAKE2B 88c2801fd1e3a65821bda5c91a0f79a54e3949ed03e80a4f361a4973b5833ac6c5f91915e6114569c9e9fa0092d30c92371ac53fb415cdf4f13d9c45e0df47a6 SHA512 4907f88b88054e4b7574a9d07f3e665d78cfdde37c10fa6e1a646bf77ad9273214384bc7ef9b4f44c287d0c117c40b7cd213cc99232e7408d6613796d4177d54 diff --git a/dev-python/python-socks/python-socks-3.1.1.ebuild b/dev-python/python-socks/python-socks-3.1.1.ebuild new file mode 100644 index 000000000000..364e8b802100 --- /dev/null +++ b/dev-python/python-socks/python-socks-3.1.1.ebuild @@ -0,0 +1,42 @@ +# 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_{13..14} ) + +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/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/starlette-0.49.3[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.3.0[${PYTHON_USEDEP}] + >=dev-python/trio-0.30.0[${PYTHON_USEDEP}] + >=dev-python/trustme-1.2.1[${PYTHON_USEDEP}] + >=dev-python/uvicorn-0.39.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.22.0[${PYTHON_USEDEP}] + ) +" + +# Test markers exist to exclude trio etc if needed +EPYTEST_PLUGINS=( anyio pytest-{asyncio,trio} ) +distutils_enable_tests pytest -- cgit v1.3