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, 18 Jan 2022 09:52:02
Message-Id: 1642499495.7e13fb80b56ef7eb43c428b23146656dbbebe7f9.mgorny@gentoo
1 commit: 7e13fb80b56ef7eb43c428b23146656dbbebe7f9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 09:02:54 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 09:51:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e13fb80
7
8 dev-python/dns-lexicon: Bump to 3.9.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.9.2.ebuild | 57 +++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
17 index 59d2eee5bb47..fb22138c9790 100644
18 --- a/dev-python/dns-lexicon/Manifest
19 +++ b/dev-python/dns-lexicon/Manifest
20 @@ -2,3 +2,4 @@ DIST dns-lexicon-3.8.3.tar.gz 7834913 BLAKE2B a72b356d10d0af8367ce9d51d2c4d4a3a1
21 DIST dns-lexicon-3.8.4.tar.gz 7850337 BLAKE2B f72a338c00346091df2cf53fa01cbc34e81b235cb5100b4993ccf46f738e2588b08b7a57316c07c7eff1c039437e49371193c9952b6fd870f30a2c6b538d3e1e SHA512 7a598b38a847e384fda243b76af523701d80d84a2338ef5745ca9f82284675ace5f84bf93cccfeda101584194c15fdbd0d4d8f69fdd0db60ec42d4c063a7916c
22 DIST dns-lexicon-3.8.5.tar.gz 7850115 BLAKE2B 27dfb837385e370142d82bc682627fa96efc8a4868f9a5532ace608e2739afbecee82dcb531e9a4e0cdf9b2c68e639ae5c7ad1f4774e80f989c13eaa86c93d7a SHA512 e50fdb5c0b0d250babaff0a2d485f9112732a9e975cb853329dbcec33fe592e80a28c469b17cc0a5544909285805c1c20578b5e5f4b22ff6259b624be8c6acde
23 DIST dns-lexicon-3.9.0.tar.gz 7843652 BLAKE2B de6339c8f739d00aefca831adfccaed3914c0d9103e7dd5a175215761a27e29eca3c2e26c08239df2e6a34afbe7228013cab7123572c6481ed4e31fa2a20236d SHA512 4bc26018e0702345e86fa352eddff89358b34e878864e6273e89798cce81c4ef9e4ff06a1298481c8496237bb26d8d7c3286c82aac99117a49faa64ea329c307
24 +DIST dns-lexicon-3.9.2.tar.gz 7833249 BLAKE2B 48ea6da7f47f6de72bf1d11c1226e2e31001ffe08f45ed3b1b0ca42ea134076c0fe4025fa38c4eca9255ef7f4f005555b2dbfa0116680c4d112c2bc37e603090 SHA512 f4052e2837ee43ce8aaadc9e5adbb522f2a9035a5d1813b35c3bd84fb651e10a42594529328d12153d086f2b8d84bb35eb4af2425010df4e8784f4972de00027
25
26 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild
27 new file mode 100644
28 index 000000000000..4a9cd6344e71
29 --- /dev/null
30 +++ b/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=poetry
38 +PYTHON_COMPAT=( python3_{8..10} )
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 +}