diff options
| author | Crucible <crucible@localhost> | 2026-10-15 17:23:01 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-15 17:23:01 -0500 |
| commit | 5087f37a4d9063896fce9cf625aa2479bc540b94 (patch) | |
| tree | ba40439cb50c33940edaf2c7ea4801889a838fed /dev-python/pycares | |
| parent | 12d66102ecbcb4a4eef51d1b7f06abe9080be243 (diff) | |
| download | srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.tar.gz srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.tar.xz srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.zip | |
Publish srcux candidate 0000000660-20261015-172104
Diffstat (limited to 'dev-python/pycares')
| -rw-r--r-- | dev-python/pycares/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycares/pycares-5.2.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 156ad7b4ff8b..f3c51e8ae3ca 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pycares/pycares-5.2.0.ebuild b/dev-python/pycares/pycares-5.2.0.ebuild new file mode 100644 index 000000000000..372158830647 --- /dev/null +++ b/dev-python/pycares/pycares-5.2.0.ebuild @@ -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_{13..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=" + 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 +) |
