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: Tue, 23 Nov 2021 22:05:09
Message-Id: 1637705093.33ae2d119eefa6f255e6adbf78f4d244efba1a90.mgorny@gentoo
1 commit: 33ae2d119eefa6f255e6adbf78f4d244efba1a90
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 23 21:16:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 23 22:04:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ae2d11
7
8 dev-python/python-socks: Bump to 2.0.0
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.0.ebuild | 32 +++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest
17 index 1d553bd20338..bd151d7bb157 100644
18 --- a/dev-python/python-socks/Manifest
19 +++ b/dev-python/python-socks/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/python-socks/python-socks-2.0.0.ebuild b/dev-python/python-socks/python-socks-2.0.0.ebuild
25 new file mode 100644
26 index 000000000000..77ea968045dc
27 --- /dev/null
28 +++ b/dev-python/python-socks/python-socks-2.0.0.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 2020-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
39 +HOMEPAGE="
40 + https://pypi.org/project/python-socks/
41 + https://github.com/romis2012/python-socks/"
42 +SRC_URI="
43 + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz
44 + -> ${P}.gh.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
49 +
50 +# trio, curio are not packaged
51 +# asyncio is the only backend we have, so dep on its deps unconditionally
52 +RDEPEND="dev-python/async_timeout[${PYTHON_USEDEP}]"
53 +BDEPEND="
54 + test? (
55 + dev-python/async_timeout[${PYTHON_USEDEP}]
56 + dev-python/flask[${PYTHON_USEDEP}]
57 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
58 + dev-python/yarl[${PYTHON_USEDEP}]
59 + )"
60 +
61 +distutils_enable_tests pytest