1 |
commit: 21dc6e875168e3aacc36b7476be9089e8598b2ac |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 16:56:59 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 16:58:04 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21dc6e87 |
7 |
|
8 |
dev-python/aiohttp-socks: PEP517, py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aiohttp-socks/Manifest | 1 + |
13 |
.../aiohttp-socks/aiohttp-socks-0.7.1-r1.ebuild | 38 ++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/aiohttp-socks/Manifest b/dev-python/aiohttp-socks/Manifest |
17 |
index 0a77d258107e..8e2e9b6e5d62 100644 |
18 |
--- a/dev-python/aiohttp-socks/Manifest |
19 |
+++ b/dev-python/aiohttp-socks/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST aiohttp-socks-0.7.1.gh.tar.gz 19813 BLAKE2B e49ff94a63e3b22f082c892da6b65f71afd768ef98064f062facd382e0146e2fca563f2b7438f37e60a01d640199092c201e7ab2f77152829d8d8a64246ea152 SHA512 0f7a295e3d34d6cac78dcac5d64f76439730bf6bc6d287df9f2ed9b7ad3f1c04d61ebfd1cee75b80788f485b338094a4b02ecef2b3a2be172ffb8e1e65332b59 |
22 |
DIST aiohttp-socks-0.7.1.tar.gz 19813 BLAKE2B e49ff94a63e3b22f082c892da6b65f71afd768ef98064f062facd382e0146e2fca563f2b7438f37e60a01d640199092c201e7ab2f77152829d8d8a64246ea152 SHA512 0f7a295e3d34d6cac78dcac5d64f76439730bf6bc6d287df9f2ed9b7ad3f1c04d61ebfd1cee75b80788f485b338094a4b02ecef2b3a2be172ffb8e1e65332b59 |
23 |
|
24 |
diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.7.1-r1.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.7.1-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..851d6be8ce30 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/aiohttp-socks/aiohttp-socks-0.7.1-r1.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="SOCKS proxy connector for aiohttp" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/aiohttp-socks/ |
43 |
+ https://github.com/romis2012/aiohttp-socks/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/romis2012/aiohttp-socks/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/aiohttp-2.3.2[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/flask[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
63 |
+ dev-python/yarl[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_tests pytest |