commit:     50993e47314827b94138dd3de5e46664f121cfe0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 15:01:39 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 15:03:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50993e47

dev-python/python-socks: Bump to 2.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-socks/Manifest                  |  1 +
 dev-python/python-socks/python-socks-2.1.0.ebuild | 45 +++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
index fcf803e8d367..090cccec82f9 100644
--- a/dev-python/python-socks/Manifest
+++ b/dev-python/python-socks/Manifest
@@ -1 +1,2 @@
 DIST python-socks-2.0.3.gh.tar.gz 40697 BLAKE2B 
c1e6f72763d1bd767af78ea1188e411814a6d41f703488dd67165d5a9b9ce1e2f9070b35a46cd72859b65c10519cdb02c91d1702a97c2d82cb5891b46187d02a
 SHA512 
9d51e61d03b4a46e94a66fc037ac759715db2e2c5d631aaf6088a0363ad13140c00da44a513088a40c0f149b9d4ee2bb4165f59f76c3956f0aede8104772fc5d
+DIST python-socks-2.1.0.gh.tar.gz 31251 BLAKE2B 
b32b35c746066c10fa1e52677e42058e6196eb1c19cfc120a670e86daf8f920a4d6be3d1d92f984b68d635496da992b33f196277a1b22b254fe045988a15d2f1
 SHA512 
66da2da1d8103570e44d0a2ace03c24695b7319c562d7f96242c713b9d03ea693a2ece3cf6869cea686c330a9fb05aa35a443bad5a638d843b4fc7b24a8e6a82

diff --git a/dev-python/python-socks/python-socks-2.1.0.ebuild 
b/dev-python/python-socks/python-socks-2.1.0.ebuild
new file mode 100644
index 000000000000..ef504c6ac3ea
--- /dev/null
+++ b/dev-python/python-socks/python-socks-2.1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} 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"
+
+# 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? (
+               >=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}]
+       )
+"
+
+distutils_enable_tests pytest

Reply via email to