diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-12-11 05:08:30 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-12-11 05:40:23 +0100 |
| commit | 92cb82393c176a86e2aff9d4a80c03809cbbbf9c (patch) | |
| tree | b64d65c58eabbc7890e987845c66f3040e2460aa /dev-python | |
| parent | 453a6a74f23bfd9d9c8dabf880ea082ad64ebb74 (diff) | |
| download | gentoo-92cb82393c176a86e2aff9d4a80c03809cbbbf9c.tar.gz gentoo-92cb82393c176a86e2aff9d4a80c03809cbbbf9c.tar.bz2 gentoo-92cb82393c176a86e2aff9d4a80c03809cbbbf9c.zip | |
dev-python/pycares: Bump to 5.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pycares/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycares/pycares-5.0.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 00aa45cc0292..bc38d5db035c 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1 +1,2 @@ DIST pycares-4.11.0.tar.gz 654473 BLAKE2B 2e2ce4330258307ec593641fe26e6441b06578d0bac9c58c9bca89f24979efe0099f926b72b991fbaf4a30a128bfb93cb272896c18136c9007efb38f5b23779f SHA512 5ded9356942233f8c77792cdf5061018ec6c7ccc0ce144657c0ca7473d18fbd649699e4814047c41dec3ca393d4fc2402b1b60fbdbd947c05dc881f574edff4b +DIST pycares-5.0.0.tar.gz 475859 BLAKE2B 4042797c4fe93206c7dbc442a6a45ee4cc661235649e9cf8f53d055231ad46f863ce9c76d6af914aa36c9529044aa6d37f50f2cc058b85609e7b179e6b0447c7 SHA512 d8e25a8dacb81a5fda09884ffb487e54b17584703dfce2c8efec7210c1996254cb418cd555ac4b2f12fa8cfe5f4d83d1b0452ad977231cf9b6515193cf6c7aae diff --git a/dev-python/pycares/pycares-5.0.0.ebuild b/dev-python/pycares/pycares-5.0.0.ebuild new file mode 100644 index 000000000000..c1d001bbe023 --- /dev/null +++ b/dev-python/pycares/pycares-5.0.0.ebuild @@ -0,0 +1,50 @@ +# 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_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 +) |
