From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F5E41382C5 for ; Fri, 16 Mar 2018 00:31:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78DEFE07FA; Fri, 16 Mar 2018 00:31:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39698E07FA for ; Fri, 16 Mar 2018 00:31:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27FA7335C7A for ; Fri, 16 Mar 2018 00:31:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01DED1F1 for ; Fri, 16 Mar 2018 00:31:27 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1521160245.5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/lastpass-cli/Manifest app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild X-VCS-Directories: app-admin/lastpass-cli/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee X-VCS-Branch: master Date: Fri, 16 Mar 2018 00:31:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 81437bc2-e058-41fc-a7ce-ee2e224046ef X-Archives-Hash: 536445ae9643e126f0a98726a86acf3b commit: 5fa8ca5f43c4aa55bbb641e494db9ea76d4e57ee Author: Göktürk Yüksek gentoo org> AuthorDate: Fri Mar 16 00:30:45 2018 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Fri Mar 16 00:30:45 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa8ca5f app-admin/lastpass-cli: bump to 1.3.0 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-admin/lastpass-cli/Manifest | 1 + app-admin/lastpass-cli/lastpass-cli-1.3.0.ebuild | 57 ++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index a29757b5f95..74cd7ebbe73 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 00000000000..2c34bdeb329 --- /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 +}