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