diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2018-03-15 20:30:45 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-03-15 20:30:45 -0400 |
commit | 5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee (patch) | |
tree | 181cabf5c53c9d2285849645876c71ce496489f2 /app-admin/lastpass-cli | |
parent | games-action/super-hexagon: Bump to 20160217, EAPI 6, no bundling (diff) | |
download | gentoo-5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee.tar.gz gentoo-5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee.tar.bz2 gentoo-5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee.zip |
app-admin/lastpass-cli: bump to 1.3.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.3.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index a29757b5f95c..74cd7ebbe738 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -2,3 +2,4 @@ DIST lastpass-cli-1.0.0.tar.gz 92311 BLAKE2B a5351fb203ce3532572ac52fad5f6a6312c DIST lastpass-cli-1.1.2.tar.gz 102796 BLAKE2B 7c6a19698616e9a3ab6286b2eaaaed1b4a810cb35464c70f3930ed0903d5f63cce6f0d5bcbb3b07fb5ad846b58581a93aaf8d6d63a7246b7bb51985362fb856e SHA512 8115cb07cfca15ef402bdbd8ce943352e1534ddb781274e21cb0fafa4bcd9ab7abe4ddba57c4ebbce326f09cc9249f244607d16cac5597e61cf21c73417e7d9c DIST lastpass-cli-1.2.1.tar.gz 108780 BLAKE2B 82ebae9a6a707bb75025cf98b53bccd2403eb0a3855d7f6ca7c5fdbf55465f929df529100da7933ce73ab7ece35275e0ffd96e6463eb1ecbd81dcccca3b80047 SHA512 c7c9f20dbc083873b815834320828a30a1c488571efbfc5aea47c3bd2073819d713810c785855d4c0c208e1b95aa0e5fc550a0b6b5c0f787eca1f54589e18e62 DIST lastpass-cli-1.2.2.tar.gz 110045 BLAKE2B 96fcfd8f6e974edb5bd8701e18e73b46c0bcbcc14c38debd50be922a25ece9397bb6b641d4f2ce3057e57af0114a263eaab03e86b74e61d89a745411051bb172 SHA512 7d211c7669fe2de3e3f34cf00025376fd39a7f96c8573a0eaff64f322daab03de21e25d5875d3286a794580ac75d330c7bfe1005b377afc2b13e4ded9d78012c +DIST lastpass-cli-1.3.0.tar.gz 113969 BLAKE2B 5570567b17f043200f6b4eca72735d26d153a91cb4f0551a856532101ac610d2505bc90677735a8bbafe68f1a1b7ac0a026ac642a9f3786cceb7638ea29394fb SHA512 7a147e08ac4b8e4e895744f80c484db9da895f4439bccbc141fe17e480285c76479753c2b879c60258d740af39775a3fae225ad193b5e6379a1cae8862c2a3ae diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild new file mode 100644 index 000000000000..2c34bdeb3291 --- /dev/null +++ b/app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 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+ GPL-2+-with-openssl-exception" +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 +} |