From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42C75158094 for ; Tue, 21 Jun 2022 17:32:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DC27E08A2; Tue, 21 Jun 2022 17:32:48 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 632DCE08A2 for ; Tue, 21 Jun 2022 17:32:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E9D9341542 for ; Tue, 21 Jun 2022 17:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9E243C3 for ; Tue, 21 Jun 2022 17:32:45 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1655832759.4948b991ef0f4865db6f770b06abb2419339ed5a.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dns-lexicon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dns-lexicon/Manifest dev-python/dns-lexicon/dns-lexicon-3.11.3.ebuild X-VCS-Directories: dev-python/dns-lexicon/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 4948b991ef0f4865db6f770b06abb2419339ed5a X-VCS-Branch: master Date: Tue, 21 Jun 2022 17:32:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e43d1fd0-80d7-4b92-a351-03d0b6c4e79e X-Archives-Hash: 77d5c792fa4cd2d56aee5f8120a92d1c commit: 4948b991ef0f4865db6f770b06abb2419339ed5a Author: Arthur Zamarin gentoo org> AuthorDate: Tue Jun 21 17:32:30 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Jun 21 17:32:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4948b991 dev-python/dns-lexicon: add 3.11.3 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/dns-lexicon/Manifest | 1 + dev-python/dns-lexicon/dns-lexicon-3.11.3.ebuild | 67 ++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 16c1de0ff4ee..bce796690d34 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1 +1,2 @@ DIST dns-lexicon-3.11.2.tar.gz 8479426 BLAKE2B aced03c62f809bbb22d2456da8d7a66c4b3cdfd47903a67cafd8a97cbc7cdbbe22fe7e79ad3eada716a569241def4e42cf7d910ba9837dfe05a31ce3f8ed2bdb SHA512 bf77cee4e483b36c8cc8cb176291f0170a1d611551246e27ddd91d9712e8750c9ee57863697e975065f6924c03fdfd636c5c7df29a620d37441b12dd0a1c597d +DIST dns-lexicon-3.11.3.gh.tar.gz 8442678 BLAKE2B 3898e572b409f19c6c3064046adbbbbfefe0ef287caceb2495972c946bdab0b4bb484330e3ae98afdc8d65cc849c11ed199e6c1eeeeb1296f09063124c166b91 SHA512 770a3c052ecc26fb3a27ac49b8f14132b69ea6ca9dfc93caea1ac66c4e6a458e6484b8a8ab921eea97761216fa34d8ad0d95964cdcff30a5713de7189c1e987d diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.3.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.3.ebuild new file mode 100644 index 000000000000..c6c99ff85a56 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/importlib_metadata-4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${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 + # All recordings seem to be broken + lexicon/tests/providers/test_namecheap.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 +}