1 |
commit: 75ffbb5538024b0c7c2b72343dd4f2340b67f9f4 |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 25 21:45:34 2017 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 25 21:45:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ffbb55 |
7 |
|
8 |
app-admin/lastpass-cli: bump to 1.2.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.2 |
11 |
|
12 |
app-admin/lastpass-cli/Manifest | 1 + |
13 |
app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild | 57 ++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest |
17 |
index a472cefc4c6..c53c75f71d9 100644 |
18 |
--- a/app-admin/lastpass-cli/Manifest |
19 |
+++ b/app-admin/lastpass-cli/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST lastpass-cli-1.0.0.tar.gz 92311 SHA256 42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e SHA512 4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 WHIRLPOOL 394bfb597f5262dd1e47c7a3c48ef093b398f90c6dcacac6b172bb008891c76faf448ecf6be0ebfa277d18d335b166b7efadc063acc57ce88274004d1734bf21 |
22 |
DIST lastpass-cli-1.1.2.tar.gz 102796 SHA256 bc737d8e6d713c8aecdfb7f34b29aa9a8ae9b1e9ba80b31059686b18591a8c39 SHA512 8115cb07cfca15ef402bdbd8ce943352e1534ddb781274e21cb0fafa4bcd9ab7abe4ddba57c4ebbce326f09cc9249f244607d16cac5597e61cf21c73417e7d9c WHIRLPOOL c7e6a4d5ac9b8c52f53e081b367289b390704fa4dfbf13a9ea0086e4ca0d49f9ef5a39f9ea854387ffb66fbd18f9b5263d17ae6573c4286fb7a36ebdce724d7f |
23 |
DIST lastpass-cli-1.2.1.tar.gz 108780 SHA256 1a49a37a67a973296e218306e6d36c9383347b1833e5a878ebc08355b1c77456 SHA512 c7c9f20dbc083873b815834320828a30a1c488571efbfc5aea47c3bd2073819d713810c785855d4c0c208e1b95aa0e5fc550a0b6b5c0f787eca1f54589e18e62 WHIRLPOOL c74988f37c96d065c0fea58c946c3aa3f4925d889247247b89ffe25012077d8eb3c694a3d539a40cf3f2be1fdd195b6ef6c1ef2d429587cc18fb8a8db8fb8a93 |
24 |
+DIST lastpass-cli-1.2.2.tar.gz 110045 SHA256 26c93ae610932139dacaff2e0f916c5628def48bb4129b4099101cf4e6c7c499 SHA512 7d211c7669fe2de3e3f34cf00025376fd39a7f96c8573a0eaff64f322daab03de21e25d5875d3286a794580ac75d330c7bfe1005b377afc2b13e4ded9d78012c WHIRLPOOL 0b3060e180b590999d3b3265140e8b060e017ae453fed74fe91c2f8d728a71ffcfac05e94b1eddb8575e9c6949b53364d0bfe037a9ae256a2a1c1e971ba1d12e |
25 |
|
26 |
diff --git a/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2822408086a |
29 |
--- /dev/null |
30 |
+++ b/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit cmake-utils bash-completion-r1 |
38 |
+ |
39 |
+DESCRIPTION="Interfaces with LastPass.com from the command line." |
40 |
+HOMEPAGE="https://github.com/lastpass/lastpass-cli" |
41 |
+SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+LICENSE="GPL-2+" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="libressl X +pinentry test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ X? ( || ( x11-misc/xclip x11-misc/xsel ) ) |
50 |
+ !libressl? ( dev-libs/openssl:0= ) |
51 |
+ libressl? ( dev-libs/libressl:0= ) |
52 |
+ net-misc/curl |
53 |
+ dev-libs/libxml2 |
54 |
+ pinentry? ( app-crypt/pinentry ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ app-text/asciidoc |
58 |
+ virtual/pkgconfig |
59 |
+" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local mycmakeargs=( |
63 |
+ -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" |
64 |
+ ) |
65 |
+ |
66 |
+ cmake-utils_src_configure |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ cmake-utils_src_compile all doc-man $(usex test lpass-test '') |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ cmake-utils_src_install install install-doc |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ local myctestargs=( |
79 |
+ -j1 # Parallel tests fail |
80 |
+ ) |
81 |
+ |
82 |
+ # The path to lpass-test is hardcoded to "${S}"/build/lpass-test |
83 |
+ # which is incorrect for our out-of-source build |
84 |
+ sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \ |
85 |
+ -i "${S}"/test/include.sh || die |
86 |
+ |
87 |
+ cmake-utils_src_test |
88 |
+} |