diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-27 01:25:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-27 01:25:47 +0100 |
commit | abc3bfc07d931f667a0f50cf607f1c8a49af879f (patch) | |
tree | e1955376c90c745c2b110a9abf62eb2d5c209a2b /dev-python/python-socks | |
parent | 21dea977c89ba487b57c7856a4924950e667f209 (diff) |
gentoo auto-resync : 27:09:2024 - 01:25:47
Diffstat (limited to 'dev-python/python-socks')
-rw-r--r-- | dev-python/python-socks/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-socks/python-socks-2.5.2.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index 257e4d84fce9..ed7a7a22c2a9 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,3 +1,5 @@ DIST python-socks-2.5.1.gh.tar.gz 32387 BLAKE2B a0f488a146b09433bee39382ace3143a31a55d3fccd2db5e5ca6c2a08f3e17abee5839a266f8dc1b1b3ac6add7584cfba988aacba575ed5d21a464f8a2f1464f SHA512 6f2491272d201abc06a0d0a4fae242899ed28f9caeb7bea42c33946daec3280b48a956319b82a89ebeb8ea61ab9c290f9360d6ea85eb4d654525b95faa3ffce0 +DIST python-socks-2.5.2.gh.tar.gz 32411 BLAKE2B 4070f7e0ff85881cec6252320a250404b1279b707719f41aa1b8bf8e8cd52c653a4a778baa4408977013e0c659f667152b902449bc32e84c4502067e240a901b SHA512 ec342b81d88192817eded048a8d6ed556ddfbb108bb945681cb33c05c4c53e39f01bac7cacb2bd1cecf907c53e49cce18d8bc237b625efa1067dd765bf648933 EBUILD python-socks-2.5.1.ebuild 1288 BLAKE2B f50610d219bc2633146686cae11fb31b17e3df22c48313656bf1734d6fd9f75b2c0f3be855538b5fb8d4e9247a5cb5f204a5535c986e60df870af93aedace5d1 SHA512 28c25f6e8cb2f8ad459caedc9ae84766306634e130a9f2b7c331c0a9329675eaba8d14cbc186ba1984b3a44306f2ddb10e0e5b02358ec690cb5861768dc5abf4 +EBUILD python-socks-2.5.2.ebuild 1331 BLAKE2B f4f547e77422030323c154371ddedf6e5c29eda2ac9a789d7eabf77711730cdea268909646a617364c7bce4a01922e867f03368e8e540429f5dda21a767d69a5 SHA512 119d0b81ce07881621420b8443c2b94c9e5d404ea8784c8554b861924f2c0f3a4a0fcb16db08d1edf34e0d3daadaee020fe28200d523d249ce0f77fab7fb9283 MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.5.2.ebuild b/dev-python/python-socks/python-socks-2.5.2.ebuild new file mode 100644 index 000000000000..2f0cb840c533 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.5.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +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 +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/async-timeout[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.16.0[${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 +distutils_enable_tests pytest |