app-crypt/yubikey-manager: add 5.7.0

Bug: https://bugs.gentoo.org/953840
Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com>
Part-of: https://github.com/gentoo/gentoo/pull/42329
Closes: https://github.com/gentoo/gentoo/pull/42329
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sebastian Hamann
2025-05-29 16:40:49 +02:00
committed by Sam James
parent fcb4416537
commit 9941ca3433
2 changed files with 53 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST yubikey_manager-5.5.1.tar.gz 215683 BLAKE2B c7c16d4eaaeff5894c4913a0da69675
DIST yubikey_manager-5.5.1.tar.gz.sig 310 BLAKE2B 9d5f3d18ccdde1a03a6433223677706164d559af2b270d636adb4074377deb774869d9c6d12af083388f7e907fa4b8e7b881ccd58981d2696ef017d8ec492dfe SHA512 0c436a608fe64236045019ba7db175a65f1e1d1d125049b968c484963abe138573fa31d1b8c942d9cdcaa06099029bd3c1d9057ae622e5c6358427188c454efd
DIST yubikey_manager-5.6.1.tar.gz 220053 BLAKE2B 1422bf44001eb33e29f2da20eba61bf85a75d3a0ddd0b0de09f35c2c8a51f11b1324cf3ada7436bba3a0c89dc1cec43878be7a2aa984806e80df399ff15b8f8b SHA512 4707c43645e4cb3bdcd40cb10bc24df6b89ef0415e62466618965c10831966183ef83c4abaa315c6d0659aa987ef0316876963d3660fbb0c3fe8f6fbe7b76c98
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

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-45[${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-20240628 )"
distutils_enable_tests pytest
python_install_all() {
distutils-r1_python_install_all
doman man/ykman.1
}