diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
commit | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (patch) | |
tree | c968fff3108e2b4d88e4e564a56bfd066f170573 /app-admin/lastpass-cli | |
parent | 1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (diff) |
gentoo resync : 18.03.2018
Diffstat (limited to 'app-admin/lastpass-cli')
-rw-r--r-- | app-admin/lastpass-cli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index b3605753e6d8..c3ad167a47bb 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -2,8 +2,10 @@ 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 EBUILD lastpass-cli-1.0.0.ebuild 1012 BLAKE2B 9c0bc0d6b795f2c01838c09ca05b3a7e5fae9c09f60b65239e8d0fff49f2b244258781cd66c44eaa3795c978bf817b28dced02fe11ed4dd0d4de39d75ebe73d1 SHA512 d319bd79f9281f4ef9c6dce9ae68e58ac628addf7218b1bce38d983731a8e21cb9f4e112bb74fe2a0a598767c3381917c27191fc91834f5c1bd15fc22c92564f EBUILD lastpass-cli-1.1.2.ebuild 937 BLAKE2B e9b7f4264bec259d4abe5789114e0a4c64dbaba89d43a2ae0618719a7eb3ef6ecaea8f57b5eba8d477604a528c27f7cd3f7c64bf2322021c81311af079cd2a8d SHA512 f25a76711dbb73d592a3d2b325f3de0eae899ce2db7f21948624c7a846de88bfd5ee2b6bc46a4f973674df043eb0ab22817774c724145bec4975650d55f645be EBUILD lastpass-cli-1.2.1.ebuild 1273 BLAKE2B c60f42829455207808dabbc6304f99c02f13fb6bc01cdf378ca382d305740a8c66ebebeefc892d81325742d87f2c4ef2c2bfc55f7921bb0e59d5904271cea4c6 SHA512 7da1fb209fec0057d70cc2eff410cfcd410be6b6fba183bab5ccb8279e729df3a8acc3e1cfe2b339e6bbfd346c4d2eecee924a2c8fe15a6ebf5a502efc7fc16c EBUILD lastpass-cli-1.2.2.ebuild 1280 BLAKE2B b06a35c163f277bdbbc20f2366f93d4ad6ae20ebbd39317e91424db7a0828b6d664008f4e8bf8bf3dac39fb540439dae1ac5f92756dda2744918d024bee42d7b SHA512 a2455060f8ba03105c704217d23086c2f04380a63dfb6b02bdac1065cfc0559e83fd0eee2a6e3a1ea6ca9b64c9f477b4dd857b62058a49eb5fa0df997d825fd1 +EBUILD lastpass-cli-1.3.0.ebuild 1310 BLAKE2B 61bc2fb9f4b3d260f647b9265f7616bdb97dbe048d2d5699f66c8816691ff8e06653c81e28f4908eba7513814e9c619fe3b8f9e88b45c1701457efe592f0f521 SHA512 daf6a5a270b750b9f95e3b1a06c57cd7112982901d0d49c16bb4a51da92ac6db95996d427a6a8d6709ad1d2a4bbe57dd74e5261bdadfe479fa7f49b14c936bf1 MISC metadata.xml 643 BLAKE2B a5a01a1dbcc257692bd14369470d69eef33a00a9910ed5006c62f1f5fec2a9a261dd6ece42bcaa68345a21f6e26958f965f90459501324b0e7a168f3fcc4f7f9 SHA512 6b1a7f6566687384d328260576dad306dd07add06001b3746b4f37f05ff91b6ee72e1e2ecfd35463a5b78b4ba8dd1a7757503bdf992372dbd474967e4bf0e9f3 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 +} |