public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dns-lexicon/
Date: Sun, 15 Aug 2021 17:03:12 +0000 (UTC)	[thread overview]
Message-ID: <1629046947.d4917fff31be4f3f9a584fdd0eeb8df98cfb878f.sbraz@gentoo> (raw)

commit:     d4917fff31be4f3f9a584fdd0eeb8df98cfb878f
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 15 16:52:49 2021 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 17:02:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4917fff

dev-python/dns-lexicon: add 3.7.0, enable py3.10 and tests

Also:
* This version no longer requires "future" (bug #768837).
* Advertise optional features on postinst.

Closes: https://bugs.gentoo.org/768837
Closes: https://bugs.gentoo.org/777465
Closes: https://bugs.gentoo.org/795549
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/dns-lexicon/Manifest                 |  1 +
 dev-python/dns-lexicon/dns-lexicon-3.7.0.ebuild | 59 +++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
index a2fdda2ecfd..8815c8e6421 100644
--- a/dev-python/dns-lexicon/Manifest
+++ b/dev-python/dns-lexicon/Manifest
@@ -1 +1,2 @@
 DIST dns-lexicon-3.3.4.tar.gz 147008 BLAKE2B 14e0bbba48b8340ecb274c122363aef6490de539ea2c1ce7a4ba4ef19eaa69271ea22e28afd700dba0a1060b01211f8ac9a1081e21973f07abb9ca057638241c SHA512 274a1a4ffd1d767623723b6e9aee1e9f07022f3985cbc15f75cc410f477e1dcb7a674fa847119bdccab7332d058f77ef85771bd7bcdadbe2dd9483415a365a6d
+DIST dns-lexicon-3.7.0.tar.gz 7826689 BLAKE2B 920bfcd51642c12a0353dbc0ef8476c0def0c1fcf160757ce8ec47ce3516c1a2b203d2e07ef023b502b9a4e52d2fe91e9c0a73fa83337471e7669effc054a441 SHA512 aabfb2460bc2665b57552e6267846a0f2e508661dfdefbd22adca5833f32e8034198d1c3d5c33b2b89fb4a0cf0e9a84ec7d90426a6d8ba78acf2f2d0748c2d65

diff --git a/dev-python/dns-lexicon/dns-lexicon-3.7.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.7.0.ebuild
new file mode 100644
index 00000000000..72b25fc4130
--- /dev/null
+++ b/dev-python/dns-lexicon/dns-lexicon-3.7.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
+HOMEPAGE="https://pypi.org/project/dns-lexicon/"
+SRC_URI="https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/lexicon-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-python/beautifulsoup[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+	dev-python/tldextract[${PYTHON_USEDEP}]
+	dev-python/cryptography[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/boto3[${PYTHON_USEDEP}]
+		dev-python/zeep[${PYTHON_USEDEP}]
+		dev-python/vcrpy[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+	# Requires the "localzone" module
+	lexicon/tests/providers/test_localzone.py
+	# Requires the "softlayer" module
+	lexicon/tests/providers/test_softlayer.py
+	# Requires the "transip" module
+	lexicon/tests/providers/test_transip.py
+	# Requires the "oci" module
+	lexicon/tests/providers/test_oci.py
+	# Uses tldextract which needs Internet access to download its database
+	lexicon/tests/providers/test_auto.py
+)
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		optfeature_header \
+			"Install the following packages to enable support for additional DNS providers:"
+		optfeature Gransy dev-python/zeep
+		optfeature Route53 dev-python/boto3
+		optfeature DDNS dev-python/dnspython
+	fi
+}


             reply	other threads:[~2021-08-16 20:48 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15 17:03 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-17 11:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/dns-lexicon/ Arthur Zamarin
2025-05-10  5:43 Joonas Niilola
2025-04-29  4:36 Michał Górny
2025-04-29  4:36 Michał Górny
2025-04-23 12:13 Sam James
2025-04-09  7:40 Michał Górny
2025-03-11 20:20 Arthur Zamarin
2025-03-11 20:20 Arthur Zamarin
2025-03-10 12:46 Jakov Smolić
2025-03-10  0:46 Sam James
2024-12-20  8:23 Michał Górny
2024-12-14 13:57 Arthur Zamarin
2024-12-13  6:15 Michał Górny
2024-12-07  6:33 Michał Górny
2024-08-23  4:57 Michał Górny
2024-07-06 19:35 Michał Górny
2023-12-30 18:28 Michał Górny
2023-11-07  5:58 Michał Górny
2023-11-07  5:58 Michał Górny
2023-10-22  8:50 Michał Górny
2023-10-19  4:00 Michał Górny
2023-10-15  3:26 Michał Górny
2023-10-13 15:49 Michał Górny
2023-10-01  3:22 Michał Górny
2023-08-14  6:26 Michał Górny
2023-08-08  5:31 Michał Górny
2023-07-24 11:31 Michał Górny
2023-06-20  8:49 Michał Górny
2023-06-12 14:59 Michał Górny
2023-06-12 14:59 Michał Górny
2023-02-17 11:04 Michał Górny
2023-01-10 14:42 Michał Górny
2022-11-14  4:36 Michał Górny
2022-10-26 18:42 Arthur Zamarin
2022-10-12 11:18 Michał Górny
2022-10-11 12:24 Michał Górny
2022-10-11 12:24 Michał Górny
2022-08-12 10:35 Arthur Zamarin
2022-06-21 17:32 Arthur Zamarin
2022-06-16  8:05 Michał Górny
2022-05-17  6:54 Michał Górny
2022-05-16 13:18 Michał Górny
2022-05-16  7:56 Michał Górny
2022-05-07  9:35 Michał Górny
2022-05-07  9:35 Michał Górny
2022-05-01 13:42 Michał Górny
2022-04-20  7:47 Michał Górny
2022-02-15  9:05 Michał Górny
2022-01-18  9:51 Michał Górny
2022-01-07 16:49 Arthur Zamarin
2021-12-29 23:14 Michał Górny
2021-12-29  8:30 Michał Górny
2021-11-14  8:46 Michał Górny
2021-11-13  9:37 Michał Górny
2021-11-04  8:16 Michał Górny
2021-10-17  7:41 Michał Górny
2021-10-15 21:07 Michał Górny
2021-10-05  8:27 Michał Górny
2021-08-15 23:05 Louis Sautier
2021-08-12 22:52 Louis Sautier
2020-12-02 23:13 Aaron Bauman
2020-03-26 20:52 Michał Górny
2020-02-05  5:50 Michał Górny
2019-10-13 13:15 罗百科
2019-10-13 13:15 罗百科

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629046947.d4917fff31be4f3f9a584fdd0eeb8df98cfb878f.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox