mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-07 21:55:04 +02:00
26 lines
689 B
Bash
26 lines
689 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Check cryptographic keys for known weaknesses"
|
|
HOMEPAGE="https://badkeys.info/"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="dkim ssh"
|
|
|
|
DEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
|
|
dev-python/gmpy2[${PYTHON_USEDEP}]"
|
|
RDEPEND="${DEPEND}
|
|
dkim? ( dev-python/dnspython[${PYTHON_USEDEP}] )
|
|
ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
|
|
# TODO: add optional binary-file-search dependency once
|
|
# it is packaged.
|
|
DOCS=( README.md )
|
|
|
|
distutils_enable_tests unittest
|