1 |
commit: 9100580a571c246f2bc4705dbf66db002c7ec71b |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 3 22:15:39 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 3 22:15:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9100580a |
7 |
|
8 |
app-admin/lastpass-cli: bump to 1.3.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
12 |
|
13 |
app-admin/lastpass-cli/Manifest | 1 + |
14 |
app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild | 65 ++++++++++++++++++++++++ |
15 |
2 files changed, 66 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest |
18 |
index 22dbe52673e..b15ef284e9d 100644 |
19 |
--- a/app-admin/lastpass-cli/Manifest |
20 |
+++ b/app-admin/lastpass-cli/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST lastpass-cli-1.3.1.tar.gz 114843 BLAKE2B 7983d4090092ef3443d8c502d157934fa2384426f0be22c796795cdf664be3ba396f64daa81cdf896cb6901d4063f93e54b62cda4349b14fa4d312a21c5bb76d SHA512 092d28dc459719e662fbb2c5e92e8cc75be108aa9d7b62569ee44cb34dd9588e78151fdc5ad114c30e8de21c0b8803edc41db9295548c7cbfe6e537c9a52aad2 |
23 |
DIST lastpass-cli-1.3.2.tar.gz 116399 BLAKE2B d00ab9443935b90eab7337702a52e0ed2e7f2e67c20ed6764f72e25ae123e0420013aa9220ece8a57b7e3bbe2f243ff56bd054fecdbd064f086536bc5eaf0d88 SHA512 b293e86d70988aa5860a94fdc2bc65341bb253d2423c8f745730419400adc91ff860017d35657d283458c477c2385ff2532b8aefa752f886b207da8d10bf9018 |
24 |
+DIST lastpass-cli-1.3.3.tar.gz 116434 BLAKE2B 341f99a7a5edd157c271a0989a004ace8300f2121230b4c0b7c23152643ebc0e3f60717a057b4e6acc802fe641ccd84c770bfcb3d89c505713aea23692d1542b SHA512 9b9274cae1fe4045b7df4402170c522ab5765929739e76141b35a75ce3c8af824acd881e194face45e8721d6ce778bde97ff1a1ac23515de0c6dba28d61a8c7e |
25 |
DIST lastpass-cli-man-1.3.1.tar.xz 5700 BLAKE2B 736ab71ad55cfcb657c727f3dc9dc15775dab1a0232d1ffc51b8794e49911531c96a841b4a5ac0b31f0516cd7aa54027ac7d0eb096816730cdfd192c04d99449 SHA512 e60807683ecd681b3937ef447d3e6a487d25418fe99f51ba99e54bf643c5254dd18427a03e7f035198ef34ff578bbb6116baf04eb554f54d85e7d059b6bfed7e |
26 |
|
27 |
diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d67ef36f961 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild |
32 |
@@ -0,0 +1,65 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+CMAKE_WARN_UNUSED_CLI=no |
39 |
+inherit cmake-utils bash-completion-r1 |
40 |
+ |
41 |
+DESCRIPTION="Interfaces with LastPass.com from the command line." |
42 |
+HOMEPAGE="https://github.com/lastpass/lastpass-cli" |
43 |
+SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
44 |
+ https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz" |
45 |
+ |
46 |
+SLOT="0" |
47 |
+LICENSE="GPL-2+ GPL-2+-with-openssl-exception" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="libressl X +pinentry test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ X? ( || ( x11-misc/xclip x11-misc/xsel ) ) |
53 |
+ !libressl? ( dev-libs/openssl:0= ) |
54 |
+ libressl? ( dev-libs/libressl:0= ) |
55 |
+ net-misc/curl |
56 |
+ dev-libs/libxml2 |
57 |
+ pinentry? ( app-crypt/pinentry ) |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local mycmakeargs=( |
65 |
+ -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" |
66 |
+ ) |
67 |
+ |
68 |
+ cmake-utils_src_configure |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ cmake-utils_src_compile all $(usex test lpass-test '') |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ cmake-utils_src_install install |
77 |
+ |
78 |
+ doman "${WORKDIR}"/man/lpass.1 |
79 |
+ |
80 |
+ # Version 1.3.2 uses automagic detection for bashcomp |
81 |
+ # To preserve backwards compatibility, we unconditionally |
82 |
+ # install the completion file |
83 |
+ newbashcomp contrib/lpass_bash_completion lpass |
84 |
+} |
85 |
+ |
86 |
+src_test() { |
87 |
+ local myctestargs=( |
88 |
+ -j1 # Parallel tests fail |
89 |
+ ) |
90 |
+ |
91 |
+ # The path to lpass-test is hardcoded to "${S}"/build/lpass-test |
92 |
+ # which is incorrect for our out-of-source build |
93 |
+ sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \ |
94 |
+ -i "${S}"/test/include.sh || die |
95 |
+ |
96 |
+ cmake-utils_src_test |
97 |
+} |