diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 12:12:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 12:12:48 +0100 |
commit | b6323af2602e6a5cd4920d4af06b5c2f3949b9d0 (patch) | |
tree | 7d427f015930068f8d06e8f5aa622635ac3b61ca /dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild | |
parent | 4b61f038fc5ecca26609a997fcc662c7cf9e0498 (diff) |
gentoo auto-resync : 14:08:2023 - 12:12:48
Diffstat (limited to 'dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild')
-rw-r--r-- | dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild new file mode 100644 index 000000000000..0ad281cbc901 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +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-1.25[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py + # All recordings seem to be broken + tests/providers/test_namecheap.py + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + tests/providers/test_route53.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 +} |