Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager/
Date: Thu, 29 Jul 2021 12:09:05
Message-Id: 1627560527.0d5d0d8bb02f98e5bd55a69b4a80e2a29b303e0f.soap@gentoo
1 commit: 0d5d0d8bb02f98e5bd55a69b4a80e2a29b303e0f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 29 12:08:47 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 29 12:08:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d5d0d8b
7
8 app-crypt/yubikey-manager: add 4.0.5
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 app-crypt/yubikey-manager/Manifest | 1 +
13 .../yubikey-manager/yubikey-manager-4.0.5.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest
17 index 78276c7fcc3..6e3c513aef9 100644
18 --- a/app-crypt/yubikey-manager/Manifest
19 +++ b/app-crypt/yubikey-manager/Manifest
20 @@ -1,2 +1,3 @@
21 DIST yubikey-manager-3.1.2.tar.gz 116728 BLAKE2B 35b592a26bbe1c2a1c81ddbc5fd5de2693b01dbadd04dd317baa14e5f9c5556ff8622bc36e31983947b4eed272be16d8ae1d55c6e30fe5532c20605c784411c5 SHA512 e7ad46536fae0476ae7ea4d7115ba9ddb0fe158fcd1e1d548524860b2033996f5487f9c948df85586d5b7ea690b51ad8d5b43261a56aa8820940226e0b18acaa
22 DIST yubikey-manager-4.0.0.tar.gz 137438 BLAKE2B df50113ed46c531032785ceb95ee130a2440f88677b088f70095545528cbceff55db483bc299654beb8d78b3cea94a9c8507751a090a8488cc609680167ec8d7 SHA512 f1684122a9ee8d57fa3644ecf140e39973c822dfcb7cc1d6578a2ef9b09ff9b0078e6e4ab3f0eb6522a08703d095027f9f24bc8ca6fff8b6874f7a9b5e99f1b2
23 +DIST yubikey-manager-4.0.5.tar.gz 142197 BLAKE2B c48a9c6ae5f2d54b24888b750c6263eb501e68be56beb9fb964e8b9ea5131a608786b2e67d0d092ebcfacb15b09cae3eec19f4271893ac77eba70eee28b6d06d SHA512 f8bddf3121c0c509fcacb56500f1c1885354aff5c00b3347d9ca84cdf1df65276ed744209d9653474909b6cba7595bc5529cd4b37ec34c35d2d2c3cf2ff850de
24
25 diff --git a/app-crypt/yubikey-manager/yubikey-manager-4.0.5.ebuild b/app-crypt/yubikey-manager/yubikey-manager-4.0.5.ebuild
26 new file mode 100644
27 index 00000000000..b5099ff320d
28 --- /dev/null
29 +++ b/app-crypt/yubikey-manager/yubikey-manager-4.0.5.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
38 +
39 +inherit distutils-r1 optfeature
40 +
41 +DESCRIPTION="Python library and command line tool for configuring a YubiKey"
42 +HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
43 +# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
44 +# the official source for tarballs, not Github
45 +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
46 +
47 +LICENSE="BSD-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +RESTRICT="test" # Tests require non-existing package makefun
51 +
52 +RDEPEND="
53 + dev-python/click[${PYTHON_USEDEP}]
54 + dev-python/cryptography[${PYTHON_USEDEP}]
55 + dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
56 + dev-python/pyopenssl[${PYTHON_USEDEP}]
57 + dev-python/pyscard[${PYTHON_USEDEP}]"
58 +
59 +python_install_all() {
60 + distutils-r1_python_install_all
61 + doman man/ykman.1
62 +}
63 +
64 +pkg_postinst() {
65 + optfeature "'ykman oath'" app-crypt/ccid
66 + optfeature "'ykman openpgp'" app-crypt/ccid
67 + optfeature "'ykman piv'" app-crypt/ccid
68 +}