app-crypt/yubikey-manager: add 5.8.0

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/43675
Closes: https://github.com/gentoo/gentoo/pull/43675
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein 2025-09-05 17:52:35 +02:00 committed by Sam James
parent c7983ed3a5
commit 1c7cd6ba96
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST yubikey_manager-5.7.2.tar.gz 222299 BLAKE2B 488b9d51135287c22ab15bf3a25d25f02f3ec203e2d36b8ad440f1c8e991b7208e471b0e651c963e02f17267fe21a7c553573cc22602dd84bc680d3a0bc9e993 SHA512 5b91c96e6e4383ae21d77235ee6012afa705b837d7af4678c40b18306c34bea5b904d0625040326181aaba1ecfee28e7a872941036899d430d7889d9022cbe76
DIST yubikey_manager-5.7.2.tar.gz.sig 310 BLAKE2B 95b1b99623808b713a15312211cd43bb96a4fb989a98250573617b02b694533bd4496a3e2f08ca194165b83ac847bc1b958421d2c3280c6b6551d5f34b2706b5 SHA512 941598b0e31e412f60f9ef6bbb56a64b51efd11f0a7502ce4c98033c698b1ae59d808af05a98440c1fe686d9bc06580894f55b87555903ada1774e6074063864
DIST yubikey_manager-5.8.0.tar.gz 228631 BLAKE2B c5506ce2fb23c1de517a0e6464bf10f6ee1146adb4501d380f8776677fe929ec9ae2aaca57c694811a4f8357b35326f673116833434ae8b23e30fe330b8528ff SHA512 8c22dd65e37d4bc78a16c62b24244f2cd180237354d4b325d2786614ef75651104eb92a0ad751f66af7812746669b397e4cab7ed41c9016cb73081f6740ca604
DIST yubikey_manager-5.8.0.tar.gz.sig 310 BLAKE2B ff54dd5238d7e3dfa4025e3497c29deee212b58a806bd9c95bf37e9a09ac958db394a208b1246fab3f1b0c1133e9dea59abe502e26fbf4717e4fb7e42e1b406c SHA512 5cd1611ac64203fa5127799449b4ec7194177b56307f403e03cc035a18bd0dba89bb662fd7b5eb783c6d5d35e501b43495e853f1424b6458ba28188ed0dc889d

View File

@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 verify-sig
MY_PN="${PN/-/_}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
# According to https://github.com/Yubico/yubikey-manager/issues/518 the release
# tarballs on Yubico Web site and on GitHub should be identical, and at least
# for recent releases the latter are signed as well. Only the automatically
# generated "Source code (tar.gz)" tarballs should not be used.
# Still, prefer the former if available.
SRC_URI="https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz
verify-sig? ( https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz.sig )"
S="${WORKDIR}"/${MY_P}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
# app-crypt/ccid required for
# - 'ykman oath'
# - 'ykman openpgp'
# - 'ykman piv'
RDEPEND="
app-crypt/ccid
>=dev-python/click-8.0[${PYTHON_USEDEP}]
<dev-python/cryptography-48[${PYTHON_USEDEP}]
>=dev-python/fido2-2.0.0:0/1.0[${PYTHON_USEDEP}]
dev-python/keyring[${PYTHON_USEDEP}]
>=dev-python/pyscard-2.0[${PYTHON_USEDEP}]"
BDEPEND="
test? ( dev-python/makefun[${PYTHON_USEDEP}] )
verify-sig? ( >=sec-keys/openpgp-keys-yubico-20250604 )"
distutils_enable_tests pytest
python_install_all() {
distutils-r1_python_install_all
doman man/ykman.1
}