Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dns-lexicon/
Date: Tue, 17 May 2022 06:54:37
Message-Id: 1652770458.ac6e57f63323f3e4755127e6ccef1a1b0cd935db.mgorny@gentoo
1 commit: ac6e57f63323f3e4755127e6ccef1a1b0cd935db
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 05:04:31 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 06:54:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6e57f6
7
8 dev-python/dns-lexicon: Bump to 3.11.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dns-lexicon/Manifest | 1 +
13 dev-python/dns-lexicon/dns-lexicon-3.11.2.ebuild | 67 ++++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
17 index f0db9e8c63fd..426704058f89 100644
18 --- a/dev-python/dns-lexicon/Manifest
19 +++ b/dev-python/dns-lexicon/Manifest
20 @@ -1 +1,2 @@
21 DIST dns-lexicon-3.11.1.tar.gz 8478920 BLAKE2B 6c437c678a2872a81f316ac064390e5ab6ac458b7fca199a3fe67152a46e87c82990cec0287651634f50e572691a778dfdcafd2aea4fd4d305dc223a8c327818 SHA512 3947e0de0733bb329b0d13b9aff59760ed7de9e34c320ed9de3a3c44ff8b813c78d54f31d0d9b5a97b4b57279adef432f8458f912cfae942437c3275df92fa7d
22 +DIST dns-lexicon-3.11.2.tar.gz 8479426 BLAKE2B aced03c62f809bbb22d2456da8d7a66c4b3cdfd47903a67cafd8a97cbc7cdbbe22fe7e79ad3eada716a569241def4e42cf7d910ba9837dfe05a31ce3f8ed2bdb SHA512 bf77cee4e483b36c8cc8cb176291f0170a1d611551246e27ddd91d9712e8750c9ee57863697e975065f6924c03fdfd636c5c7df29a620d37441b12dd0a1c597d
23
24 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.2.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.2.ebuild
25 new file mode 100644
26 index 000000000000..b467cab6a220
27 --- /dev/null
28 +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.2.ebuild
29 @@ -0,0 +1,67 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=poetry
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
41 +HOMEPAGE="
42 + https://github.com/AnalogJ/lexicon/
43 + https://pypi.org/project/dns-lexicon/
44 +"
45 +SRC_URI="
46 + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz
47 + -> ${P}.tar.gz
48 +"
49 +S="${WORKDIR}/lexicon-${PV}"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +RDEPEND="
56 + dev-python/beautifulsoup4[${PYTHON_USEDEP}]
57 + dev-python/cryptography[${PYTHON_USEDEP}]
58 + >=dev-python/importlib_metadata-4[${PYTHON_USEDEP}]
59 + dev-python/pyyaml[${PYTHON_USEDEP}]
60 + dev-python/requests[${PYTHON_USEDEP}]
61 + dev-python/tldextract[${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + test? (
65 + dev-python/boto3[${PYTHON_USEDEP}]
66 + dev-python/zeep[${PYTHON_USEDEP}]
67 + dev-python/vcrpy[${PYTHON_USEDEP}]
68 + )
69 +"
70 +
71 +distutils_enable_tests pytest
72 +
73 +EPYTEST_IGNORE=(
74 + # Requires the "localzone" module
75 + lexicon/tests/providers/test_localzone.py
76 + # Requires the "softlayer" module
77 + lexicon/tests/providers/test_softlayer.py
78 + # Requires the "transip" module
79 + lexicon/tests/providers/test_transip.py
80 + # Requires the "oci" module
81 + lexicon/tests/providers/test_oci.py
82 + # Uses tldextract which needs Internet access to download its database
83 + lexicon/tests/providers/test_auto.py
84 + # All recordings seem to be broken
85 + lexicon/tests/providers/test_namecheap.py
86 +)
87 +
88 +pkg_postinst() {
89 + if [[ -z ${REPLACING_VERSIONS} ]]; then
90 + optfeature_header \
91 + "Install the following packages to enable support for additional DNS providers:"
92 + optfeature Gransy dev-python/zeep
93 + optfeature Route53 dev-python/boto3
94 + optfeature DDNS dev-python/dnspython
95 + fi
96 +}