commit:     41ac1a196afd218e347697707fa0ee3e6020b83d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  2 04:04:18 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 04:10:04 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ac1a19

dev-python/pycares: Bump to 5.0.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pycares/Manifest             |  1 +
 dev-python/pycares/pycares-5.0.1.ebuild | 50 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest
index bc38d5db035c..2ce47a26cca4 100644
--- a/dev-python/pycares/Manifest
+++ b/dev-python/pycares/Manifest
@@ -1,2 +1,3 @@
 DIST pycares-4.11.0.tar.gz 654473 BLAKE2B 
2e2ce4330258307ec593641fe26e6441b06578d0bac9c58c9bca89f24979efe0099f926b72b991fbaf4a30a128bfb93cb272896c18136c9007efb38f5b23779f
 SHA512 
5ded9356942233f8c77792cdf5061018ec6c7ccc0ce144657c0ca7473d18fbd649699e4814047c41dec3ca393d4fc2402b1b60fbdbd947c05dc881f574edff4b
 DIST pycares-5.0.0.tar.gz 475859 BLAKE2B 
4042797c4fe93206c7dbc442a6a45ee4cc661235649e9cf8f53d055231ad46f863ce9c76d6af914aa36c9529044aa6d37f50f2cc058b85609e7b179e6b0447c7
 SHA512 
d8e25a8dacb81a5fda09884ffb487e54b17584703dfce2c8efec7210c1996254cb418cd555ac4b2f12fa8cfe5f4d83d1b0452ad977231cf9b6515193cf6c7aae
+DIST pycares-5.0.1.tar.gz 652222 BLAKE2B 
29680da5ce1bfef6bd3fa6ad0d03cbbd4948cccf7d7d4deaa44960ccb33085b2ac3f8de7411239062e829cd8920fee84e7a5ce41e1e2d1da974aba10e1e60b33
 SHA512 
3cb23e36e9526b44398b1ffdf9223f0eec5f6e085b6276188329239d1e9a9ee173239691e39cbc9d7a4854a54e181bd200e2011bb3bf6741f79be81b46665348

diff --git a/dev-python/pycares/pycares-5.0.1.ebuild 
b/dev-python/pycares/pycares-5.0.1.ebuild
new file mode 100644
index 000000000000..119d72b3e9a0
--- /dev/null
+++ b/dev-python/pycares/pycares-5.0.1.ebuild
@@ -0,0 +1,50 @@
+# 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=( pypy3_11 python3_{11..14} )
+
+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}
+"
+
+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
+)

Reply via email to