1 |
commit: c72a134492380ba017c64ce74a664eca1a03a0a6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 15 20:29:40 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 15 21:07:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72a1344 |
7 |
|
8 |
dev-python/dns-lexicon: Bump to 3.8.1 |
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.1.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 e04dc60945a..d3e0fae48c0 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.3.4.tar.gz 147008 BLAKE2B 14e0bbba48b8340ecb274c122363aef6490de539ea2c1ce7a4ba4ef19eaa69271ea22e28afd700dba0a1060b01211f8ac9a1081e21973f07abb9ca057638241c SHA512 274a1a4ffd1d767623723b6e9aee1e9f07022f3985cbc15f75cc410f477e1dcb7a674fa847119bdccab7332d058f77ef85771bd7bcdadbe2dd9483415a365a6d |
22 |
DIST dns-lexicon-3.7.0.tar.gz 7826689 BLAKE2B 920bfcd51642c12a0353dbc0ef8476c0def0c1fcf160757ce8ec47ce3516c1a2b203d2e07ef023b502b9a4e52d2fe91e9c0a73fa83337471e7669effc054a441 SHA512 aabfb2460bc2665b57552e6267846a0f2e508661dfdefbd22adca5833f32e8034198d1c3d5c33b2b89fb4a0cf0e9a84ec7d90426a6d8ba78acf2f2d0748c2d65 |
23 |
DIST dns-lexicon-3.8.0.tar.gz 7830220 BLAKE2B 3e4e2bb6cc557ff75a87e4f32c0e04dc51cdc5552e8c7e0a47e5927a250ff5b564369285e6699b31021a97ac86fe90a42bbfac310c310f97ff2f9499351d6988 SHA512 a730852550eefd3461fd07c441cea65add2f6c0757a09c7f868da4ccdcd7cd2f1cdca96a652d11eeadab5e6dadceaba1dafc5b1d753efc6c6ec7a2fa2a5f342a |
24 |
+DIST dns-lexicon-3.8.1.tar.gz 7832379 BLAKE2B 01049b6aaff661e24a39e70b5c04d5d4b18886ba88ccd61072736be5df99b9f880ed8a43b17f4fd9ad5c95ac1ec12d43a1b31ce69b115b7007cd1a95bacccfae SHA512 6826f1c3ceed43f207e4223a1f1ed231a7ada9c930fe61f76e353a20c979ec09dcc754dedc365d01870e74dfd36a3148582a5393dfe6733309e28e495fc495f9 |
25 |
|
26 |
diff --git a/dev-python/dns-lexicon/dns-lexicon-3.8.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.8.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bf5ab2f7ce8 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/dns-lexicon/dns-lexicon-3.8.1.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
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="https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/lexicon-${PV}" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}] |
53 |
+ dev-python/requests[${PYTHON_USEDEP}] |
54 |
+ dev-python/tldextract[${PYTHON_USEDEP}] |
55 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
56 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ dev-python/boto3[${PYTHON_USEDEP}] |
61 |
+ dev-python/zeep[${PYTHON_USEDEP}] |
62 |
+ dev-python/vcrpy[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+EPYTEST_IGNORE=( |
69 |
+ # Requires the "localzone" module |
70 |
+ lexicon/tests/providers/test_localzone.py |
71 |
+ # Requires the "softlayer" module |
72 |
+ lexicon/tests/providers/test_softlayer.py |
73 |
+ # Requires the "transip" module |
74 |
+ lexicon/tests/providers/test_transip.py |
75 |
+ # Requires the "oci" module |
76 |
+ lexicon/tests/providers/test_oci.py |
77 |
+ # Uses tldextract which needs Internet access to download its database |
78 |
+ lexicon/tests/providers/test_auto.py |
79 |
+) |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
83 |
+ optfeature_header \ |
84 |
+ "Install the following packages to enable support for additional DNS providers:" |
85 |
+ optfeature Gransy dev-python/zeep |
86 |
+ optfeature Route53 dev-python/boto3 |
87 |
+ optfeature DDNS dev-python/dnspython |
88 |
+ fi |
89 |
+} |