summaryrefslogtreecommitdiff
path: root/dev-python/aiodns
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/aiodns')
-rw-r--r--dev-python/aiodns/Manifest2
-rw-r--r--dev-python/aiodns/aiodns-3.6.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest
index 3707cc94fd14..d9dd612adac8 100644
--- a/dev-python/aiodns/Manifest
+++ b/dev-python/aiodns/Manifest
@@ -1 +1,3 @@
DIST aiodns-3.5.0.tar.gz 14380 BLAKE2B 7b34d94e7376a0f9ddc5f002bcde64ac15dd31bec97801a35e1b1040f687d5775b5497ba7b76417c45d5cfb35b670d0bce5421e9d6703c7bffe648ee91afaf13 SHA512 0d833cd26db549a06b8bd62835bcac008e24ea4f010065186ff3ca5629c08527eb2c29e6d3f307b8db5d809b264298d3669452a782c19d2454e0b2ce394c814c
+DIST aiodns-3.6.0.tar.gz 15108 BLAKE2B a99b18b877df5da6bc8d21dd8c11de711882dd5daebaa06899f6eb75cf030ff9373a20b6a009f93d02934e98247fe7a5e6f25f693667ab8ce3ade6393e917515 SHA512 4620a16bafc8321569fe749518e039230d466d70ad8e328cbed0a4c3b229df2b2c0ade424d44019d065bc50dc7b1396c6a98fb2591f842d50c0dfd3b878843bd
+DIST aiodns-3.6.0.tar.gz.provenance 9313 BLAKE2B 1afa93bb875a04ed4bc6fcab92feb4b68ead381d19253872067db481499ac12dad73c987336ea4b8980c33611351af3d713b22859ac790907fc60bc270948b78 SHA512 1e35b03a95fb84ef669f55e4ab07821a248eb03965992a5c209d2551b5a85f32db9f750e86dcde2c4afb33cd1c1b94727b48c9b49ba113a980a13a4add81e81d
diff --git a/dev-python/aiodns/aiodns-3.6.0.ebuild b/dev-python/aiodns/aiodns-3.6.0.ebuild
new file mode 100644
index 000000000000..d74a57cfb206
--- /dev/null
+++ b/dev-python/aiodns/aiodns-3.6.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/aio-libs/aiodns
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+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? ( test_network )"
+RESTRICT="test"
+
+RDEPEND=">=dev-python/pycares-4.9.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+EPYTEST_PLUGINS=( pytest-asyncio )
+distutils_enable_tests pytest
+
+python_test() {
+ epytest --asyncio-mode=auto
+}