From 5099d598f851a3178d4fbcca00281aa0cafd9dc9 Mon Sep 17 00:00:00 2001 From: layman Date: Sat, 24 Feb 2018 07:09:09 -0800 Subject: [PATCH] updated app-vim/lightline with QA fixes and enabled USE="doc" --- app-vim/lightline/Manifest | 6 +-- .../lightline/lightline-20171018-r1.ebuild | 47 ------------------- ...r1.ebuild => lightline-20171216-r2.ebuild} | 13 ++--- ...19.ebuild => lightline-20180219-r1.ebuild} | 11 ++--- app-vim/lightline/metadata.xml | 7 +++ 5 files changed, 22 insertions(+), 62 deletions(-) delete mode 100644 app-vim/lightline/lightline-20171018-r1.ebuild rename app-vim/lightline/{lightline-20171216-r1.ebuild => lightline-20171216-r2.ebuild} (71%) rename app-vim/lightline/{lightline-20180219.ebuild => lightline-20180219-r1.ebuild} (73%) create mode 100644 app-vim/lightline/metadata.xml diff --git a/app-vim/lightline/Manifest b/app-vim/lightline/Manifest index 4e5ffc7..4fc1938 100644 --- a/app-vim/lightline/Manifest +++ b/app-vim/lightline/Manifest @@ -1,4 +1,4 @@ -EBUILD lightline-20171018-r1.ebuild 1211 SHA256 4b4fbf03dae4a1b6cf37e9cb2828aa0bec3c6a68c2af6e4a4ac1fd60dc4f9542 SHA512 257e209939a85718ec8eb27a664d6bbfcf880cb7486fe564e724747ea1336610a0877cdb67c6ba4e7405ce9f7e4554d1cb1980ed5817c100fa964bb78a69d547 WHIRLPOOL 4a864918a645b81369575b5329842eafa8543b63f5792281b469901a6f505017379ed24780be37606010e27ebe259757a336146ee767f1c0e9b0f629fba8a1ff -EBUILD lightline-20171216-r1.ebuild 1211 SHA256 7919984fdc79becd3d032f732c8a01bd5a6bb2467a1c190854becdd054b411f8 SHA512 56a4ba25719379906c7b194ddcedef28b9647eeb62c843bff27491e4280aee83a6c726f56af816ab375ea6dd7001c149c2747e6e85de12c004925b82b36d3f3b WHIRLPOOL 314234758cf46973f10c90d21d4ef3bd823b4408bbbf8d7c4318e5bcfd4c8ba2743ec4b8122d0bddbf0ff903a33f04e4419ad73bbb3d899b2b7dc8ebebcbfdd1 -EBUILD lightline-20180219.ebuild 1211 SHA256 447cc63a49567d62d632a8b1409801c25082b4152272d2c0eb0061755be16777 SHA512 8ee086c475bc33a66281246c8fb598590df2b94468590d9401f46215de624f57853660edd069114f59cdab8faf91781979383d55a6b1f2c0b09e0e15f44fb09c WHIRLPOOL e5d588b784f51ab3c138b8774564db389855a40763cce0bc87bdac973188dfb5d0a909ea1f65d6cd90cc74a647c25e0b94c8a89594f8a7b365b743e7fe775fba +EBUILD lightline-20171216-r2.ebuild 1250 SHA256 c103fb8c94dcff1435eed0e541275ef05e5a764ed2ca63c3a3ce3960a4f0d0e6 SHA512 5f12dcfa06b61dbe1067463c629933a68c2713a8e966e23245616ef95c9604ac8d894065445b2a4722f04327694a6ea44fbb081cec2325f286a57cba8ab595a0 WHIRLPOOL b6f68eba8e7c97702bd132f0c48b6cd5f6c1f9ccf59e3822b97a34ccf0a111ad662ad7208f9011c206ecf923e55aac772168864432c4f89a868a0bcb2212e8b6 +EBUILD lightline-20180219-r1.ebuild 1198 SHA256 42ac54c9be84abe01a85edb252e77f00c99a21b002ee92d11700efb1c5b22246 SHA512 b9f12542e26501dffb508f0372486a659e4e50b09046e1c0b182aa7ed139c9902300ed8f5d0c99302779e1bca9645aed388ede1732a1caa29f687b9cea4454cb WHIRLPOOL f9c5461f185f501fbd39c37bd46d990032669783572693cc8735883acd937733fb1c59aa81396914bdb89e6e0a80c31a5e92ee1be7ffa4562dd504a46da25f37 MISC README.md 78 SHA256 38ed5e614fc2246f819671c612fdb3a4b1f153a4879f8f69813e2e20deb3b5ed SHA512 d843934c1db4d8aa3fd2c53a0add06cb642b8e5132af7178dce7776bc2de181c37128c1999c939ec6103ba467b824b78fdd8fe3594667d0c95d4197fa6ad3a5f WHIRLPOOL 2f0df423aad3294af26c9ce47f1af9e4f61950099ea09ed2a6da90431210504abac21ec4c6dffaee8f31bbc78ece3cf9b91f00f613282a9393dc38ec64ece6ca +MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0 diff --git a/app-vim/lightline/lightline-20171018-r1.ebuild b/app-vim/lightline/lightline-20171018-r1.ebuild deleted file mode 100644 index ce88ada..0000000 --- a/app-vim/lightline/lightline-20171018-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit vim-plugin git-r3 - - -EGIT_REPO_URI="https://github.com/itchyny/lightline.vim.git" -EGIT_COMMIT="89b32d170405b9085bed9cfb6bc4bab8cd8bd81c" -SRC_URI="" -KEYWORDS="~amd64 ~x86" -PROPERTIES="live" - -DESCRIPTION="vim plugin: A light and configurable statusline/tabline" -HOMEPAGE="https://github.com/itchyny/lightline.vim/" -LICENSE="vim.org" -VIM_PLUGIN_HELPFILES="${PN}" - -DISABLE_AUTOFORMATTING="true" -DOC_CONTENTS="You may have to update \$TERM in your environment, -see https://github.com/itchyny/lightline.vim" - -src_prepare() { - default -} - -src_install() { - insinto /usr/share/nvim/runtime - doins -r autoload - doins -r doc - doins -r plugin - vim-plugin_src_install -} - -pkg_postinst() { - elog "${DOC_CONTENTS}" - echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " -} - -pkg_postrm() { - echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " -} diff --git a/app-vim/lightline/lightline-20171216-r1.ebuild b/app-vim/lightline/lightline-20171216-r2.ebuild similarity index 71% rename from app-vim/lightline/lightline-20171216-r1.ebuild rename to app-vim/lightline/lightline-20171216-r2.ebuild index 1a74f8a..d4fdf3f 100644 --- a/app-vim/lightline/lightline-20171216-r1.ebuild +++ b/app-vim/lightline/lightline-20171216-r2.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit vim-plugin git-r3 - EGIT_REPO_URI="https://github.com/itchyny/lightline.vim.git" EGIT_COMMIT="b19faca129f7921766c0a32a7c378dc89a61e590" SRC_URI="" @@ -15,6 +14,7 @@ PROPERTIES="live" DESCRIPTION="vim plugin: A light and configurable statusline/tabline" HOMEPAGE="https://github.com/itchyny/lightline.vim/" LICENSE="vim.org" +IUSE="+doc" VIM_PLUGIN_HELPFILES="${PN}" DISABLE_AUTOFORMATTING="true" @@ -31,17 +31,18 @@ src_install() { doins -r doc doins -r plugin vim-plugin_src_install + use doc || rm -rf "${D}/usr/share/doc" } pkg_postinst() { elog "${DOC_CONTENTS}" echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " + /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " } pkg_postrm() { echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " + /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " } diff --git a/app-vim/lightline/lightline-20180219.ebuild b/app-vim/lightline/lightline-20180219-r1.ebuild similarity index 73% rename from app-vim/lightline/lightline-20180219.ebuild rename to app-vim/lightline/lightline-20180219-r1.ebuild index a427cc5..28d1d5c 100644 --- a/app-vim/lightline/lightline-20180219.ebuild +++ b/app-vim/lightline/lightline-20180219-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit vim-plugin git-r3 - EGIT_REPO_URI="https://github.com/itchyny/lightline.vim.git" EGIT_COMMIT="78c43c144643e49c529a93b9eaa4eda12614f923" SRC_URI="" @@ -36,12 +35,12 @@ src_install() { pkg_postinst() { elog "${DOC_CONTENTS}" echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " + /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " } pkg_postrm() { echo -n "Updating neovim (nvim) help tags..." - /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 - echo "done. " + /usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " } diff --git a/app-vim/lightline/metadata.xml b/app-vim/lightline/metadata.xml new file mode 100644 index 0000000..5993c93 --- /dev/null +++ b/app-vim/lightline/metadata.xml @@ -0,0 +1,7 @@ + + + + + trenttdually@gmail.com + +