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, 05 Oct 2021 08:27:37
Message-Id: 1633422444.e9c64624ba176b0971fce8fe8023a41149f25df4.mgorny@gentoo
1 commit: e9c64624ba176b0971fce8fe8023a41149f25df4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 5 07:20:04 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 5 08:27:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c64624
7
8 dev-python/dns-lexicon: Bump to 3.8.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.8.0.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 8815c8e6421..e04dc60945a 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.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
25 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.8.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.8.0.ebuild
26 new file mode 100644
27 index 00000000000..bf5ab2f7ce8
28 --- /dev/null
29 +++ b/dev-python/dns-lexicon/dns-lexicon-3.8.0.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 +}