From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03541158042 for ; Sun, 6 Oct 2024 02:31:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 947D6E29B1; Sun, 6 Oct 2024 02:30:58 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79D56E29B1 for ; Sun, 6 Oct 2024 02:30:58 +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 7DBD0343162 for ; Sun, 6 Oct 2024 02:30:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9D89213C for ; Sun, 6 Oct 2024 02:30:55 +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: <1728181846.6408d99958990ae7b4b84ab867d49cfc80c8baf8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dnspython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dnspython/Manifest dev-python/dnspython/dnspython-2.7.0.ebuild X-VCS-Directories: dev-python/dnspython/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6408d99958990ae7b4b84ab867d49cfc80c8baf8 X-VCS-Branch: master Date: Sun, 6 Oct 2024 02:30:55 +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: 883f60b0-a313-4e1a-844e-c4466180bfbb X-Archives-Hash: b49279c6c9dfed3a84dc49889c6aee8d commit: 6408d99958990ae7b4b84ab867d49cfc80c8baf8 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 6 02:18:13 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 6 02:30:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6408d999 dev-python/dnspython: Bump to 2.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/dnspython/Manifest | 1 + dev-python/dnspython/dnspython-2.7.0.ebuild | 55 +++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index 69ffca18b716..9c3e7d121de8 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1 +1,2 @@ DIST dnspython-2.6.1.gh.tar.gz 373684 BLAKE2B 63ac506d528a9e3684daf4888b51d732d9a12c3439ff1c353250a7bad78781f9f12bb13509e69093d5585a4a04bf2fbb1b8eb690a39f27e5d58e8f0f3b3b36a8 SHA512 77e9c69ac70e9e31a11188b968d28b8f2890b053b2cce0e608eefad7fd2c2b0f30c074222b2e5e85c0b4b8705f2e45acfa8b016a7808cc421df1d77f2561d978 +DIST dnspython-2.7.0.gh.tar.gz 386890 BLAKE2B 209bbb761cff2e39f86fb94458976766f3cac93e47f2c25294c359c98126aa4670b8157fad6c2bbf67ef250150310b31068690cec43ef148bbaf541873c37f38 SHA512 d73b90a06fa4c731393f719a79ec1339c3f8010b0ef4e58d8aa1aa5e0f2804dff8a79e20d9c9175b41b66bc9cf1712c33f4e2ed14820afc74d988096a42488b5 diff --git a/dev-python/dnspython/dnspython-2.7.0.ebuild b/dev-python/dnspython/dnspython-2.7.0.ebuild new file mode 100644 index 000000000000..24a34d0cb853 --- /dev/null +++ b/dev-python/dnspython/dnspython-2.7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE=" + https://www.dnspython.org/ + https://github.com/rthalley/dnspython/ + https://pypi.org/project/dnspython/ +" +SRC_URI=" + https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="dnssec examples" + +RDEPEND=" + dnssec? ( + >=dev-python/cryptography-41[${PYTHON_USEDEP}] + ) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] +" +# note: skipping DoH test deps because they require Internet anyway +BDEPEND=" + test? ( + >=dev-python/cryptography-41[${PYTHON_USEDEP}] + >=dev-python/quart-trio-0.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x NO_INTERNET=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}