app-admin/lastpass-cli: serve man from devspace #654846
authorGöktürk Yüksek <gokturk@gentoo.org>
Mon, 21 May 2018 22:32:12 +0000 (18:32 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Mon, 21 May 2018 22:34:54 +0000 (18:34 -0400)
This removes the build time dependency on app-test/asciidoc, and
consequently on python:2.7.

Closes: https://bugs.gentoo.org/654846
Package-Manager: Portage-2.3.27, Repoman-2.3.9

app-admin/lastpass-cli/Manifest
app-admin/lastpass-cli/lastpass-cli-1.3.1-r1.ebuild [moved from app-admin/lastpass-cli/lastpass-cli-1.3.1.ebuild with 83% similarity]

index 6d302d8607337b0a8ce69db08b944fe517797ec4..11d53913d861bacef740fdfc919b625baccebcf6 100644 (file)
@@ -4,3 +4,4 @@ DIST lastpass-cli-1.2.1.tar.gz 108780 BLAKE2B 82ebae9a6a707bb75025cf98b53bccd240
 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
 DIST lastpass-cli-1.3.1.tar.gz 114843 BLAKE2B 7983d4090092ef3443d8c502d157934fa2384426f0be22c796795cdf664be3ba396f64daa81cdf896cb6901d4063f93e54b62cda4349b14fa4d312a21c5bb76d SHA512 092d28dc459719e662fbb2c5e92e8cc75be108aa9d7b62569ee44cb34dd9588e78151fdc5ad114c30e8de21c0b8803edc41db9295548c7cbfe6e537c9a52aad2
+DIST lastpass-cli-man-1.3.1.tar.xz 5700 BLAKE2B 736ab71ad55cfcb657c727f3dc9dc15775dab1a0232d1ffc51b8794e49911531c96a841b4a5ac0b31f0516cd7aa54027ac7d0eb096816730cdfd192c04d99449 SHA512 e60807683ecd681b3937ef447d3e6a487d25418fe99f51ba99e54bf643c5254dd18427a03e7f035198ef34ff578bbb6116baf04eb554f54d85e7d059b6bfed7e
similarity index 83%
rename from app-admin/lastpass-cli/lastpass-cli-1.3.1.ebuild
rename to app-admin/lastpass-cli/lastpass-cli-1.3.1-r1.ebuild
index 2c34bdeb3291a755939956356946280f7aeb0a49..57454b36ac9e72ee116b34f3822d650c30a74f7d 100644 (file)
@@ -7,7 +7,8 @@ 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"
+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-${PV}.tar.xz"
 
 SLOT="0"
 LICENSE="GPL-2+ GPL-2+-with-openssl-exception"
@@ -23,7 +24,6 @@ RDEPEND="
        pinentry? ( app-crypt/pinentry )
 "
 DEPEND="${RDEPEND}
-       app-text/asciidoc
        virtual/pkgconfig
 "
 
@@ -36,11 +36,13 @@ src_configure() {
 }
 
 src_compile() {
-       cmake-utils_src_compile all doc-man $(usex test lpass-test '')
+       cmake-utils_src_compile all $(usex test lpass-test '')
 }
 
 src_install() {
-       cmake-utils_src_install install install-doc
+       cmake-utils_src_install install
+
+       doman "${WORKDIR}"/man/lpass.1
 }
 
 src_test() {