From c3190a16c0773fd2de65a6573727dd0d1475784f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 26 Jun 2022 12:43:37 +0200 Subject: dev-python/dnspython: Make DNSSEC support optional (cryptography dep) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Michael Orlitzky. Closes: https://bugs.gentoo.org/844058 Signed-off-by: Michał Górny --- dev-python/dnspython/dnspython-2.2.1-r1.ebuild | 52 ++++++++++++++++++++++++++ dev-python/dnspython/metadata.xml | 6 +++ 2 files changed, 58 insertions(+) create mode 100644 dev-python/dnspython/dnspython-2.2.1-r1.ebuild (limited to 'dev-python/dnspython') diff --git a/dev-python/dnspython/dnspython-2.2.1-r1.ebuild b/dev-python/dnspython/dnspython-2.2.1-r1.ebuild new file mode 100644 index 000000000000..8a85afa780bc --- /dev/null +++ b/dev-python/dnspython/dnspython-2.2.1-r1.ebuild @@ -0,0 +1,52 @@ +# 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..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE=" + https://www.dnspython.org/ + https://github.com/rthalley/dnspython/ + https://pypi.org/project/dnspython/ +" +SRC_URI=" + https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="dnssec examples" + +RDEPEND=" + dnssec? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + + + + Use dev-python/cryptography to enable low-level + DNSSEC RSA, DSA, ECDSA and EdDSA signature validation. + + dnspython -- cgit v1.2.3-65-gdbad