diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2017-10-25 17:45:34 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2017-10-25 17:45:56 -0400 |
commit | 75ffbb5538024b0c7c2b72343dd4f2340b67f9f4 (patch) | |
tree | 50fd41fa335dd48b8f1c9ee73650ea549425525f /app-admin/lastpass-cli | |
parent | net-mail/mailutils: keyworded 3.3 for ia64, bug #635216 (diff) | |
download | gentoo-75ffbb5538024b0c7c2b72343dd4f2340b67f9f4.tar.gz gentoo-75ffbb5538024b0c7c2b72343dd4f2340b67f9f4.tar.bz2 gentoo-75ffbb5538024b0c7c2b72343dd4f2340b67f9f4.zip |
app-admin/lastpass-cli: bump to 1.2.2
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'app-admin/lastpass-cli')
-rw-r--r-- | app-admin/lastpass-cli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index a472cefc4c65..c53c75f71d95 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -1,3 +1,4 @@ DIST lastpass-cli-1.0.0.tar.gz 92311 SHA256 42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e SHA512 4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 WHIRLPOOL 394bfb597f5262dd1e47c7a3c48ef093b398f90c6dcacac6b172bb008891c76faf448ecf6be0ebfa277d18d335b166b7efadc063acc57ce88274004d1734bf21 DIST lastpass-cli-1.1.2.tar.gz 102796 SHA256 bc737d8e6d713c8aecdfb7f34b29aa9a8ae9b1e9ba80b31059686b18591a8c39 SHA512 8115cb07cfca15ef402bdbd8ce943352e1534ddb781274e21cb0fafa4bcd9ab7abe4ddba57c4ebbce326f09cc9249f244607d16cac5597e61cf21c73417e7d9c WHIRLPOOL c7e6a4d5ac9b8c52f53e081b367289b390704fa4dfbf13a9ea0086e4ca0d49f9ef5a39f9ea854387ffb66fbd18f9b5263d17ae6573c4286fb7a36ebdce724d7f DIST lastpass-cli-1.2.1.tar.gz 108780 SHA256 1a49a37a67a973296e218306e6d36c9383347b1833e5a878ebc08355b1c77456 SHA512 c7c9f20dbc083873b815834320828a30a1c488571efbfc5aea47c3bd2073819d713810c785855d4c0c208e1b95aa0e5fc550a0b6b5c0f787eca1f54589e18e62 WHIRLPOOL c74988f37c96d065c0fea58c946c3aa3f4925d889247247b89ffe25012077d8eb3c694a3d539a40cf3f2be1fdd195b6ef6c1ef2d429587cc18fb8a8db8fb8a93 +DIST lastpass-cli-1.2.2.tar.gz 110045 SHA256 26c93ae610932139dacaff2e0f916c5628def48bb4129b4099101cf4e6c7c499 SHA512 7d211c7669fe2de3e3f34cf00025376fd39a7f96c8573a0eaff64f322daab03de21e25d5875d3286a794580ac75d330c7bfe1005b377afc2b13e4ded9d78012c WHIRLPOOL 0b3060e180b590999d3b3265140e8b060e017ae453fed74fe91c2f8d728a71ffcfac05e94b1eddb8575e9c6949b53364d0bfe037a9ae256a2a1c1e971ba1d12e diff --git a/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild new file mode 100644 index 000000000000..2822408086a3 --- /dev/null +++ b/app-admin/lastpass-cli/lastpass-cli-1.2.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils bash-completion-r1 + +DESCRIPTION="Interfaces with LastPass.com from the command line." +HOMEPAGE="https://github.com/lastpass/lastpass-cli" +SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="libressl X +pinentry test" + +RDEPEND=" + X? ( || ( x11-misc/xclip x11-misc/xsel ) ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + net-misc/curl + dev-libs/libxml2 + pinentry? ( app-crypt/pinentry ) +" +DEPEND="${RDEPEND} + app-text/asciidoc + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile all doc-man $(usex test lpass-test '') +} + +src_install() { + cmake-utils_src_install install install-doc +} + +src_test() { + local myctestargs=( + -j1 # Parallel tests fail + ) + + # The path to lpass-test is hardcoded to "${S}"/build/lpass-test + # which is incorrect for our out-of-source build + sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \ + -i "${S}"/test/include.sh || die + + cmake-utils_src_test +} |