From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79A2E1581CA for ; Fri, 13 Jun 2025 04:16:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 655F034245E for ; Fri, 13 Jun 2025 04:16:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D662C110504; Fri, 13 Jun 2025 04:16:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C6FB3110504 for ; Fri, 13 Jun 2025 04:16:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 810F83421D4 for ; Fri, 13 Jun 2025 04:16:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C281229A5 for ; Fri, 13 Jun 2025 04:16:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1749786595.f744d14b4d899c1ca93553d853a1c2051e99715c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycares/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycares/Manifest dev-python/pycares/pycares-4.9.0.ebuild X-VCS-Directories: dev-python/pycares/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f744d14b4d899c1ca93553d853a1c2051e99715c X-VCS-Branch: master Date: Fri, 13 Jun 2025 04:16:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7f7ca3ec-6ce6-4ec2-b316-a42db53c0550 X-Archives-Hash: 57f3757468d6996e1808d5dfec95d2b4 commit: f744d14b4d899c1ca93553d853a1c2051e99715c Author: Michał Górny gentoo org> AuthorDate: Fri Jun 13 03:49:55 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 13 03:49:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f744d14b dev-python/pycares: Bump to 4.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pycares/Manifest | 1 + dev-python/pycares/pycares-4.9.0.ebuild | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 8c96bb0612b2..63fe8e173e87 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,2 +1,3 @@ DIST pycares-4.6.0.tar.gz 822080 BLAKE2B 1bfad7d7afe0eaabe12ac758655889ff2c819137dfd63634646c060d09599b7bc8a18ae8c782742e40f552959298c312c6c152927775f5a5fdc539b148d97a86 SHA512 3b4db74e8411359165bf6c8b2c3ece2b954bd50cbe2db9c8c1678a2f18611f7c548dd2c004c8db40c28d8384a6f41a4863e0661892eda93e735b5182ba68a802 DIST pycares-4.8.0.tar.gz 647980 BLAKE2B 640312cab61f02952222954a193cabfb81d4be86d26c96737af6c2b56caecc01c17322ad4526679e0a14e2b6653234d57c3de8ec59e3fc85d6ccf5508ba06bee SHA512 51e467d0a58fd865a07fead2e906a7caea8751d45d06ac699c57bf56fe9165da9d17b50104f61200911e77bb3edea6de2d81aa3e2330946f8548905b83ce1be1 +DIST pycares-4.9.0.tar.gz 655365 BLAKE2B c30ccd57f31dbaad4dc7689ca4997dc909363a175a33d672e3e9167573c9c7935eb002d2d0ff97aa2f90ccd6ed76b8d1f2a82b17c26378db08422764b6e936ba SHA512 3be5aa36fbfbc47e54f7b41e14ef951bdb1528a60f51a11ef7d010da2ef9ca2830f89d277063788c44468f27fb4d875ce472729106cf1c0bb32000727d2841b7 diff --git a/dev-python/pycares/pycares-4.9.0.ebuild b/dev-python/pycares/pycares-4.9.0.ebuild new file mode 100644 index 000000000000..61db23403567 --- /dev/null +++ b/dev-python/pycares/pycares-4.9.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=( 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} +" +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