blob: c6fcf93434e21d4366a86b26310888b5a3b0a02b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
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
|