From 0faa1a550cd9f34fac6c0d36d18411f385dca50e Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Wed, 3 Sep 2025 19:54:37 +0000 Subject: [PATCH] Bump dev-python/pycares-4.8.0 --- dev-python/pycares/Manifest | 1 + dev-python/pycares/pycares-4.8.0.ebuild | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dev-python/pycares/pycares-4.8.0.ebuild diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 5a31d6b360..7f93989775 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1 +1,2 @@ DIST pycares-4.5.0.tar.gz 821554 BLAKE2B 75e178d288779876becae08af08218364f13fd6b2e03c4dc6a67e5e330e26ef17fee831d0a9329a66cc9358fcc167808379b6881a0f8e18bd76a8e6ed2587c60 SHA512 224c8807396590e07fbe10c3f26eae1a457bf4969788b432b4367898382a5c68f2d7ef33f62e31dea772491319287ff1685f3cb0eb78f9c07cec80d50864e617 +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 0000000000..3f0b7a7487 --- /dev/null +++ b/dev-python/pycares/pycares-4.8.0.ebuild @@ -0,0 +1,25 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3+ pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python interface for c-ares" +HOMEPAGE="https://github.com/saghul/pycares/" +SRC_URI="https://files.pythonhosted.org/packages/19/7a/01ef7ce35fc1312d6c1c07f3b87f329ad6daf41bb9cd57c8f017e0b653fa/pycares-4.8.0.tar.gz -> pycares-4.8.0.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="*" +IUSE="" +# Tests fail with network-sandbox, since they try to resolve google.com +RESTRICT="test" + +# uses bundled/patched c-ares +RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" +BDEPEND=${RDEPEND} + +python_test() { + "${EPYTHON}" tests/tests.py -v || die +} \ No newline at end of file