app-crypt/yubikey-manager: make app-crypt/ccid unconditional

Bug: https://bugs.gentoo.org/728704
Bug: https://bugs.gentoo.org/779427
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert 2021-07-29 17:59:08 +02:00
parent 51c054cee6
commit 1d3ad4049a
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
1 changed files with 7 additions and 9 deletions

View File

@ -1,12 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1 optfeature
inherit distutils-r1
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
@ -19,20 +19,18 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # Tests require non-existing package makefun
# app-crypt/ccid required for
# - 'ykman oath'
# - 'ykman openpgp'
# - 'ykman piv'
RDEPEND="
app-crypt/ccid
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/pyscard[${PYTHON_USEDEP}]"
python_install_all() {
distutils-r1_python_install_all
doman man/ykman.1
}
pkg_postinst() {
optfeature "'ykman oath'" app-crypt/ccid
optfeature "'ykman openpgp'" app-crypt/ccid
optfeature "'ykman piv'" app-crypt/ccid
}