From 933bc83c19299970eb0086d3d7c617d4c20c02d9 Mon Sep 17 00:00:00 2001 From: haarp Date: Mon, 18 Sep 2023 12:08:51 +0200 Subject: Upgrade lastpass-cli Signed-off-by: haarp --- app-admin/lastpass-cli/Manifest | 2 +- app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild | 69 ------------------------ app-admin/lastpass-cli/lastpass-cli-1.3.6.ebuild | 69 ++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild create mode 100644 app-admin/lastpass-cli/lastpass-cli-1.3.6.ebuild (limited to 'app-admin/lastpass-cli') diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index d9db2c3..8013c0d 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -1,2 +1,2 @@ -DIST lastpass-cli-1.3.4.tar.gz 117306 BLAKE2B e1c9adafc2bda2e090ffa6c879e85addc60385b3f1e6501ea405159d35a01bcb12689bbd86166e4b665bc45a1acc6094c5ce8da81ecd1df87efb84262a2752ca SHA512 2b357b48093a18a7bd355b512477eec223847eead141ca854c421d95670ea865d07890a0b880edc0d19aacf78045f44d9969e32de510bce7065fc8a1fcb16b2f +DIST lastpass-cli-1.3.6.tar.gz 117267 BLAKE2B 6eb3aa91989bf30ae4a1f0a1a34a9ef5b61c38ac9d09775b10348056b287827a6ddb8b63b1d3b4f6739321216f48da7359f50cc288eb1f7e8131ceffb1e31358 SHA512 28c9cff15fe9433d2473b3bfc6d958115e0f49044ff13afe77b82c41b9a5efb78c657e9ed740b99df305693bdf2cacc0389318f10540e10774030405feabc998 DIST lastpass-cli-man-1.3.1.tar.xz 5700 BLAKE2B 736ab71ad55cfcb657c727f3dc9dc15775dab1a0232d1ffc51b8794e49911531c96a841b4a5ac0b31f0516cd7aa54027ac7d0eb096816730cdfd192c04d99449 SHA512 e60807683ecd681b3937ef447d3e6a487d25418fe99f51ba99e54bf643c5254dd18427a03e7f035198ef34ff578bbb6116baf04eb554f54d85e7d059b6bfed7e diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild deleted file mode 100644 index 3235c00..0000000 --- a/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_WARN_UNUSED_CLI=no -inherit cmake 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 - https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz" - -SLOT="0" -LICENSE="GPL-2+ GPL-2+-with-openssl-exception" -KEYWORDS="~amd64 ~x86" -IUSE="X +pinentry test" -RESTRICT="!test? ( test )" - -RDEPEND=" - X? ( || ( x11-misc/xclip x11-misc/xsel ) ) - dev-libs/openssl:0= - net-misc/curl - dev-libs/libxml2 - pinentry? ( app-crypt/pinentry ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/"${PN}"-1.3.3-gcc10-fix.patch -) - -src_configure() { - local mycmakeargs=( - -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile all $(usex test lpass-test '') -} - -src_install() { - cmake_src_install install - - doman "${WORKDIR}"/man/lpass.1 - - # Version 1.3.2 uses automagic detection for bashcomp - # To preserve backwards compatibility, we unconditionally - # install the completion file - newbashcomp contrib/lpass_bash_completion lpass -} - -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_src_test -} diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.6.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.6.ebuild new file mode 100644 index 0000000..3235c00 --- /dev/null +++ b/app-admin/lastpass-cli/lastpass-cli-1.3.6.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_WARN_UNUSED_CLI=no +inherit cmake 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 + https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz" + +SLOT="0" +LICENSE="GPL-2+ GPL-2+-with-openssl-exception" +KEYWORDS="~amd64 ~x86" +IUSE="X +pinentry test" +RESTRICT="!test? ( test )" + +RDEPEND=" + X? ( || ( x11-misc/xclip x11-misc/xsel ) ) + dev-libs/openssl:0= + net-misc/curl + dev-libs/libxml2 + pinentry? ( app-crypt/pinentry ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/"${PN}"-1.3.3-gcc10-fix.patch +) + +src_configure() { + local mycmakeargs=( + -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile all $(usex test lpass-test '') +} + +src_install() { + cmake_src_install install + + doman "${WORKDIR}"/man/lpass.1 + + # Version 1.3.2 uses automagic detection for bashcomp + # To preserve backwards compatibility, we unconditionally + # install the completion file + newbashcomp contrib/lpass_bash_completion lpass +} + +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_src_test +} -- cgit v1.2.3-65-gdbad