diff options
Diffstat (limited to 'dev-python/python-socks')
| -rw-r--r-- | dev-python/python-socks/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-socks/python-socks-2.8.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index 722e701b6a5a..289efff82e95 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,2 +1,3 @@ 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 +DIST python-socks-2.8.0.gh.tar.gz 32423 BLAKE2B c5c854db5e3cfc8b91641f3522648984dabdd02342c7da5bbc5203c0b50cdf91698311affcfd6ac964e331d45005e648258472453d8c07153c332785b8bfc0fb SHA512 a3ea3682717b7630fca0ce7480969c085858c153efca5b730f232bdf8183dafccfc9faf63ac5f61adc78432408d2b6b24895a670a1f3187d25a9748f820cdf0b diff --git a/dev-python/python-socks/python-socks-2.8.0.ebuild b/dev-python/python-socks/python-socks-2.8.0.ebuild new file mode 100644 index 000000000000..a468b7f17ceb --- /dev/null +++ b/dev-python/python-socks/python-socks-2.8.0.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 |
