diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-12 06:37:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-12 06:37:09 +0000 |
| commit | de2b9a6e346ccf014fdee97e0ec9a1478d5bb120 (patch) | |
| tree | 7827eb14e7c97143671051f91158bac381127c42 /dev-python/aiodns | |
| parent | 0f69dae335f63d2970a7f293ecd69f103597b6aa (diff) | |
| download | baldeagleos-repo-de2b9a6e346ccf014fdee97e0ec9a1478d5bb120.tar.gz baldeagleos-repo-de2b9a6e346ccf014fdee97e0ec9a1478d5bb120.tar.xz baldeagleos-repo-de2b9a6e346ccf014fdee97e0ec9a1478d5bb120.zip | |
Adding metadata
Diffstat (limited to 'dev-python/aiodns')
| -rw-r--r-- | dev-python/aiodns/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/aiodns/aiodns-3.0.0-r1.ebuild | 39 | ||||
| -rw-r--r-- | dev-python/aiodns/aiodns-3.1.0.ebuild | 34 | ||||
| -rw-r--r-- | dev-python/aiodns/aiodns-3.1.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/aiodns/files/aiodns-3.0.0-py3.10-tests.patch | 24 |
5 files changed, 1 insertions, 100 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 1c2d25e1e3c4..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_{8,9,10,11,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 8a2101ade688..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_{8,9,10,11,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/aiodns-3.1.1.ebuild b/dev-python/aiodns/aiodns-3.1.1.ebuild index 8a2101ade688..88ddd588679f 100644 --- a/dev-python/aiodns/aiodns-3.1.1.ebuild +++ b/dev-python/aiodns/aiodns-3.1.1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/saghul/aiodns/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" 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?= <mgorny@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()) |
