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 E196B1581EE for ; Sat, 05 Apr 2025 06:38:05 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A266D343313 for ; Sat, 05 Apr 2025 06:38:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D8ECA1104B8; Sat, 05 Apr 2025 06:37:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id C3B7E1104B7 for ; Sat, 05 Apr 2025 06:37:56 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 745403432C6 for ; Sat, 05 Apr 2025 06:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2CC01EEA for ; Sat, 05 Apr 2025 06:37:54 +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: <1743835059.9db2ae850112bf4bae0353e1716ae98c653670e0.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.6.0.ebuild X-VCS-Directories: dev-python/pycares/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9db2ae850112bf4bae0353e1716ae98c653670e0 X-VCS-Branch: master Date: Sat, 05 Apr 2025 06:37:54 +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: 859cd8af-8a79-4456-8121-8ee5d62a0de6 X-Archives-Hash: 2699f01c6966629f17e64726067203b8 commit: 9db2ae850112bf4bae0353e1716ae98c653670e0 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 5 05:44:39 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 5 06:37:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db2ae85 dev-python/pycares: Bump to 4.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pycares/Manifest | 1 + dev-python/pycares/pycares-4.6.0.ebuild | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 5a31d6b3607c..f5eed6043a96 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.6.0.tar.gz 822080 BLAKE2B 1bfad7d7afe0eaabe12ac758655889ff2c819137dfd63634646c060d09599b7bc8a18ae8c782742e40f552959298c312c6c152927775f5a5fdc539b148d97a86 SHA512 3b4db74e8411359165bf6c8b2c3ece2b954bd50cbe2db9c8c1678a2f18611f7c548dd2c004c8db40c28d8384a6f41a4863e0661892eda93e735b5182ba68a802 diff --git a/dev-python/pycares/pycares-4.6.0.ebuild b/dev-python/pycares/pycares-4.6.0.ebuild new file mode 100644 index 000000000000..d3871788c794 --- /dev/null +++ b/dev-python/pycares/pycares-4.6.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 pypy3_11 python3_{10..13} ) + +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