commit:     52188b130bed2054d61a2bbe51a9ae3e8b7f280b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 05:37:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 07:40:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52188b13

dev-python/dns-lexicon: Bump to 3.21.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/dns-lexicon/Manifest                  |  1 +
 dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild | 72 ++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
index 14d284cf3334..561905e2e822 100644
--- a/dev-python/dns-lexicon/Manifest
+++ b/dev-python/dns-lexicon/Manifest
@@ -1,3 +1,4 @@
 DIST dns-lexicon-3.19.0.gh.tar.gz 6273456 BLAKE2B 
e0c47e8657b6c2724b50423359200cadac52434a31cbfd9c628ee5dd5cc3cd8779f4b51bb7522a308df90489f30aeec0a0ee44dcc850e5766d0f6b7d25b617f6
 SHA512 
4efc8864f073ca895a78eeedaf091f8b19df497caa9d8f759d051ac6e91c34e0798b0f7440cad601da62e4115a9abb596660255a8b02096959bd50411d5768be
 DIST dns-lexicon-3.20.0.gh.tar.gz 6274333 BLAKE2B 
98b9161b5eac26fcf41b7c3930a488f76a5be4a18303ab4fb13d66038b860d1ed7dc6d5e651630384aefa168bfe03ddba1be5da04e3d453be269b131d283d9b1
 SHA512 
80e1944687bed648ac70825ceb13098441d8937b362008f16a7eaebcc3c4a84ea15584ae5c6c31b88a08c503cfb5ed0e9f873192e6c0ba126dffd9b95576b681
 DIST dns-lexicon-3.20.1.gh.tar.gz 6275134 BLAKE2B 
28d09b849891081f01150a25559625cbf2cfcccba5d8be36c8cb3ad5fa9c440a7d1b7f31a114edc5738ad337fba4cd520bbe85ce6753dfd9ca8855eb2aeab9e2
 SHA512 
98a29bc67596e58ada43373fd1dfa2a5c35512dd33924969df0d16c10cf2e53cf2bc564488c9f7a1b682b63a7959cd2073207a8d77435aa62a04f408024d85fd
+DIST dns-lexicon-3.21.0.gh.tar.gz 5773198 BLAKE2B 
484c932ae80c2a5c1dc045144cde80a41f825e8e9c9c36193522312cb460eb876ee6bf84a1c3526e8622e6312ad0cff8b4a18446dff0b420bc716527f38d0d0d
 SHA512 
1b132fae2741d8cf505c0779724b5e0d518683226099c796f1b77b4ceb07e1fbecccb4d82869be090f2c379b3d17f19766857e49f83760d793a0934f520bc8ed

diff --git a/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild 
b/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild
new file mode 100644
index 000000000000..17d0d605d6d6
--- /dev/null
+++ b/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Manipulate DNS records on various DNS providers in a 
standardized/agnostic way"
+HOMEPAGE="
+       https://github.com/dns-lexicon/dns-lexicon/
+       https://pypi.org/project/dns-lexicon/
+"
+SRC_URI="
+       https://github.com/dns-lexicon/dns-lexicon/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+       >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}]
+       >=dev-python/cryptography-2[${PYTHON_USEDEP}]
+       >=dev-python/dnspython-2[${PYTHON_USEDEP}]
+       >=dev-python/pyotp-2[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-3[${PYTHON_USEDEP}]
+       >=dev-python/requests-2[${PYTHON_USEDEP}]
+       >=dev-python/tldextract-2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/boto3-1.28[${PYTHON_USEDEP}]
+               >=dev-python/zeep-3[${PYTHON_USEDEP}]
+               dev-python/vcrpy[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # TODO
+       tests/test_client.py::test_client_init_when_missing_action_should_fail
+       tests/providers/test_godaddy.py::GoDaddyProviderTests
+)
+
+EPYTEST_IGNORE=(
+       # Requires the "localzone" module
+       tests/providers/test_localzone.py
+       # Requires the "softlayer" module
+       tests/providers/test_softlayer.py
+       # Requires the "transip" module
+       tests/providers/test_transip.py
+       # Requires the "oci" module
+       tests/providers/test_oci.py
+       # Uses tldextract which needs Internet access to download its database
+       tests/providers/test_auto.py
+)
+
+pkg_postinst() {
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               optfeature_header \
+                       "Install the following packages to enable support for 
additional DNS providers:"
+               optfeature Gransy dev-python/zeep
+               optfeature Route53 dev-python/boto3
+               optfeature DDNS dev-python/dnspython
+       fi
+}

Reply via email to