summaryrefslogtreecommitdiff
path: root/dev-python/python-socks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-python/python-socks
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-python/python-socks')
-rw-r--r--dev-python/python-socks/Manifest4
-rw-r--r--dev-python/python-socks/python-socks-2.0.0.ebuild2
-rw-r--r--dev-python/python-socks/python-socks-2.0.1.ebuild37
3 files changed, 41 insertions, 2 deletions
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
index 33ee8c143208..5c14aee82b95 100644
--- a/dev-python/python-socks/Manifest
+++ b/dev-python/python-socks/Manifest
@@ -1,5 +1,7 @@
DIST python-socks-1.2.4.gh.tar.gz 32192 BLAKE2B fa06f9158348292bef874c81623c11a54556db9c36cd7428d7a835428d152f3a4925d59e14d87518dfaae9e6937324e35db99bb5e1000f29fe9caf11fa2f8318 SHA512 6e70d8d98b2901e97250d30b350002944d979356bb6cd7dd4022af420e166076259a7b1aa4845d771243b18ab3f06ee955f07482c527835bb0135f0622d804be
DIST python-socks-2.0.0.gh.tar.gz 38176 BLAKE2B 84711bd6747dd9ef8d7f47d90e7e1beeb99db7c51a370c01a272789e7d5356cdf3d0e3b1e822e1beb88a29ebbe23acac8f68206cf7a3f8b924f79d3783426f93 SHA512 088a606ca6e13de79cfa8b180d76e91cca129b3e1ffad2243e5924dc10530340924ea815eb9af0e53b5369daa9cf3e66b2f623da6913ed32916b91d24a47c1e4
+DIST python-socks-2.0.1.gh.tar.gz 40710 BLAKE2B 185131be6e2ef85e3d1cb41ff03e57c1d3e8921c04d11df4d3e1d3c7ed6f3cd10459730d0cc5ad63981dcfe0f8cd987f0f287a70f6727727550d63c0ff6040bc SHA512 08afe55b9a5e8d1c0aa5150511e7d3918fd8c6da10bb80037baa4f3c8004fa9e50b30ce7bda26e73f77208b64cb85544029ffd2edf197f6a23614b3c7f56114b
EBUILD python-socks-1.2.4.ebuild 884 BLAKE2B 64d3fb69d6584dc4f4289ebf2f3b4d86aaff665dc86fc3d32f0d812379dbbcd2d7ff470fe51b991aaa9b2a39489543619d19ad3a196cdcb21d4e65c7d9f52c59 SHA512 8718ab31aca5e7362d63792fb4335ff064cfa4ca604842f85cf9cd0178464f3079c8b8c8c866b9815b8f4c5165b5d795f3e0c251eae74462f10f59254725d1c3
-EBUILD python-socks-2.0.0.ebuild 887 BLAKE2B fc28db54e94bdfbf2882f16d7545adec34b82f3affe093317c160a987b60d598c664c688fd750a8c4004f2f6c5b85d8280bc110f1098cab5279d3738b73b7d97 SHA512 e6359456af7338905fe9bb18bf5b195ed7e44593101bdb8970fcce376f11c94125bdab5faa364247d03f3a26ea3f8b3df6bf3161a47271cf107a1b4b93766287
+EBUILD python-socks-2.0.0.ebuild 894 BLAKE2B ada356b419329dcf94701c08c10aeefd7a8c481f5759adc509886b2f91a2991a2d3345a7ce939bcef9090f94a99d406b7e7cbc2c16a409de0a866e3c47ac8b13 SHA512 65fc2444b6090495a8f2caa9daf53def4025e8944553fb8cc4f54ca604d7900a15c54a22fd6e9efdb7b8bf47661332818b8908ad377d56a8d6b1ae7b2751a510
+EBUILD python-socks-2.0.1.ebuild 1027 BLAKE2B 3bae7e9daa0dd0c872aaaf39580d0f6acdbef819e3d44d838e187496e8d76a6c5c1e6cf5b09536635b5539dfc2d2b24b98393bf52df6080af985bb0f2546e88f SHA512 de6ec374962508250a4b81220c934b67bf52f997d96ced7f56d096b67ef3f8dd37dad2c45e968dab7a4c1db97ab7eb6036cca9ef957c1b73d77539efd60416ea
MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a
diff --git a/dev-python/python-socks/python-socks-2.0.0.ebuild b/dev-python/python-socks/python-socks-2.0.0.ebuild
index 77ea968045dc..68d28ead631c 100644
--- a/dev-python/python-socks/python-socks-2.0.0.ebuild
+++ b/dev-python/python-socks/python-socks-2.0.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
# trio, curio are not packaged
# asyncio is the only backend we have, so dep on its deps unconditionally
diff --git a/dev-python/python-socks/python-socks-2.0.1.ebuild b/dev-python/python-socks/python-socks-2.0.1.ebuild
new file mode 100644
index 000000000000..4f23e8503be8
--- /dev/null
+++ b/dev-python/python-socks/python-socks-2.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
+HOMEPAGE="
+ https://pypi.org/project/python-socks/
+ https://github.com/romis2012/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 ~ppc64 ~riscv ~x86"
+
+# curio is not packaged
+# asyncio is the only backend we have, so dep on its deps unconditionally
+# TODO: revisit
+RDEPEND="dev-python/async_timeout[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}]
+ dev-python/trio[${PYTHON_USEDEP}]
+ ' 'python*')
+ dev-python/async_timeout[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/yarl[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest