From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- dev-python/aiorpcX/Manifest | 7 +-- dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild | 37 --------------- dev-python/aiorpcX/aiorpcX-0.18.5.ebuild | 14 +++++- dev-python/aiorpcX/aiorpcX-0.19.1.ebuild | 12 ++++- dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch | 53 ---------------------- 5 files changed, 25 insertions(+), 98 deletions(-) delete mode 100644 dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild delete mode 100644 dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch (limited to 'dev-python/aiorpcX') diff --git a/dev-python/aiorpcX/Manifest b/dev-python/aiorpcX/Manifest index a97f9dd1513c..dab67e35f13f 100644 --- a/dev-python/aiorpcX/Manifest +++ b/dev-python/aiorpcX/Manifest @@ -1,10 +1,7 @@ -AUX aiorpcX-0.18.4-py38.patch 1913 BLAKE2B f15e8cf86a2447944cca64e5a6e99239918e9e2971faea70bffa13a38c89ae6007bb5504fba13830a4c7dff36fda8e55953907b49421e19204c732e323cf7b34 SHA512 ff7af0ae3f9a538e36d225fef827cb4684d6fa5eccd7f24276888a538dd72f9972d643110fcba87a2f5fcf3c1d54124d85364a51ebb1a1807e608564ed72cbd1 -DIST aiorpcX-0.18.4.gh.tar.gz 65500 BLAKE2B 8c84ace1e2bc974e68702e25efe126f7f69dd7451f438ccd924ee8be3c0cccc5c9b3d116bf2d0a755b013bdfe61a398d856031970e5ae82b571af09551231bed SHA512 d4df1343f575af72dff31f1794485c0cbb5b6c31d6d933b07cc8375a1418ad4fb81b2649b3c60adaaeab75b7a5d959838accc38269373310eb07895acf4c9496 DIST aiorpcX-0.18.5.gh.tar.gz 65622 BLAKE2B 68b91e2cfb869c6971efb525fd35132c38ab9092362944fa77476bdb33f076f8415a079d97238e2c4ffbc6c9df596b468c2b6640389a11d1607b1a99aa8dc68d SHA512 5eb8417ce2ffb70208aec79e44ee0d8671c4cf86745f2d8061cf013c4ad17f83db68ed3ed43ef61df196e4ef073a21f9a4e22df46b00ce3054babf98dfcd1eaf DIST aiorpcX-0.19.1.gh.tar.gz 72903 BLAKE2B ba3da1bc1f8d83ec6c6d2189aee554b4b819b601d366d0e8858ec73fe6aedddf6a6ed00d56d66c38d18ee44921a4cce7cb83ebf05aec9348355f88b8ed67e1a5 SHA512 b71edf335ad78b1d46b2b23dcb102b29f988d32f75571b881e2ce3471bf48c7ffc9bf509ce1cafec036662bb06d6f90598304c207f416b4124a7b02fdca915e8 DIST aiorpcX-0.19.gh.tar.gz 65557 BLAKE2B 2bc9d809abbcdcf4dd0358e4bb734068ef76482dc711e1c4568db78e9ae2141e00cffb82c1c7d5976887e0561b6c4f1422063969cec23a886bb192c279fc57d7 SHA512 21d8a75a90233bb4caed804da39274516a7c852c8adf9eabcba928ff7ad9bf922760fdca2c040aad8242193cb23be512803615973256b35347b6c998cccd6632 -EBUILD aiorpcX-0.18.4-r1.ebuild 779 BLAKE2B e6eed88074ebbd0df61bdd6ed1a96874ab30d0dcd6becd75c912790b56c9e584d84ee18df241971e7f95a89f2d755b0cf83c12ba1e9cb49e9dea427dc4e6e886 SHA512 364030435c85f5e6b9869661c64793ff6038dcfaad1abcdc10bfe55d7bb1690a7a8a6155dd1108bad44a06579947fc4b0bd8dd30a73f59617bae747c7bab43d6 -EBUILD aiorpcX-0.18.5.ebuild 645 BLAKE2B d6e92e21169448068ad26ff659149a6a80bd445e3b556b7ee6ce9f3812f844e54b2be18950f7b9a707824a505fb534f0473082ffabdcaa703ddb7400bd79884f SHA512 cfa5801d8b99e7076dc1dede7a5babb66bfc0d01bda9ad6289ed079e9b2996a2b1df1daad929bb95821649c8495b4c75e51450df519358dc3cdab5965ce084ba -EBUILD aiorpcX-0.19.1.ebuild 640 BLAKE2B 640d8106e3d14386cdea25aadc0b5534321b6c569e9578779c21398a71b7fe424ce089bb60021b0122df363c8f3a7b0324d21d8f1a2f87d2058ee244dfa9b09f SHA512 3010aafc2427f05af99f33d97a84e4f99ddb091feffe171f98a31427504ed8ae143467e7f4bb8417cbc540ac40000241a84296dfd78cec4aacb40b9626f0bfc5 +EBUILD aiorpcX-0.18.5.ebuild 861 BLAKE2B 6f13104a6bff221918e00c198b3fc3596e43dc37102d4ca53eec9774ef0f237d0bfe7ea3ab002584497ca59f448fa64e70dbc0a6fdf4d25c55eb45b0e8af03e6 SHA512 ce74a01085c864f0427da094a6073fce2a002dc32ce93ead0d03b671ec0d25d2600f7be278ba2621ef35d1ee00bc96922f2c0a18d9c97a45d3fae1ae2177ab1b +EBUILD aiorpcX-0.19.1.ebuild 863 BLAKE2B 59fd6bb30d94a00014f1591f15605ea87281b8181535e4388379029b783dbaee85a6482ffcbeb89b9eab4cb819ed030284a9a562fd528b42cad38941ab9a04c5 SHA512 0913a68d34dfca6dcf38d9d73ad63b2641269e7ee49b6a80b3329e8bf2939c544cf6763c952c9b8a65e82de25f132e7c7bcf0774f06fc896e405dfd87a91bd7e EBUILD aiorpcX-0.19.ebuild 640 BLAKE2B 640d8106e3d14386cdea25aadc0b5534321b6c569e9578779c21398a71b7fe424ce089bb60021b0122df363c8f3a7b0324d21d8f1a2f87d2058ee244dfa9b09f SHA512 3010aafc2427f05af99f33d97a84e4f99ddb091feffe171f98a31427504ed8ae143467e7f4bb8417cbc540ac40000241a84296dfd78cec4aacb40b9626f0bfc5 MISC metadata.xml 380 BLAKE2B c1355cf2d901123fa14fadb4f4bf084d385dfd870baa0a2189c68d05cd3bed57ae4f1caaa668211b74b6e2491e3263b99ba8b99446c0e4f5336ea06577dc540f SHA512 b025f50be4d5ba7e95f7ae7b91099498b76b75c7faa28df52f0bb64dbe55b494107f011d42bc4cd6f5c9e5786b2dc1eb8ffc8561334326dff9c99f7877576364 diff --git a/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild b/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild deleted file mode 100644 index 7cd487159a20..000000000000 --- a/dev-python/aiorpcX/aiorpcX-0.18.4-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..8} ) - -inherit distutils-r1 - -DESCRIPTION="Generic async RPC implementation, including JSON-RPC" -HOMEPAGE="https://pypi.org/project/aiorpcX/ - https://github.com/kyuupichan/aiorpcX/" -SRC_URI="https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/uvloop[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-py38.patch -) - -src_prepare() { - # websockets are optional and not packaged in Gentoo - rm tests/test_websocket.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild b/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild index 5daef298f5af..7547b1dfcba9 100644 --- a/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild +++ b/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" BDEPEND=" @@ -26,3 +26,13 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + local deselect=( + # require Internet + tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild b/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild index 1dceb3bd58c3..89eb9710f38e 100644 --- a/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild +++ b/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_8 ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 @@ -26,3 +26,13 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + local deselect=( + # require Internet + tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch b/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch deleted file mode 100644 index bc189277c4c6..000000000000 --- a/dev-python/aiorpcX/files/aiorpcX-0.18.4-py38.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/aiorpcx/socks.py b/aiorpcx/socks.py -index 92ad396..4a6cefa 100644 ---- a/aiorpcx/socks.py -+++ b/aiorpcx/socks.py -@@ -45,7 +45,7 @@ SOCKSUserAuth = collections.namedtuple("SOCKSUserAuth", "username password") - - # Random authentication is useful when used with Tor for stream isolation. - class SOCKSRandomAuth(SOCKSUserAuth): -- def __getitem__(self, key): -+ def __getattribute__(self, key): - return secrets.token_hex(32) - - -diff --git a/tests/test_curio.py b/tests/test_curio.py -index 9292f52..97b479b 100644 ---- a/tests/test_curio.py -+++ b/tests/test_curio.py -@@ -1,4 +1,5 @@ - from asyncio import get_event_loop, InvalidStateError -+import sys - import time - - import pytest -@@ -525,6 +526,8 @@ async def test_nested_context_timeout(): - ] - - -+@pytest.mark.xfail(sys.hexversion > 0x03080000, -+ reason='broken on py3.8, upstream ignores the problem') - @pytest.mark.asyncio - async def test_nested_context_timeout2(): - async def coro1(): -@@ -562,6 +565,8 @@ async def test_nested_context_timeout2(): - await parent() - - -+@pytest.mark.xfail(sys.hexversion > 0x03080000, -+ reason='broken on py3.8, upstream ignores the problem') - @pytest.mark.asyncio - async def test_nested_context_timeout3(): - async def coro1(): -diff --git a/tests/test_jsonrpc.py b/tests/test_jsonrpc.py -index 315f639..b0cdd60 100644 ---- a/tests/test_jsonrpc.py -+++ b/tests/test_jsonrpc.py -@@ -1126,7 +1126,6 @@ def test_handler_invocation(): - (Request('missing_method', []), 'unknown method'), - (Request('add_many', []), 'requires 1'), - (Request('add_many', {'first': 1, 'values': []}), 'values'), -- (Request('powb', {"x": 2, "y": 3}), 'cannot be called'), - (Request('echo_2', ['ping', 'pong']), 'at most 1'), - (Request('echo_2', {'first': 1, 'second': 8, '3rd': 1}), '3rd'), - (Request('kwargs', []), 'requires 1'), -- cgit v1.2.3