mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
app-crypt/yubikey-manager: add 5.2.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST yubikey_manager-5.1.1.tar.gz 167947 BLAKE2B 4f0b7a3ba3f083112c0a43c9b9304e7
|
||||
DIST yubikey_manager-5.1.1.tar.gz.sig 310 BLAKE2B 4f636b5eab0602ec203c8d3d5b6d1de85c7341559b09fc131a994c75b15cb141706ccc65a8efb39e33d5a3704496e85c08a67d105d45f5264644b993c2585f20 SHA512 e964e39a995de7bd24a3e417d5e98cf68cdcd6412b7c95b552545468bbb434105fad97bbf82d758c9320bf9917d32312e6e286e9259d004899af2cde540cc731
|
||||
DIST yubikey_manager-5.2.0.tar.gz 184873 BLAKE2B 09041c23e23ff01cad2d126face63006d1648dfe8d2e7a47b7113deed990143c83a36b6c60458dc9cbf55a71ddf286b8259c97ee982044dbc554231655fb82e2 SHA512 988c25f378e0ce5b53ba5a47aac5fd5a136653f1592af5e9c7440eef7336903cf459a567b4be02119262dba70c3058f5d9f26049dc21c1d934dcf8897eedc03d
|
||||
DIST yubikey_manager-5.2.0.tar.gz.sig 309 BLAKE2B bb1a012832c99aaa94404717560e72fb93352b82dd3c0091cb492cde65706c39b9e2411e38a36150d77e72f6397d98cef643d0b392c1751e9c109de3468c9a39 SHA512 926a7a7c40d38bcc0a48e3b44f3eb673c16f7bed73701f5cb6f9ac4418c9f2a242b8d2af9459093ec10e8c188410412a8ba8c05a0fd4774a738629a4b0f874d4
|
||||
DIST yubikey_manager-5.2.1.tar.gz 185533 BLAKE2B 7aa61043eb7f8a9502ee3c3aaea8d2cae63bde564aa8d2332570247959df966049b181bc1b3fa5749d1f66f21c2a2b10871cbe8e6a83c81ee67648957a2eb869 SHA512 96118f1b4e9509f9b299f8dfea2b29f7ac2958797facfae6bacb425fd4aa4cf5c91a14dcdbb9edbc9cf5785cfb9d5e4c465ad3e3813fd902cf12ad2d6b072329
|
||||
DIST yubikey_manager-5.2.1.tar.gz.sig 310 BLAKE2B 1338fd7f05766629790188e20d0dc71548941522ce02e0b3d0f7db0be6ee61655000aeb45b3a58c80d0cb891a13a816f4af2f145339d2fb09b9c6293a882bf86 SHA512 57a63bd272e61f93182fb26e1378d8e355efd91c2e2eede70744223fd47e02f4e210725ad31b1ce1bfdc81a67183159054a8238930ca4bdaec2aa7970b170f35
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 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 )"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="ssl"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/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-44[${PYTHON_USEDEP}]
|
||||
dev-python/fido2:0/1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/keyring-25[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyscard-2.0[${PYTHON_USEDEP}]
|
||||
ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="
|
||||
test? ( dev-python/makefun[${PYTHON_USEDEP}] )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman man/ykman.1
|
||||
}
|
||||
Reference in New Issue
Block a user