diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-01-20 10:16:04 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-01-20 10:16:04 +0000 |
commit | 413b509ea62225641e9089b089773565cbf6a9c0 (patch) | |
tree | b442278f3dccf3ef7b875f2f961ee5583276642b | |
parent | x11-misc/lightdm: tell the users experiencing the "X not started on a Nvidia ... (diff) | |
download | gentoo-413b509ea62225641e9089b089773565cbf6a9c0.tar.gz gentoo-413b509ea62225641e9089b089773565cbf6a9c0.tar.bz2 gentoo-413b509ea62225641e9089b089773565cbf6a9c0.zip |
app-crypt/yubikey-manager: add 5.0.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r-- | app-crypt/yubikey-manager/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/yubikey-manager/yubikey-manager-5.0.1.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest index f6a15a7b4e75..45abb719baab 100644 --- a/app-crypt/yubikey-manager/Manifest +++ b/app-crypt/yubikey-manager/Manifest @@ -1,3 +1,5 @@ DIST yubikey-manager-4.0.8.tar.gz 147076 BLAKE2B efdefb15c3939bfb2171766aec195fb776668894d4439565840587d14387999e052aee6eb225b9332662f1ebdbf1db24fceb606393e23d591ff61b91c1ee96f5 SHA512 87352bbb133eead48d1588df2db5420687278a9f76ceb283a53af8eab3d29e30c86e01a588a6da2884e6dac6af192ad355a28745f2f8505ef6cd0e96dea3e9c7 DIST yubikey_manager-5.0.0.tar.gz 158461 BLAKE2B 622c01883efcaa3db27e8ef9e52e2b4e941e627ae144b753b1b161ada5766578320b6bf748fb71c97c3ac9f2cd96993f6180d8e40563ac423df21a333dc3b06e SHA512 b529ab33712ebf2e88509dbceb19e4582e6a5b00890a0660f9409e3f8e4475ba1842fc1edcb515a1ca766b0e57b3ea323a19d8cd155c914d16cf67cfc693dfed DIST yubikey_manager-5.0.0.tar.gz.sig 310 BLAKE2B 9f561511320dca89c2d757e079ad7b22b783006214d538e03ee5721540a03f528dc8098922e2df191d013b3038e664e05eb12d017f130995c345aec613b7bd48 SHA512 98d13154863441b3d3b5e2a75806db3aed1a489635d4257e4249ded4eb393042c8371ce9ccb66ed35b9015c5f7baec36ceae07a64a48d2a12c3971e395de0173 +DIST yubikey_manager-5.0.1.tar.gz 158829 BLAKE2B 082b7405a6b8049c0086126c8287ab66f5028b121da4aeae81939683ed65cef1a7c59bf545b5e768b18643bd6c0ee759b2897673870344d8f7ab5217413c1a0d SHA512 2e798f8475e52c9091f5cd6ebbd5937eb3f14c49e9c2c9c7eda09c095ac3a1c80065e14f8e9c827c1eee8914ce3c3e21dbb2820a6ac8cefed1306d409cc6a0fc +DIST yubikey_manager-5.0.1.tar.gz.sig 310 BLAKE2B c12b2c6f09be26a3df394cc296fbe28db560f31864a5b46d18021d672947c0d929b56be5cd10fd0347e4bcdeb988a242780b58565eb64163b125752756e5dda1 SHA512 876c47c2b22efd58f801f3bf7110c1896f425090d2454db4eb8214442b5a909b75f6fcf8e581c97806e488bfc6fb306e92274ce1b29be9e3240813944155478f diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.0.1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.0.1.ebuild new file mode 100644 index 000000000000..6c36e5475a03 --- /dev/null +++ b/app-crypt/yubikey-manager/yubikey-manager-5.0.1.ebuild @@ -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_{9..11} ) +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[${PYTHON_USEDEP}] + <dev-python/cryptography-42[${PYTHON_USEDEP}] + dev-python/fido2:0/1.0[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/pyscard[${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 +} |