Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager/
Date: Mon, 27 Feb 2023 12:45:25
Message-Id: 1677501904.356e8a5eca191508cf4983f89c704d49e65918d5.marecki@gentoo
1 commit: 356e8a5eca191508cf4983f89c704d49e65918d5
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 12:36:54 2023 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 12:45:04 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356e8a5e
7
8 app-crypt/yubikey-manager: enable py3.11
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 .../yubikey-manager-4.0.8-r2.ebuild | 42 ++++++++++++++++++++++
13 1 file changed, 42 insertions(+)
14
15 diff --git a/app-crypt/yubikey-manager/yubikey-manager-4.0.8-r2.ebuild b/app-crypt/yubikey-manager/yubikey-manager-4.0.8-r2.ebuild
16 new file mode 100644
17 index 000000000000..084f83c06212
18 --- /dev/null
19 +++ b/app-crypt/yubikey-manager/yubikey-manager-4.0.8-r2.ebuild
20 @@ -0,0 +1,42 @@
21 +# Copyright 1999-2023 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +PYTHON_COMPAT=( python3_{9..11} )
27 +DISTUTILS_USE_PEP517=poetry
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python library and command line tool for configuring a YubiKey"
32 +HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
33 +# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
34 +# the official source for tarballs, not Github
35 +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
36 +
37 +LICENSE="BSD-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
40 +IUSE="ssl"
41 +
42 +# app-crypt/ccid required for
43 +# - 'ykman oath'
44 +# - 'ykman openpgp'
45 +# - 'ykman piv'
46 +RDEPEND="
47 + app-crypt/ccid
48 + dev-python/click[${PYTHON_USEDEP}]
49 + dev-python/cryptography[${PYTHON_USEDEP}]
50 + dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
51 + dev-python/pyscard[${PYTHON_USEDEP}]
52 + ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
53 +BDEPEND="test? (
54 + dev-python/makefun[${PYTHON_USEDEP}]
55 +)"
56 +
57 +distutils_enable_tests pytest
58 +
59 +python_install_all() {
60 + distutils-r1_python_install_all
61 + doman man/ykman.1
62 +}