dev-python/pycares: Bump to 4.6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-05 07:44:39 +02:00
parent 4cbb7985f1
commit 9db2ae8501
2 changed files with 58 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pycares-4.5.0.tar.gz 821554 BLAKE2B 75e178d288779876becae08af08218364f13fd6b2e03c4dc6a67e5e330e26ef17fee831d0a9329a66cc9358fcc167808379b6881a0f8e18bd76a8e6ed2587c60 SHA512 224c8807396590e07fbe10c3f26eae1a457bf4969788b432b4367898382a5c68f2d7ef33f62e31dea772491319287ff1685f3cb0eb78f9c07cec80d50864e617
DIST pycares-4.6.0.tar.gz 822080 BLAKE2B 1bfad7d7afe0eaabe12ac758655889ff2c819137dfd63634646c060d09599b7bc8a18ae8c782742e40f552959298c312c6c152927775f5a5fdc539b148d97a86 SHA512 3b4db74e8411359165bf6c8b2c3ece2b954bd50cbe2db9c8c1678a2f18611f7c548dd2c004c8db40c28d8384a6f41a4863e0661892eda93e735b5182ba68a802

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Python interface for c-ares"
HOMEPAGE="
https://github.com/saghul/pycares/
https://pypi.org/project/pycares/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="test"
# Tests fail with network-sandbox, since they try to resolve google.com
PROPERTIES="test_network"
RESTRICT="test"
DEPEND="
net-dns/c-ares:=
"
BDEPEND="
$(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
' 'python*')
"
RDEPEND="
dev-python/idna[${PYTHON_USEDEP}]
${DEPEND}
${BDEPEND}
"
BDEPEND+="
test? (
dev-python/idna[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# regression due to Internet changing (probably)
# https://github.com/saghul/pycares/issues/187
tests/test_all.py::DNSTest::test_query_class_chaos
tests/test_all.py::DNSTest::test_idna_encoding_query_a
tests/test_all.py::DNSTest::test_query_txt_chunked
# TODO
tests/test_all.py::DNSTest::test_custom_resolvconf
)
export PYCARES_USE_SYSTEM_LIB=1