diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest index 21ffa8e03db87..8e5be5c4bee61 100644 --- a/dev-python/aiodns/Manifest +++ b/dev-python/aiodns/Manifest @@ -1,2 +1,4 @@ DIST aiodns-4.0.0.tar.gz 26204 BLAKE2B 9691bd1a1ff7c5a3f22311242af20a2e3e457f7455d9bd31cc837ece26330de11b0e5384d2056174e50b593aeae9525ace4edaf7e329d6d3fcd0b78c7946fe3b SHA512 891f24963df0b64e68c9e53a556e562cb261f207df6204f08232e70cbaa1e193d391953c123bf225a3d3e171660b94ec2b7ecc29f10bdc373362018e25e04275 DIST aiodns-4.0.0.tar.gz.provenance 9360 BLAKE2B 12f684533751d5d400c3782d032b2044292010176892d7ae2e58ec9ac7f9d67ae154dbf4a032bd8bb01c7be3f38fc010d04c4e3d5e3d67a402b7b03632d427ef SHA512 9a67679ba8bb56221f7301d835743002e67c43c742fed64a5c1230eb1b9359c31b6fbae4dd930585974228853ad4883ceb0f44c2d0ff1fe28dead06c4a7b883a +DIST aiodns-4.0.4.tar.gz 29918 BLAKE2B d792ac6492eb2a57d8155fe83f4d8379783f55c298ec1536b98223ba321ecfa1d1b88201491171a2566f56f4cc964fa43059b0a62ac463ff18ce12a8e656fce3 SHA512 d0f562f4dd3cbc02f6a961bfd619f666b059f4b9ab330747ee82a85cd3929280aac05f577965e9c843c3f0b5972f07fc659cf0480e4c2673217f8ade2d671f9e +DIST aiodns-4.0.4.tar.gz.provenance 9650 BLAKE2B f21b480f5b889c78bc08532d0610fb05498dd7af20e791d7df356ddc6023c6ef8f6cd968682f999e30c8ea8d4f687d5d06aa62d4204a534f2d446c1bd3652910 SHA512 f8d81aeede7a1d9076762b2a59a65806237803dfb288b866fe5dbbc6ea86a2f8303b243892c9d421a703bf36e5d9837fdcd70f0b1602412bf630cf515c80e37d diff --git a/dev-python/aiodns/aiodns-4.0.4.ebuild b/dev-python/aiodns/aiodns-4.0.4.ebuild new file mode 100644 index 0000000000000..bc0528f817e63 --- /dev/null +++ b/dev-python/aiodns/aiodns-4.0.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2026 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-5*[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest --asyncio-mode=auto +}