Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-socks/
Date: Fri, 14 Jan 2022 08:08:18
Message-Id: 1642147685.49c8a2b85a976a7619a725af9b15b92cedc94d87.mgorny@gentoo
1 commit: 49c8a2b85a976a7619a725af9b15b92cedc94d87
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 14 07:01:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 14 08:08:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c8a2b8
7
8 dev-python/python-socks: Bump to 2.0.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-socks/Manifest | 1 +
13 dev-python/python-socks/python-socks-2.0.2.ebuild | 37 +++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
17 index 4c8c4f127e9a..3f446c05a092 100644
18 --- a/dev-python/python-socks/Manifest
19 +++ b/dev-python/python-socks/Manifest
20 @@ -1,3 +1,4 @@
21 DIST python-socks-1.2.4.gh.tar.gz 32192 BLAKE2B fa06f9158348292bef874c81623c11a54556db9c36cd7428d7a835428d152f3a4925d59e14d87518dfaae9e6937324e35db99bb5e1000f29fe9caf11fa2f8318 SHA512 6e70d8d98b2901e97250d30b350002944d979356bb6cd7dd4022af420e166076259a7b1aa4845d771243b18ab3f06ee955f07482c527835bb0135f0622d804be
22 DIST python-socks-2.0.0.gh.tar.gz 38176 BLAKE2B 84711bd6747dd9ef8d7f47d90e7e1beeb99db7c51a370c01a272789e7d5356cdf3d0e3b1e822e1beb88a29ebbe23acac8f68206cf7a3f8b924f79d3783426f93 SHA512 088a606ca6e13de79cfa8b180d76e91cca129b3e1ffad2243e5924dc10530340924ea815eb9af0e53b5369daa9cf3e66b2f623da6913ed32916b91d24a47c1e4
23 DIST python-socks-2.0.1.gh.tar.gz 40710 BLAKE2B 185131be6e2ef85e3d1cb41ff03e57c1d3e8921c04d11df4d3e1d3c7ed6f3cd10459730d0cc5ad63981dcfe0f8cd987f0f287a70f6727727550d63c0ff6040bc SHA512 08afe55b9a5e8d1c0aa5150511e7d3918fd8c6da10bb80037baa4f3c8004fa9e50b30ce7bda26e73f77208b64cb85544029ffd2edf197f6a23614b3c7f56114b
24 +DIST python-socks-2.0.2.gh.tar.gz 40722 BLAKE2B cfcb3bf26ad9b306ea74ede172d4c8e7cf5412c1e212fb2b806e61bd5fa085c53c47a5846105bc84e9a197198f00d85689dee55c97c691cd1b8b48bad56cc449 SHA512 fac699e2d5898553cfb0045990e5f56c16f910a5434a2e5f9c549872761835170ad7e505833f1cbc4b31cba864c1c0dddc95a530c5b0a7c2002afe0766dd6029
25
26 diff --git a/dev-python/python-socks/python-socks-2.0.2.ebuild b/dev-python/python-socks/python-socks-2.0.2.ebuild
27 new file mode 100644
28 index 000000000000..df3a8952fe8d
29 --- /dev/null
30 +++ b/dev-python/python-socks/python-socks-2.0.2.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 2020-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
41 +HOMEPAGE="
42 + https://pypi.org/project/python-socks/
43 + https://github.com/romis2012/python-socks/"
44 +SRC_URI="
45 + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz
46 + -> ${P}.gh.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
51 +
52 +# curio is not packaged
53 +# asyncio is the only backend we have, so dep on its deps unconditionally
54 +# TODO: revisit
55 +RDEPEND="dev-python/async_timeout[${PYTHON_USEDEP}]"
56 +BDEPEND="
57 + test? (
58 + $(python_gen_cond_dep '
59 + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}]
60 + dev-python/trio[${PYTHON_USEDEP}]
61 + ' 'python*')
62 + dev-python/async_timeout[${PYTHON_USEDEP}]
63 + dev-python/flask[${PYTHON_USEDEP}]
64 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
65 + dev-python/yarl[${PYTHON_USEDEP}]
66 + )"
67 +
68 +distutils_enable_tests pytest