Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager/
Date: Fri, 11 Oct 2019 20:50:49
Message-Id: 1570827006.f9f29b92305e671573b2bc81acb61706dcb97a7c.gokturk@gentoo
1 commit: f9f29b92305e671573b2bc81acb61706dcb97a7c
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 11 18:12:24 2019 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 20:50:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f29b92
7
8 app-crypt/yubikey-manager: bump to 3.1.0
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
12
13 app-crypt/yubikey-manager/Manifest | 1 +
14 .../yubikey-manager/yubikey-manager-3.1.0.ebuild | 61 ++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest
18 index 882365d1aaf..2d517fd3069 100644
19 --- a/app-crypt/yubikey-manager/Manifest
20 +++ b/app-crypt/yubikey-manager/Manifest
21 @@ -1,3 +1,4 @@
22 DIST yubikey-manager-2.0.0.tar.gz 102078 BLAKE2B a2b8f90dabefb1014881cbe709222bf5cb48c9f409b415a8a2b27d7101c2da6189d0ebfe21a2701d10798c48c44e546659f9424ba6bf9257f7311abb0fc90b9b SHA512 42bebb88ba78bcce00a228109d0b4c815b3242ddbe43fd26c1209ba8666eb033ab77d5acd39a157e8310ce327de8d38bf88cfa0ffaed6273236b220c39e72e3b
23 DIST yubikey-manager-2.1.1.tar.gz 101672 BLAKE2B baafce3850c0cbed842508c93ec4ad71e0eebbd0dcc61833b245b6c62f74b7215519cb8b1ec82df3be8c7677ec24447193a0121e0a63e67615453c2c6032fc0a SHA512 2c5990d9421acf93113347e9b9d33af893765ae9c5d9e6c9c4f2db1274b84cd839c15ae74327bdcbe9ec32ebdbcbed95b172b8b13ac00bbeb17eb06b6dd71ccd
24 DIST yubikey-manager-3.0.0.tar.gz 138225 BLAKE2B 8506f7cc4d6579c1905d565d5d32a7e745389000ff67786e5b5e6bc54793230321e5f0f4840c625cae0a4d9d2893b75910bebb3207cfc75189d3a4876838a712 SHA512 47ae785356c256f31e118f2df483d3a0d7fb7b5b380fd7cd207334daaa47319855bde41931099f9acb6b310d4ba824540ab5d3008384fd4d6a373da7355b18eb
25 +DIST yubikey-manager-3.1.0.tar.gz 115010 BLAKE2B 1b27b9af7f3adac87a1bca58929bffef2ae397b359f70580a07193d2bd2f8cd4d2d867053f6494f1e262668443388d79dfe3775f2c3d0a5528840df8826cdf91 SHA512 518eedb52cfcf725c13114c433f848b97f711e94fa9c71685916fb8cb20e5bfc431f648b0ec710ef9ebed2bc8ddd8722ca1c9865d7a1b29537b719e167ed5f60
26
27 diff --git a/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild b/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild
28 new file mode 100644
29 index 00000000000..cf74d5ba3a6
30 --- /dev/null
31 +++ b/app-crypt/yubikey-manager/yubikey-manager-3.1.0.ebuild
32 @@ -0,0 +1,61 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python{2_7,3_{5,6}} )
39 +inherit readme.gentoo-r1 distutils-r1
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 +IUSE="test"
51 +
52 +RDEPEND="
53 + dev-python/click[${PYTHON_USEDEP}]
54 + dev-python/cryptography[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
56 + >=dev-python/fido2-0.7.0[${PYTHON_USEDEP}]
57 + dev-python/pyopenssl[${PYTHON_USEDEP}]
58 + dev-python/pyscard[${PYTHON_USEDEP}]
59 + dev-python/pyusb[${PYTHON_USEDEP}]
60 + dev-python/six[${PYTHON_USEDEP}]
61 + >=sys-auth/ykpers-1.19.0
62 +"
63 +DEPEND="
64 + dev-python/setuptools[${PYTHON_USEDEP}]
65 + test? (
66 + ${RDEPEND}
67 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7')
68 + )
69 +"
70 +
71 +python_test() {
72 + esetup.py test
73 +}
74 +
75 +python_install_all() {
76 + local DOC_CONTENTS
77 +
78 + distutils-r1_python_install_all
79 +
80 + DOC_CONTENTS="
81 + The 'openpgp' command may require the package 'app-crypt/ccid'
82 + to be installed on the system. Furthermore, make sure that pcscd
83 + daemon is running and has correct access permissions to USB
84 + devices.
85 + "
86 + readme.gentoo_create_doc
87 +
88 + doman "${S}"/man/ykman.1
89 +}
90 +
91 +pkg_postinst() {
92 + readme.gentoo_print_elog
93 +}