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-qt/
Date: Tue, 17 Jul 2018 22:35:48
Message-Id: 1531866928.54a02cb18f981b52049c38db606ca35dd5986787.gokturk@gentoo
1 commit: 54a02cb18f981b52049c38db606ca35dd5986787
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 17 22:34:43 2018 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 17 22:35:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a02cb1
7
8 app-crypt/yubikey-manager-qt: bump to 0.5.2
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 app-crypt/yubikey-manager-qt/Manifest | 1 +
13 .../yubikey-manager-qt-0.5.2.ebuild | 56 ++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/app-crypt/yubikey-manager-qt/Manifest b/app-crypt/yubikey-manager-qt/Manifest
17 index 5a6a6b8388d..55b851d5443 100644
18 --- a/app-crypt/yubikey-manager-qt/Manifest
19 +++ b/app-crypt/yubikey-manager-qt/Manifest
20 @@ -1,2 +1,3 @@
21 DIST yubikey-manager-qt-0.4.0.tar.gz 183566 BLAKE2B 2364d0d257ab5c05d0555aba4bb01ee1639a2c3a42b47173ae905945a6265b123985ad7d8fe50b0cfd38a1a0a588f3e1424aa46585ddbf50337ce2456899067e SHA512 12cef9636f06a92fdb3fce7cea5b97af3255b9cdd1b4feb4e184999eb77c17e465db927f56cd0e443a8ce8afc27b7e4be19ed07da7c41259f909ac4e98971de2
22 DIST yubikey-manager-qt-0.5.1.tar 655360 BLAKE2B 6b109190750bd9675e32c836831a7e0ea286021303deffc64a351f2a127f5a5ee0190e3ca99abf0407bbb34a1a1c454f453fab464de2726f6cae539d5f865da1 SHA512 a8ceab5fd8d20eca2424d3f9a92ad12066e8fc26a7640df478965e5d9e2896fbc64885b26f599fcb2588f5b64d2f046af373f87e23ef266178ddf877e422ed36
23 +DIST yubikey-manager-qt-0.5.2.tar.gz 337194 BLAKE2B d6020116b9082671c039b521bbeebe7c1f0be022e233abbf8d6d788ea94e69e5f88aa3d6ec26a7b2edffa698327bb049e83ce54db2e0ba2ed1ad1dd536ab0961 SHA512 29265a10ae1dfe14dfdf4f1ba225516bf3bcbeb0115ca81696a4c5c506e957d6a99b0bb11a608e3175df99b8c04e8ae9250d5d42aab2b44b633d18fd2fc4c227
24
25 diff --git a/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.5.2.ebuild b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.5.2.ebuild
26 new file mode 100644
27 index 00000000000..5ef5ff7b249
28 --- /dev/null
29 +++ b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.5.2.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python3_{4,5,6} )
37 +
38 +inherit eutils qmake-utils python-single-r1
39 +
40 +DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
41 +HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
42 +SRC_URI="https://github.com/Yubico/yubikey-manager-qt/releases/download/${P}/${P}.tar.gz"
43 +
44 +LICENSE="BSD-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +
48 +DEPEND="
49 + >=app-crypt/yubikey-manager-0.7.0[${PYTHON_USEDEP}]
50 + <app-crypt/yubikey-manager-0.8
51 + dev-python/cryptography[${PYTHON_USEDEP}]
52 + dev-python/pyotherside[${PYTHON_USEDEP}]
53 + dev-qt/qtsingleapplication[qt5(+),X]
54 + dev-qt/qtdeclarative:5
55 + dev-qt/qtsvg:5
56 + dev-qt/qtquickcontrols:5[widgets]
57 + dev-qt/qtwidgets:5"
58 +RDEPEND="${DEPEND}"
59 +
60 +S="${WORKDIR}/"
61 +
62 +src_prepare() {
63 + default
64 +
65 + sed -i -e "s/ykman-cli//" ${PN}.pro || die
66 + sed -e "/qtsingleapplication.pri/d" \
67 + -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
68 + -i ykman-gui/ykman-gui.pro || die
69 +
70 + # See: https://github.com/Yubico/yubikey-manager-qt/issues/54
71 + echo "${PV}" > "${S}"/VERSION || die
72 +}
73 +
74 +src_configure() {
75 + eqmake5
76 +}
77 +
78 +src_install() {
79 + emake install INSTALL_ROOT="${D}"
80 +
81 + domenu resources/ykman-gui.desktop
82 + doicon -s 128 resources/icons/ykman.png
83 + doicon -s scalable resources/icons/ykman.svg
84 +
85 + einstalldocs
86 +}