dev-python/aiodns: Bump to 3.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-10-08 19:05:20 +02:00
parent 36ef46a30b
commit c7196fa31e
2 changed files with 35 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST aiodns-3.0.0.tar.gz 6743 BLAKE2B 2a3c61156069fa598df58191b35383da3e054396cdeb1bc8916cc0414bb6efc89d45789883a5b4f33e3a08a6ee544356b02d6c697c096deae3398f0ff4d3c316 SHA512 8c1016f3b0cb461e70e9a55034f9ad3b3db705a845bf20bb6503c7a5d592b4c5d2e8ddc60b375c5fafdc559dc4566736f4c93f26710be2dcbd181284ef039825
DIST aiodns-3.1.0.tar.gz 7156 BLAKE2B 0d3b5b84631e3ed378c4334966391a639d577fb6b983b4c8cbaf306fcbb167e897b6094f9cbb3a7fb8355c352830feda1fee3a923044bf5219836845d162d1b3 SHA512 6e432555924a3d53ba95ed160a6211486041dfee8c16f18cfd23be3f1d6a50a1fad28fd406acc5de87ba277f7172c3d8ff84633585323a3f659312c4a713b096

View File

@@ -0,0 +1,34 @@
# 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
}