dev-python/pycares: Bump to 5.2.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-10-21 04:30:11 +02:00
parent d1e73bb3d5
commit e79f7f96fb
2 changed files with 49 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST pycares-5.0.1.tar.gz 652222 BLAKE2B 29680da5ce1bfef6bd3fa6ad0d03cbbd4948cccf7d7d4deaa44960ccb33085b2ac3f8de7411239062e829cd8920fee84e7a5ce41e1e2d1da974aba10e1e60b33 SHA512 3cb23e36e9526b44398b1ffdf9223f0eec5f6e085b6276188329239d1e9a9ee173239691e39cbc9d7a4854a54e181bd200e2011bb3bf6741f79be81b46665348
DIST pycares-5.1.0.tar.gz 674882 BLAKE2B 670de260fe4d6a34d8fa20ffdf6ef21f6753adb0d2e37aacb04dfe1984a0f4112af4dd7f3eee1341c7b82d907ce123db5a892e4d095cc11e3f8aee9993ef2ad0 SHA512 858d50f4620d12fb9ad4a7c8dc6d150da8a7ac39c4618672c995e8a4fe685a30ad1723f419a99b8c2a71d915b3f7af54b0726819907c4a343239c2f5d754a642
DIST pycares-5.2.0.tar.gz 675045 BLAKE2B f03794a3dd6aad9e903d686529c8c846174a0f61056cd25df36fd15d6d9ebd2e289e966c1f99baab33d201f0c1f71bd15e4071366d07642dfecad50154ee3ac3 SHA512 4e7a7981c3c7c5c86fde5c8d8547a361beca1615626b5ad97f707b6b1a94f63e0bb07745232d13f4f4de9961b6ab06007c5bbc789ded8910fcf3bd333ac47728
DIST pycares-5.2.1.tar.gz 723791 BLAKE2B 51322eda454c9b1a956edbbe57a55621addabd66c9f8a160844539ed8542879f29e0bf3e66c6c7dcde79bb1dd0b90eaf22163f9982e50c6a211b04a9fb088ef7 SHA512 4e7d6969525cea436798cd0e003eb0fe7cc649e827feffab1b51035ef4a65e78e094117d991c31c2a0716f239d14ce3a00a426d2394fa22d75864a564235698c
+48
View File
@@ -0,0 +1,48 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} python3_{14,15}t )
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="
dev-python/cffi[${PYTHON_USEDEP}]
"
RDEPEND="
dev-python/idna[${PYTHON_USEDEP}]
${DEPEND}
${BDEPEND}
"
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
export PYCARES_USE_SYSTEM_LIB=1
EPYTEST_DESELECT=(
# https://github.com/saghul/pycares/issues/287
# looks like forgotten to update the expected class
tests/test_all.py::DNSTest::test_idna2008_encoding
)