1 |
commit: ca95b314c2550315ef210974642a862dd12870aa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 17:01:57 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 17:01:57 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca95b314 |
7 |
|
8 |
dev-python/aiorpcX: EAPI 8, PEP517, py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild | 38 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild b/dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..478599928eee |
18 |
--- /dev/null |
19 |
+++ b/dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2023 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{9..11} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Generic async RPC implementation, including JSON-RPC" |
32 |
+HOMEPAGE=" |
33 |
+ https://github.com/kyuupichan/aiorpcX/ |
34 |
+ https://pypi.org/project/aiorpcX/ |
35 |
+" |
36 |
+SRC_URI=" |
37 |
+ https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz |
38 |
+ -> ${P}.gh.tar.gz |
39 |
+" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
44 |
+ |
45 |
+BDEPEND=" |
46 |
+ test? ( |
47 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
48 |
+ dev-python/uvloop[${PYTHON_USEDEP}] |
49 |
+ dev-python/websockets[${PYTHON_USEDEP}] |
50 |
+ ) |
51 |
+" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+EPYTEST_DESELECT=( |
56 |
+ # require Internet |
57 |
+ tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good |
58 |
+) |