1 |
commit: efe0ec4e3d3d2618a3546ba4ff30c307c4925477 |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 01:10:52 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 02:20:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe0ec4e |
7 |
|
8 |
app-crypt/yubikey-manager: bump to 2.1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
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-2.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 f9c90c330d1..2a06422f7d7 100644 |
19 |
--- a/app-crypt/yubikey-manager/Manifest |
20 |
+++ b/app-crypt/yubikey-manager/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST yubikey-manager-0.7.1-test-files.tar.xz 9756 BLAKE2B 5a2e2a2a58d04c8f9954c1 |
22 |
DIST yubikey-manager-0.7.1.tar.gz 71834 BLAKE2B 45b0366531c8a158b3d8ebcfa8b76d608c14dba02224d4e4962c3757446829e3dff5f5e0d0ceda67caab7c67ad0510e037770c58a50552c2c6971136cb75c806 SHA512 3e9105f1c033f9314b90cf209eb52f7879fa1ea69e9ae6dac8de0b24d7d2ff6e45b6dd530917535fa645d6eea461f5b4f23bb8deb103ffc27d1f3483cfa681c7 |
23 |
DIST yubikey-manager-1.0.0.tar.gz 90653 BLAKE2B 5d8522181ad460521995d3cae63976e06a444816a24efdc83b526d50262c902c8cc76b29d43f6f07725ee714666c853b690f1dd6fe98c9409f0cc1e722ada6f5 SHA512 9fd1926bf4e2c1278a42136a05db3e5fe0b7cb3d740f601fd0a420ab851badb61c2dd165157ac5b1f47e934f771b9d0b3cca4e07d1772d0f743556d482f77c11 |
24 |
DIST yubikey-manager-2.0.0.tar.gz 102078 BLAKE2B a2b8f90dabefb1014881cbe709222bf5cb48c9f409b415a8a2b27d7101c2da6189d0ebfe21a2701d10798c48c44e546659f9424ba6bf9257f7311abb0fc90b9b SHA512 42bebb88ba78bcce00a228109d0b4c815b3242ddbe43fd26c1209ba8666eb033ab77d5acd39a157e8310ce327de8d38bf88cfa0ffaed6273236b220c39e72e3b |
25 |
+DIST yubikey-manager-2.1.0.tar.gz 132797 BLAKE2B 39a170901dd10443f7cd639d1f525b12074ed042f606c083fe5b1bf04f463f608c4968c1e7f06dd057ff519a2a4bf712d36643e7db164ef92a3152ea5fb7ae15 SHA512 05cc1a106ffd2b40bc0a1286fa2f9c19f022bc7db04b85c9aaab3c67cad92a0c8ee4ba70f9b62ffa7f02ce67525a7d5f03bf9160b9bbe38909232cf75eb39373 |
26 |
|
27 |
diff --git a/app-crypt/yubikey-manager/yubikey-manager-2.1.0.ebuild b/app-crypt/yubikey-manager/yubikey-manager-2.1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..30b06435964 |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/yubikey-manager/yubikey-manager-2.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_{4,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" |
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[${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 |
+} |