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: Sat, 07 May 2022 09:35:09
Message-Id: 1651916021.540ea4bfb7a67552198e56170e0fbcaca5f89d26.mgorny@gentoo
1 commit: 540ea4bfb7a67552198e56170e0fbcaca5f89d26
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 07:54:58 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 09:33:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=540ea4bf
7
8 dev-python/dns-lexicon: Bump to 3.11.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.11.0.ebuild | 63 ++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
17 index aed724407025..9b6e0de76263 100644
18 --- a/dev-python/dns-lexicon/Manifest
19 +++ b/dev-python/dns-lexicon/Manifest
20 @@ -1 +1,2 @@
21 DIST dns-lexicon-3.10.0.tar.gz 8394918 BLAKE2B 26e7b7f95b1daf5cd66536993f350301574765f4568a9b3dda4d5e555a3a1ca6a329566f8f5a57ae209d26dd092c851ab524df0488b6ca4f81cdc94011458d88 SHA512 76ede1b55ad388b8d6726d531a4346db5972e79c434db529fa54838b0f40c909cb67a544f3e74e67311c981b8acd4766ec51c67452143989daa9be39176f940a
22 +DIST dns-lexicon-3.11.0.tar.gz 8467979 BLAKE2B f0ee1b5977d373ad911d71283f64a946269e725616c40f93b9160cccae8c5993f5bd6fa0c5b0616fbde4e91e06be846f1df020c03d19f37b73d59145f06530f5 SHA512 dcf231908ca2869c0e729b114632ce9f53c7b8d524ea072533403e2f8428d8fda9763a4c73e822a2034abd78f46897009127e9e653fb71e0bc712a72a80da075
23
24 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.0.ebuild
25 new file mode 100644
26 index 000000000000..bd75f1201713
27 --- /dev/null
28 +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.0.ebuild
29 @@ -0,0 +1,63 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=poetry
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
41 +HOMEPAGE="https://pypi.org/project/dns-lexicon/"
42 +SRC_URI="
43 + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz
44 + -> ${P}.tar.gz
45 +"
46 +S="${WORKDIR}/lexicon-${PV}"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +RDEPEND="
53 + dev-python/beautifulsoup4[${PYTHON_USEDEP}]
54 + dev-python/requests[${PYTHON_USEDEP}]
55 + dev-python/tldextract[${PYTHON_USEDEP}]
56 + dev-python/cryptography[${PYTHON_USEDEP}]
57 + dev-python/pyyaml[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + test? (
61 + dev-python/boto3[${PYTHON_USEDEP}]
62 + dev-python/zeep[${PYTHON_USEDEP}]
63 + dev-python/vcrpy[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68 +
69 +EPYTEST_IGNORE=(
70 + # Requires the "localzone" module
71 + lexicon/tests/providers/test_localzone.py
72 + # Requires the "softlayer" module
73 + lexicon/tests/providers/test_softlayer.py
74 + # Requires the "transip" module
75 + lexicon/tests/providers/test_transip.py
76 + # Requires the "oci" module
77 + lexicon/tests/providers/test_oci.py
78 + # Uses tldextract which needs Internet access to download its database
79 + lexicon/tests/providers/test_auto.py
80 + # All recordings seem to be broken
81 + lexicon/tests/providers/test_namecheap.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 +}