diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-05 06:57:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-05 06:57:41 +0000 |
| commit | e1127353fca10d915b2118bcc72831007352cb2f (patch) | |
| tree | 03807da2864eefbd7c73f7e99c0ad53f43f6bdfb /dev-python/pycares | |
| parent | a510605f4c599302839ff7b08ea776d16a139785 (diff) | |
| download | baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.tar.gz baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.tar.xz baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pycares')
| -rw-r--r-- | dev-python/pycares/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycares/pycares-4.8.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 5f6f9ef257a1..bcb4d11c79a7 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,3 +1,4 @@ DIST pycares-4.6.0.tar.gz 822080 BLAKE2B 1bfad7d7afe0eaabe12ac758655889ff2c819137dfd63634646c060d09599b7bc8a18ae8c782742e40f552959298c312c6c152927775f5a5fdc539b148d97a86 SHA512 3b4db74e8411359165bf6c8b2c3ece2b954bd50cbe2db9c8c1678a2f18611f7c548dd2c004c8db40c28d8384a6f41a4863e0661892eda93e735b5182ba68a802 DIST pycares-4.6.1.tar.gz 822359 BLAKE2B 54e055a716a6fc021e54fd12e255fc8e54e774b8391e5ab7291176a18138431184598bc2fd73ab14d226f4db1f65798bf18dbc5ff7a698438117ca131c5497c9 SHA512 140f206435a2f7f6bdcdb707035f6216710852161552dd733a383cc13e085e44a168bc425c0bc107bc82c4808c13a58b48407af0b45c7b5abae3e1d39fffbc95 DIST pycares-4.7.0.tar.gz 642875 BLAKE2B 1467d3264b9240c2d79a2702fab13871ec8a6d4b154eeece5a2ea25c6f7e893717b2c09365bf30600ae8208c61d84b043be48a7b5af965379e3eda30a8c562bf SHA512 ca710bd14150dd0fecab09ee89928664e5bb275513a94e316db3d84fa40597c5f11631db9b17b13b074b8575a0ceff4b121424a5f2ba9e92a734de2e100a79ec +DIST pycares-4.8.0.tar.gz 647980 BLAKE2B 640312cab61f02952222954a193cabfb81d4be86d26c96737af6c2b56caecc01c17322ad4526679e0a14e2b6653234d57c3de8ec59e3fc85d6ccf5508ba06bee SHA512 51e467d0a58fd865a07fead2e906a7caea8751d45d06ac699c57bf56fe9165da9d17b50104f61200911e77bb3edea6de2d81aa3e2330946f8548905b83ce1be1 diff --git a/dev-python/pycares/pycares-4.8.0.ebuild b/dev-python/pycares/pycares-4.8.0.ebuild new file mode 100644 index 000000000000..1e29425e9d10 --- /dev/null +++ b/dev-python/pycares/pycares-4.8.0.ebuild @@ -0,0 +1,57 @@ +# 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=( python3_{9,10,11,12,13} pypy3 ) + +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} +" +BDEPEND+=" + test? ( + dev-python/idna[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # regression due to Internet changing (probably) + # https://github.com/saghul/pycares/issues/187 + tests/test_all.py::DNSTest::test_query_class_chaos + tests/test_all.py::DNSTest::test_idna_encoding_query_a + tests/test_all.py::DNSTest::test_query_txt_chunked + # TODO + tests/test_all.py::DNSTest::test_custom_resolvconf +) + +export PYCARES_USE_SYSTEM_LIB=1 |
