commit:     0e4f352dd6a7d672a59657ea69217054b56e9a50
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 20:33:47 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 20:33:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4f352d

dev-python/aiodns: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/aiodns/Manifest                         |  2 --
 dev-python/aiodns/aiodns-3.0.0-r1.ebuild           | 39 ----------------------
 dev-python/aiodns/aiodns-3.1.0.ebuild              | 34 -------------------
 .../aiodns/files/aiodns-3.0.0-py3.10-tests.patch   | 24 -------------
 4 files changed, 99 deletions(-)

diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest
index 38141778de8c..247d546a18e6 100644
--- a/dev-python/aiodns/Manifest
+++ b/dev-python/aiodns/Manifest
@@ -1,3 +1 @@
-DIST aiodns-3.0.0.tar.gz 6743 BLAKE2B 
2a3c61156069fa598df58191b35383da3e054396cdeb1bc8916cc0414bb6efc89d45789883a5b4f33e3a08a6ee544356b02d6c697c096deae3398f0ff4d3c316
 SHA512 
8c1016f3b0cb461e70e9a55034f9ad3b3db705a845bf20bb6503c7a5d592b4c5d2e8ddc60b375c5fafdc559dc4566736f4c93f26710be2dcbd181284ef039825
-DIST aiodns-3.1.0.tar.gz 7156 BLAKE2B 
0d3b5b84631e3ed378c4334966391a639d577fb6b983b4c8cbaf306fcbb167e897b6094f9cbb3a7fb8355c352830feda1fee3a923044bf5219836845d162d1b3
 SHA512 
6e432555924a3d53ba95ed160a6211486041dfee8c16f18cfd23be3f1d6a50a1fad28fd406acc5de87ba277f7172c3d8ff84633585323a3f659312c4a713b096
 DIST aiodns-3.1.1.tar.gz 7363 BLAKE2B 
bb5a465be00ff61406b61cef133cb5eed8e007114ddcd1475a12fed5481ec377bc96291fdc7fd6cc5936de865118f7008625ec5d69c09f96eacdb83b4b29c786
 SHA512 
7c28cc6256a575681778376cc197a9504133b1127eb3508f6e5cd1c992c95adef66cf8399b7e90ca012347485e476f71e3f032f7e2f555954ad9a0cade8df5f9

diff --git a/dev-python/aiodns/aiodns-3.0.0-r1.ebuild 
b/dev-python/aiodns/aiodns-3.0.0-r1.ebuild
deleted file mode 100644
index 1a5434f93ef6..000000000000
--- a/dev-python/aiodns/aiodns-3.0.0-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple DNS resolver for asyncio"
-HOMEPAGE="https://github.com/saghul/aiodns/";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-
-# Tests fail with network-sandbox, since they try to resolve google.com
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-       # 
https://github.com/saghul/aiodns/commit/146286601fe80eb4ede8126769e79b5d5e63f64e
-       "${FILESDIR}/${P}-py3.10-tests.patch"
-)
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               # Internet changed, https://github.com/saghul/aiodns/issues/107
-               tests.py::DNSTest::test_query_bad_chars
-       )
-
-       epytest tests.py
-}

diff --git a/dev-python/aiodns/aiodns-3.1.0.ebuild 
b/dev-python/aiodns/aiodns-3.1.0.ebuild
deleted file mode 100644
index 1745292c2be6..000000000000
--- a/dev-python/aiodns/aiodns-3.1.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple DNS resolver for asyncio"
-HOMEPAGE="https://github.com/saghul/aiodns/";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-
-# Tests fail with network-sandbox, since they try to resolve google.com
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               # Internet changed, https://github.com/saghul/aiodns/issues/107
-               tests.py::DNSTest::test_query_bad_chars
-       )
-
-       epytest tests.py
-}

diff --git a/dev-python/aiodns/files/aiodns-3.0.0-py3.10-tests.patch 
b/dev-python/aiodns/files/aiodns-3.0.0-py3.10-tests.patch
deleted file mode 100644
index 19062f1c8861..000000000000
--- a/dev-python/aiodns/files/aiodns-3.0.0-py3.10-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 146286601fe80eb4ede8126769e79b5d5e63f64e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgo...@gentoo.org>
-Date: Sat, 15 May 2021 10:03:01 +0200
-Subject: [PATCH] Remove loop= param from asyncio.sleep() to fix tests on
- Python 3.10
-
-Fixes #95
----
- tests.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests.py b/tests.py
-index 7b2279f..fc0e2b9 100755
---- a/tests.py
-+++ b/tests.py
-@@ -116,7 +116,7 @@ def test_future_cancel(self):
-         f = self.resolver.query('google.com', 'A')
-         f.cancel()
-         async def coro():
--            await asyncio.sleep(0.1, loop=self.loop)
-+            await asyncio.sleep(0.1)
-             await f
-         try:
-             self.loop.run_until_complete(coro())

Reply via email to