app-crypt/yubikey-manager: add 5.7.2

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/42569
Closes: https://github.com/gentoo/gentoo/pull/42569
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2025-06-12 21:08:44 +02:00
committed by Sam James
parent d6d1867f32
commit 4be90613cf
2 changed files with 53 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST yubikey_manager-5.6.1.tar.gz 220053 BLAKE2B 1422bf44001eb33e29f2da20eba61bf
DIST yubikey_manager-5.6.1.tar.gz.sig 310 BLAKE2B 66ceeeb84de616b119fe0bd4294cb4feb9021132ddaab67c32a5009a8f6d1563e5282f97a69b5d4702a93b690253c36b01d10a490642a15eed5683017622d457 SHA512 c817d913f8503d12bb581f776a4303558bc5fd757b6260c0e888b9dbfff265593c672f07f9da7eff3929ae2ba04ff5017af17d5697d2391861179788359b41dd
DIST yubikey_manager-5.7.0.tar.gz 221981 BLAKE2B 74d0909d42661ef527b22cfdab0f6334259af3184cce64e13c4ebe28b33ec5fae44daf43452031a637ff4e15597fdd9a48ba0b9d91e93ce394e6a91d0108fe0c SHA512 ef64a8fbfb4ce18a9d86a3f82fdcf29875ea2a686a0856cc841f14da0aae7f1ef3a982297f4a0ef9413a1fecaeee5f6b3543e976aff4f6e740979f19bc95e786
DIST yubikey_manager-5.7.0.tar.gz.sig 310 BLAKE2B 880ea4f7d1aec206483fe5c676aa738d9ffbd5b1c71d6abd1c5c1c394f19fba685642b3a75ffaf6c66b92acf8d83314b710de379a2706b8ffc4afd33f2b51c1c SHA512 e82480f754c887d8f66a73c293e2f441780873fdbeb5844981701d15d377943a22b13dad470b27e060de546f04c499ffe104c35943293117286dcebe4c8a5e8a
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

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_{10..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: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
}