commit: d50904542ed81b93795987492da00438f72a15bf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 9 01:28:28 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 9 01:49:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5090454
dev-python/aiodns: Bump to 3.4.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/aiodns/Manifest | 1 +
dev-python/aiodns/aiodns-3.4.0.ebuild | 36 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest
index cb31844a9ea5..914c73befb93 100644
--- a/dev-python/aiodns/Manifest
+++ b/dev-python/aiodns/Manifest
@@ -1,2 +1,3 @@
DIST aiodns-3.2.0.tar.gz 7823 BLAKE2B
8bafeebbf6ef69001670dffe8df3bd89b817bca921e266e218eaf2a53653d5bb150cef0c99b2fd498d39befb57c6e2edb4d94fbf4b4548e1debce69bcd114ff3
SHA512
ca6ae2d53cc0a0e5b8cd5f47da56d7db43236eb6738509d5cc088e56db996c49eba8b024cfe368e5acf44ad4de4cb5d6f949c7f0d4cd16ff4d5cc42ae3b27cb1
DIST aiodns-3.3.0.tar.gz 8444 BLAKE2B
6e4fb907b40e70c4be9c9e397f0b4a51d158b5eac0ac772ff272b8f5b255ccd7da84217eefa25485a12fe297fd7f66212fca4d7856d828fc6f0323478d624c7b
SHA512
6209246c85e7871dc45fa84613e963bd500f18da5b2ffc672cf40f0efd36e858a2203b9a47f3f59f8b1d1d3a862bace0fbafa4e52b628c7a36df5b0b0876f7f9
+DIST aiodns-3.4.0.tar.gz 11433 BLAKE2B
b829639ebe3f09b75da8a94bdfd4f8ca90c21710625e8dfb029747ca2fa2ffc37a7c2f1c948b36568b26547daf06881f254d7536909556e42c5394ee13202514
SHA512
0e9d703f13676e5dc057335dc0aa41e694da28ac727e6c5662f9888f225329cc14e4e01e2dfa9e56c72a755393cbc7e70e578cfb1675f71526dfaa0e26f35d69
diff --git a/dev-python/aiodns/aiodns-3.4.0.ebuild
b/dev-python/aiodns/aiodns-3.4.0.ebuild
new file mode 100644
index 000000000000..bcee039d33d8
--- /dev/null
+++ b/dev-python/aiodns/aiodns-3.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple DNS resolver for asyncio"
+HOMEPAGE="
+ https://pypi.org/project/aiodns/
+ https://github.com/aio-libs/aiodns/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv
~s390 ~sparc ~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}"
+BDEPEND="
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p asyncio --asyncio-mode=auto
+}