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/aiorpcX/, dev-python/aiorpcX/files/
Date: Mon, 01 Mar 2021 09:41:21
Message-Id: 1614591622.64a4e3b7c60bf6f69ab7e19da831eda9c867f5cb.mgorny@gentoo
1 commit: 64a4e3b7c60bf6f69ab7e19da831eda9c867f5cb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 1 09:40:22 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 09:40:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a4e3b7
7
8 dev-python/aiorpcX: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/aiorpcX/Manifest | 1 -
13 dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild | 37 ---------------
14 dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch | 53 ----------------------
15 3 files changed, 91 deletions(-)
16
17 diff --git a/dev-python/aiorpcX/Manifest b/dev-python/aiorpcX/Manifest
18 index 596ccbf5c60..5cc7d9fc31c 100644
19 --- a/dev-python/aiorpcX/Manifest
20 +++ b/dev-python/aiorpcX/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST aiorpcX-0.18.4.gh.tar.gz 65500 BLAKE2B 8c84ace1e2bc974e68702e25efe126f7f69dd7451f438ccd924ee8be3c0cccc5c9b3d116bf2d0a755b013bdfe61a398d856031970e5ae82b571af09551231bed SHA512 d4df1343f575af72dff31f1794485c0cbb5b6c31d6d933b07cc8375a1418ad4fb81b2649b3c60adaaeab75b7a5d959838accc38269373310eb07895acf4c9496
23 DIST aiorpcX-0.18.5.gh.tar.gz 65622 BLAKE2B 68b91e2cfb869c6971efb525fd35132c38ab9092362944fa77476bdb33f076f8415a079d97238e2c4ffbc6c9df596b468c2b6640389a11d1607b1a99aa8dc68d SHA512 5eb8417ce2ffb70208aec79e44ee0d8671c4cf86745f2d8061cf013c4ad17f83db68ed3ed43ef61df196e4ef073a21f9a4e22df46b00ce3054babf98dfcd1eaf
24 DIST aiorpcX-0.19.1.gh.tar.gz 72903 BLAKE2B ba3da1bc1f8d83ec6c6d2189aee554b4b819b601d366d0e8858ec73fe6aedddf6a6ed00d56d66c38d18ee44921a4cce7cb83ebf05aec9348355f88b8ed67e1a5 SHA512 b71edf335ad78b1d46b2b23dcb102b29f988d32f75571b881e2ce3471bf48c7ffc9bf509ce1cafec036662bb06d6f90598304c207f416b4124a7b02fdca915e8
25 DIST aiorpcX-0.19.gh.tar.gz 65557 BLAKE2B 2bc9d809abbcdcf4dd0358e4bb734068ef76482dc711e1c4568db78e9ae2141e00cffb82c1c7d5976887e0561b6c4f1422063969cec23a886bb192c279fc57d7 SHA512 21d8a75a90233bb4caed804da39274516a7c852c8adf9eabcba928ff7ad9bf922760fdca2c040aad8242193cb23be512803615973256b35347b6c998cccd6632
26
27 diff --git a/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild b/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild
28 deleted file mode 100644
29 index 7cd487159a2..00000000000
30 --- a/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild
31 +++ /dev/null
32 @@ -1,37 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7..8} )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Generic async RPC implementation, including JSON-RPC"
43 -HOMEPAGE="https://pypi.org/project/aiorpcX/
44 - https://github.com/kyuupichan/aiorpcX/"
45 -SRC_URI="https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz
46 - -> ${P}.gh.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="amd64 x86"
51 -IUSE=""
52 -
53 -BDEPEND="
54 - test? (
55 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
56 - dev-python/uvloop[${PYTHON_USEDEP}] )"
57 -
58 -distutils_enable_tests pytest
59 -
60 -PATCHES=(
61 - "${FILESDIR}"/${P}-py38.patch
62 -)
63 -
64 -src_prepare() {
65 - # websockets are optional and not packaged in Gentoo
66 - rm tests/test_websocket.py || die
67 -
68 - distutils-r1_src_prepare
69 -}
70
71 diff --git a/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch b/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch
72 deleted file mode 100644
73 index bc189277c4c..00000000000
74 --- a/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch
75 +++ /dev/null
76 @@ -1,53 +0,0 @@
77 -diff --git a/aiorpcx/socks.py b/aiorpcx/socks.py
78 -index 92ad396..4a6cefa 100644
79 ---- a/aiorpcx/socks.py
80 -+++ b/aiorpcx/socks.py
81 -@@ -45,7 +45,7 @@ SOCKSUserAuth = collections.namedtuple("SOCKSUserAuth", "username password")
82 -
83 - # Random authentication is useful when used with Tor for stream isolation.
84 - class SOCKSRandomAuth(SOCKSUserAuth):
85 -- def __getitem__(self, key):
86 -+ def __getattribute__(self, key):
87 - return secrets.token_hex(32)
88 -
89 -
90 -diff --git a/tests/test_curio.py b/tests/test_curio.py
91 -index 9292f52..97b479b 100644
92 ---- a/tests/test_curio.py
93 -+++ b/tests/test_curio.py
94 -@@ -1,4 +1,5 @@
95 - from asyncio import get_event_loop, InvalidStateError
96 -+import sys
97 - import time
98 -
99 - import pytest
100 -@@ -525,6 +526,8 @@ async def test_nested_context_timeout():
101 - ]
102 -
103 -
104 -+@×××××××××××.xfail(sys.hexversion > 0x03080000,
105 -+ reason='broken on py3.8, upstream ignores the problem')
106 - @pytest.mark.asyncio
107 - async def test_nested_context_timeout2():
108 - async def coro1():
109 -@@ -562,6 +565,8 @@ async def test_nested_context_timeout2():
110 - await parent()
111 -
112 -
113 -+@×××××××××××.xfail(sys.hexversion > 0x03080000,
114 -+ reason='broken on py3.8, upstream ignores the problem')
115 - @pytest.mark.asyncio
116 - async def test_nested_context_timeout3():
117 - async def coro1():
118 -diff --git a/tests/test_jsonrpc.py b/tests/test_jsonrpc.py
119 -index 315f639..b0cdd60 100644
120 ---- a/tests/test_jsonrpc.py
121 -+++ b/tests/test_jsonrpc.py
122 -@@ -1126,7 +1126,6 @@ def test_handler_invocation():
123 - (Request('missing_method', []), 'unknown method'),
124 - (Request('add_many', []), 'requires 1'),
125 - (Request('add_many', {'first': 1, 'values': []}), 'values'),
126 -- (Request('powb', {"x": 2, "y": 3}), 'cannot be called'),
127 - (Request('echo_2', ['ping', 'pong']), 'at most 1'),
128 - (Request('echo_2', {'first': 1, 'second': 8, '3rd': 1}), '3rd'),
129 - (Request('kwargs', []), 'requires 1'),