commit: 63ef1b41d4b17d3972d8f638bf91312fa61fd299 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon May 16 06:52:41 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon May 16 07:55:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ef1b41
dev-python/dns-lexicon: Bump to 3.11.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/dns-lexicon/Manifest | 1 + dev-python/dns-lexicon/dns-lexicon-3.11.1.ebuild | 63 ++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 9b6e0de76263..316e3628957d 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,2 +1,3 @@ DIST dns-lexicon-3.10.0.tar.gz 8394918 BLAKE2B 26e7b7f95b1daf5cd66536993f350301574765f4568a9b3dda4d5e555a3a1ca6a329566f8f5a57ae209d26dd092c851ab524df0488b6ca4f81cdc94011458d88 SHA512 76ede1b55ad388b8d6726d531a4346db5972e79c434db529fa54838b0f40c909cb67a544f3e74e67311c981b8acd4766ec51c67452143989daa9be39176f940a DIST dns-lexicon-3.11.0.tar.gz 8467979 BLAKE2B f0ee1b5977d373ad911d71283f64a946269e725616c40f93b9160cccae8c5993f5bd6fa0c5b0616fbde4e91e06be846f1df020c03d19f37b73d59145f06530f5 SHA512 dcf231908ca2869c0e729b114632ce9f53c7b8d524ea072533403e2f8428d8fda9763a4c73e822a2034abd78f46897009127e9e653fb71e0bc712a72a80da075 +DIST dns-lexicon-3.11.1.tar.gz 8478920 BLAKE2B 6c437c678a2872a81f316ac064390e5ab6ac458b7fca199a3fe67152a46e87c82990cec0287651634f50e572691a778dfdcafd2aea4fd4d305dc223a8c327818 SHA512 3947e0de0733bb329b0d13b9aff59760ed7de9e34c320ed9de3a3c44ff8b813c78d54f31d0d9b5a97b4b57279adef432f8458f912cfae942437c3275df92fa7d diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.1.ebuild new file mode 100644 index 000000000000..bd75f1201713 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.1.ebuild @@ -0,0 +1,63 @@ +# 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://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/beautifulsoup4[${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 + # 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 +}