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: Wed, 29 Dec 2021 23:15:07
Message-Id: 1640819692.fb86535ff8749156e9e9927d0f43f14da738ffbd.mgorny@gentoo
1 commit: fb86535ff8749156e9e9927d0f43f14da738ffbd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 29 22:35:33 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 23:14:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb86535f
7
8 dev-python/dns-lexicon: Bump to 3.8.5
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.8.5.ebuild | 58 +++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
17 index 3d984d62690c..bed68b5cb48b 100644
18 --- a/dev-python/dns-lexicon/Manifest
19 +++ b/dev-python/dns-lexicon/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dns-lexicon-3.8.3.tar.gz 7834913 BLAKE2B a72b356d10d0af8367ce9d51d2c4d4a3a1cc8aa26d5edfa2cb1aca4b2eb67acdcadc46f46d5457430708f94fda9654a87ded76fa796c44a4b4e2a0d4f3accd13 SHA512 3035e9c5d073feb0dd910b79d8de02f2e9bfc81f922bce34ad33c22b583896a781e50f85104799a13133121ab5e88a372667cf0014399df50c5a829747d98073
22 DIST dns-lexicon-3.8.4.tar.gz 7850337 BLAKE2B f72a338c00346091df2cf53fa01cbc34e81b235cb5100b4993ccf46f738e2588b08b7a57316c07c7eff1c039437e49371193c9952b6fd870f30a2c6b538d3e1e SHA512 7a598b38a847e384fda243b76af523701d80d84a2338ef5745ca9f82284675ace5f84bf93cccfeda101584194c15fdbd0d4d8f69fdd0db60ec42d4c063a7916c
23 +DIST dns-lexicon-3.8.5.tar.gz 7850115 BLAKE2B 27dfb837385e370142d82bc682627fa96efc8a4868f9a5532ace608e2739afbecee82dcb531e9a4e0cdf9b2c68e639ae5c7ad1f4774e80f989c13eaa86c93d7a SHA512 e50fdb5c0b0d250babaff0a2d485f9112732a9e975cb853329dbcec33fe592e80a28c469b17cc0a5544909285805c1c20578b5e5f4b22ff6259b624be8c6acde
24
25 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.8.5.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.8.5.ebuild
26 new file mode 100644
27 index 000000000000..bf5ab2f7ce8d
28 --- /dev/null
29 +++ b/dev-python/dns-lexicon/dns-lexicon-3.8.5.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
38 +
39 +inherit distutils-r1 optfeature
40 +
41 +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
42 +HOMEPAGE="https://pypi.org/project/dns-lexicon/"
43 +SRC_URI="https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +S="${WORKDIR}/lexicon-${PV}"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND="
51 + dev-python/beautifulsoup4[${PYTHON_USEDEP}]
52 + dev-python/requests[${PYTHON_USEDEP}]
53 + dev-python/tldextract[${PYTHON_USEDEP}]
54 + dev-python/cryptography[${PYTHON_USEDEP}]
55 + dev-python/pyyaml[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + test? (
59 + dev-python/boto3[${PYTHON_USEDEP}]
60 + dev-python/zeep[${PYTHON_USEDEP}]
61 + dev-python/vcrpy[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +
67 +EPYTEST_IGNORE=(
68 + # Requires the "localzone" module
69 + lexicon/tests/providers/test_localzone.py
70 + # Requires the "softlayer" module
71 + lexicon/tests/providers/test_softlayer.py
72 + # Requires the "transip" module
73 + lexicon/tests/providers/test_transip.py
74 + # Requires the "oci" module
75 + lexicon/tests/providers/test_oci.py
76 + # Uses tldextract which needs Internet access to download its database
77 + lexicon/tests/providers/test_auto.py
78 +)
79 +
80 +pkg_postinst() {
81 + if [[ -z ${REPLACING_VERSIONS} ]]; then
82 + optfeature_header \
83 + "Install the following packages to enable support for additional DNS providers:"
84 + optfeature Gransy dev-python/zeep
85 + optfeature Route53 dev-python/boto3
86 + optfeature DDNS dev-python/dnspython
87 + fi
88 +}