summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-09-15 16:15:24 +0200
committerMarek Szuba <marecki@gentoo.org>2021-09-15 16:16:21 +0200
commite240f31e34f3678811adadb9b90cd25c08cae06d (patch)
treefdddd3ba6fcdad708acdf7e6f9089f4140f33603 /app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild
parentmail-mta/protonmail-bridge: add 1.8.9 (diff)
downloadgentoo-e240f31e34f3678811adadb9b90cd25c08cae06d.tar.gz
gentoo-e240f31e34f3678811adadb9b90cd25c08cae06d.tar.bz2
gentoo-e240f31e34f3678811adadb9b90cd25c08cae06d.zip
app-crypt/yubikey-manager: add 4.0.7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild')
-rw-r--r--app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild b/app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild
new file mode 100644
index 00000000000..6409b45b5cd
--- /dev/null
+++ b/app-crypt/yubikey-manager/yubikey-manager-4.0.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+
+inherit 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"
+KEYWORDS="~amd64 ~riscv ~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/pyscard[${PYTHON_USEDEP}]"
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman man/ykman.1
+}