commit:     b1a79a0d769f1090c88ee91d60a9b41392241fb6
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Mar 18 23:03:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 15:20:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a79a0d

app-crypt/yubikey-manager: add 5.6.1

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/41069
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/yubikey-manager/Manifest                 |  2 +
 .../yubikey-manager/yubikey-manager-5.6.1.ebuild   | 51 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/app-crypt/yubikey-manager/Manifest 
b/app-crypt/yubikey-manager/Manifest
index c27f3efe94e5..4562fc93ac11 100644
--- a/app-crypt/yubikey-manager/Manifest
+++ b/app-crypt/yubikey-manager/Manifest
@@ -1,2 +1,4 @@
 DIST yubikey_manager-5.5.1.tar.gz 215683 BLAKE2B 
c7c16d4eaaeff5894c4913a0da69675491434f0f48555addbb8778e0f9781c6872c4392ec81f4a142f2e1eb63bea837e394b5d33e07f497c948ead92ee89059a
 SHA512 
67e2e5a5833f746441d91684a5b0889bd9b9b46aeaee0da875c7e6dac46db619a8436e12bd77c38e525121db8fc52736071bc141ac80c6d79e64919e100510f9
 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

diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.6.1.ebuild 
b/app-crypt/yubikey-manager/yubikey-manager-5.6.1.ebuild
new file mode 100644
index 000000000000..d46d55637cf8
--- /dev/null
+++ b/app-crypt/yubikey-manager/yubikey-manager-5.6.1.ebuild
@@ -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..12} )
+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
+}

Reply via email to