mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/pycares: Bump to 5.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
453a6a74f2
commit
92cb82393c
@ -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
|
||||
|
||||
50
dev-python/pycares/pycares-5.0.0.ebuild
Normal file
50
dev-python/pycares/pycares-5.0.0.ebuild
Normal file
@ -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
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user