You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
5 years ago
|
|
||
4 years ago
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||
4 years ago
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||
5 years ago
|
inherit readme.gentoo-r1 distutils-r1
|
||
|
|
||
|
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||
|
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||
|
# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
|
||
|
# the official source for tarballs, not Github
|
||
|
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD-2"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
RESTRICT="test" # Tests require non-existing package makefun
|
||
5 years ago
|
|
||
|
RDEPEND="
|
||
|
dev-python/click[${PYTHON_USEDEP}]
|
||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||
4 years ago
|
dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
|
||
5 years ago
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||
|
dev-python/pyscard[${PYTHON_USEDEP}]
|
||
|
"
|
||
4 years ago
|
BDEPEND="
|
||
5 years ago
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
|
||
|
python_install_all() {
|
||
|
local DOC_CONTENTS
|
||
|
|
||
|
distutils-r1_python_install_all
|
||
|
|
||
|
DOC_CONTENTS="
|
||
|
The 'openpgp' command may require the package 'app-crypt/ccid'
|
||
|
to be installed on the system. Furthermore, make sure that pcscd
|
||
|
daemon is running and has correct access permissions to USB
|
||
|
devices.
|
||
|
"
|
||
|
readme.gentoo_create_doc
|
||
|
|
||
|
doman "${S}"/man/ykman.1
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
readme.gentoo_print_elog
|
||
|
}
|