diff options
author | Marco Sirabella <marco@sirabella.org> | 2021-04-28 08:53:11 -0400 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2021-05-02 22:22:28 +0200 |
commit | b94cea8c06bd820ad663acd1695b70df8b8f915b (patch) | |
tree | fbb0698db6b6dc49f23952d69e3e30c1228877fa | |
parent | vim-{plugin,spell}: use einstalldocs. (diff) | |
download | gentoo-b94cea8c06bd820ad663acd1695b70df8b8f915b.tar.gz gentoo-b94cea8c06bd820ad663acd1695b70df8b8f915b.tar.bz2 gentoo-b94cea8c06bd820ad663acd1695b70df8b8f915b.zip |
app-vim/*: explicity specify DOCS for einstalldocs.
Signed-off-by: Marco Sirabella <marco@sirabella.org>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
26 files changed, 50 insertions, 5 deletions
diff --git a/app-vim/airline/airline-0.11.ebuild b/app-vim/airline/airline-0.11.ebuild index 5f320b746c7e..6b50145bb085 100644 --- a/app-vim/airline/airline-0.11.ebuild +++ b/app-vim/airline/airline-0.11.ebuild @@ -21,6 +21,8 @@ HOMEPAGE="https://github.com/vim-airline/vim-airline/ https://www.vim.org/script LICENSE="MIT" VIM_PLUGIN_HELPFILES="${PN}.txt" +DOCS=( CHANGELOG.md ) + src_prepare() { default diff --git a/app-vim/ctrlp/ctrlp-1.80.ebuild b/app-vim/ctrlp/ctrlp-1.80.ebuild index 2c42572f0e5a..fd21dc094c51 100644 --- a/app-vim/ctrlp/ctrlp-1.80.ebuild +++ b/app-vim/ctrlp/ctrlp-1.80.ebuild @@ -14,3 +14,5 @@ KEYWORDS="amd64 x86" S="${WORKDIR}/${PN}.vim-${PV}" VIM_PLUGIN_HELPFILES="${PN}.txt" + +DOCS=( readme.md ) diff --git a/app-vim/ctrlp/ctrlp-1.80_p20180418.ebuild b/app-vim/ctrlp/ctrlp-1.80_p20180418.ebuild index cf9b207e7672..482a0edd731a 100644 --- a/app-vim/ctrlp/ctrlp-1.80_p20180418.ebuild +++ b/app-vim/ctrlp/ctrlp-1.80_p20180418.ebuild @@ -15,3 +15,5 @@ LICENSE="vim" KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" + +DOCS=( readme.md ) diff --git a/app-vim/iris/iris-1.0.0.ebuild b/app-vim/iris/iris-1.0.0.ebuild index 8e10bcffdb96..fda74eed994f 100644 --- a/app-vim/iris/iris-1.0.0.ebuild +++ b/app-vim/iris/iris-1.0.0.ebuild @@ -25,6 +25,8 @@ RDEPEND=" S="${WORKDIR}/${MY_P}" +DOCS=( README.md CHANGELOG.md ) + src_install() { mv api.py iris-api || die mv idle.py iris-idle || die diff --git a/app-vim/json/json-20150511.ebuild b/app-vim/json/json-20150511.ebuild index efdbe9a258ce..b63a098f557f 100644 --- a/app-vim/json/json-20150511.ebuild +++ b/app-vim/json/json-20150511.ebuild @@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/elzr/vim-json/" LICENSE="MIT" KEYWORDS="amd64 x86" +DOCS=( readme.md ) + src_prepare() { rm *-test.* license.md || die default diff --git a/app-vim/merginal/merginal-2.1.2.ebuild b/app-vim/merginal/merginal-2.1.2.ebuild index 6d95e33ef108..7c75fa4a0de7 100644 --- a/app-vim/merginal/merginal-2.1.2.ebuild +++ b/app-vim/merginal/merginal-2.1.2.ebuild @@ -25,6 +25,8 @@ RDEPEND="app-vim/fugitive" VIM_PLUGIN_HELPFILES="${PN}" +DOCS=( CHANGELOG.md ) + src_prepare() { rm README.md || die default diff --git a/app-vim/merginal/merginal-9999.ebuild b/app-vim/merginal/merginal-9999.ebuild index 6d95e33ef108..7c75fa4a0de7 100644 --- a/app-vim/merginal/merginal-9999.ebuild +++ b/app-vim/merginal/merginal-9999.ebuild @@ -25,6 +25,8 @@ RDEPEND="app-vim/fugitive" VIM_PLUGIN_HELPFILES="${PN}" +DOCS=( CHANGELOG.md ) + src_prepare() { rm README.md || die default diff --git a/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild b/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild index 85793d95a23d..fcda074e38fb 100644 --- a/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild +++ b/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild @@ -17,6 +17,8 @@ S="${WORKDIR}/vim-${P}" VIM_PLUGIN_HELPFILES="${PN}" +DOCS=( CHANGELOG.md ) + src_prepare() { default rm LICENSE README.md || die diff --git a/app-vim/nerdtree/nerdtree-6.4.1.ebuild b/app-vim/nerdtree/nerdtree-6.4.1.ebuild index 6f2574ec9355..dabdc9a063c8 100644 --- a/app-vim/nerdtree/nerdtree-6.4.1.ebuild +++ b/app-vim/nerdtree/nerdtree-6.4.1.ebuild @@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~x86 ~x64-macos" VIM_PLUGIN_HELPFILES="NERD_tree" +DOCS=( CHANGELOG.md README.markdown ) + src_prepare() { default rm LICENCE || die diff --git a/app-vim/nerdtree/nerdtree-6.4.3.ebuild b/app-vim/nerdtree/nerdtree-6.4.3.ebuild index 99a848dacfcf..6822cdb30fa1 100644 --- a/app-vim/nerdtree/nerdtree-6.4.3.ebuild +++ b/app-vim/nerdtree/nerdtree-6.4.3.ebuild @@ -19,6 +19,8 @@ LICENSE="WTFPL-2" VIM_PLUGIN_HELPFILES="NERD_tree" +DOCS=( CHANGELOG.md README.markdown ) + src_prepare() { rm LICENCE screenshot.png _config.yml || die default diff --git a/app-vim/nerdtree/nerdtree-9999.ebuild b/app-vim/nerdtree/nerdtree-9999.ebuild index 99a848dacfcf..6822cdb30fa1 100644 --- a/app-vim/nerdtree/nerdtree-9999.ebuild +++ b/app-vim/nerdtree/nerdtree-9999.ebuild @@ -19,6 +19,8 @@ LICENSE="WTFPL-2" VIM_PLUGIN_HELPFILES="NERD_tree" +DOCS=( CHANGELOG.md README.markdown ) + src_prepare() { rm LICENCE screenshot.png _config.yml || die default diff --git a/app-vim/rainbow_parentheses/rainbow_parentheses-1.0.ebuild b/app-vim/rainbow_parentheses/rainbow_parentheses-1.0.ebuild index 57a193e0e66f..69f495e1670f 100644 --- a/app-vim/rainbow_parentheses/rainbow_parentheses-1.0.ebuild +++ b/app-vim/rainbow_parentheses/rainbow_parentheses-1.0.ebuild @@ -15,3 +15,5 @@ DEPEND="app-arch/unzip" RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}.vim-master" + +DOCS=( readme.md ) diff --git a/app-vim/tcomment/tcomment-3.08.1.ebuild b/app-vim/tcomment/tcomment-3.08.1.ebuild index 0e8c814890a6..e602ed813297 100644 --- a/app-vim/tcomment/tcomment-3.08.1.ebuild +++ b/app-vim/tcomment/tcomment-3.08.1.ebuild @@ -22,6 +22,8 @@ LICENSE="GPL-3" VIM_PLUGIN_HELPFILES="${PN}.txt" +DOCS=( CHANGES.TXT ) + src_prepare() { default rm -r README LICENSE.TXT etc spec addon* || die diff --git a/app-vim/tcomment/tcomment-9999.ebuild b/app-vim/tcomment/tcomment-9999.ebuild index 1ac364c516dd..7924fe5a73ec 100644 --- a/app-vim/tcomment/tcomment-9999.ebuild +++ b/app-vim/tcomment/tcomment-9999.ebuild @@ -22,6 +22,8 @@ LICENSE="GPL-3" VIM_PLUGIN_HELPFILES="${PN}.txt" +DOCS=( CHANGES.txt ) + src_prepare() { default rm -r README LICENSE.TXT etc spec addon* || die diff --git a/app-vim/tlib/tlib-1.22.ebuild b/app-vim/tlib/tlib-1.22.ebuild index 1c39dca52f28..8894330256a4 100644 --- a/app-vim/tlib/tlib-1.22.ebuild +++ b/app-vim/tlib/tlib-1.22.ebuild @@ -18,6 +18,8 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR}/${MY_P} +DOCS=( README CHANGES.TXT ) + src_prepare() { default rm -r test samples addon-info.json || die diff --git a/app-vim/tlib/tlib-1.23.ebuild b/app-vim/tlib/tlib-1.23.ebuild index eb715c1632e1..de751c8772fc 100644 --- a/app-vim/tlib/tlib-1.23.ebuild +++ b/app-vim/tlib/tlib-1.23.ebuild @@ -18,6 +18,8 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR}/${MY_P} +DOCS=( README CHANGES.TXT ) + src_prepare() { default rm -r test samples addon-info.json || die diff --git a/app-vim/vim-autoclose/vim-autoclose-2.0.ebuild b/app-vim/vim-autoclose/vim-autoclose-2.0.ebuild index b831f463e574..6a99e0c2c47d 100644 --- a/app-vim/vim-autoclose/vim-autoclose-2.0.ebuild +++ b/app-vim/vim-autoclose/vim-autoclose-2.0.ebuild @@ -11,6 +11,8 @@ SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" LICENSE="vim" KEYWORDS="amd64 x86" +DOCS=( README.txt AUTHORS.txt ) + src_unpack() { default mv * "${P}" || die diff --git a/app-vim/vim-go/vim-go-1.13.ebuild b/app-vim/vim-go/vim-go-1.13.ebuild index 13ca24a19263..ad5a3b542300 100644 --- a/app-vim/vim-go/vim-go-1.13.ebuild +++ b/app-vim/vim-go/vim-go-1.13.ebuild @@ -16,6 +16,8 @@ VIM_PLUGIN_HELPFILES="${PN}" RESTRICT="test" +DOCS=( README.md CHANGELOG.md ) + src_compile() { # safely skip `make test` triggered by `make` as it runs `go get` commands # TODO: see :GoInstallBinaries (https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt) diff --git a/app-vim/vim-go/vim-go-1.19.ebuild b/app-vim/vim-go/vim-go-1.19.ebuild index 34139c8cfca2..9bed778af92e 100644 --- a/app-vim/vim-go/vim-go-1.19.ebuild +++ b/app-vim/vim-go/vim-go-1.19.ebuild @@ -16,6 +16,8 @@ VIM_PLUGIN_HELPFILES="${PN}" RESTRICT="test" +DOCS=( README.md CHANGELOG.md ) + src_compile() { # safely skip `make test` triggered by `make` as it runs `go get` commands # TODO: see :GoInstallBinaries (https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt) diff --git a/app-vim/vim-go/vim-go-1.20.ebuild b/app-vim/vim-go/vim-go-1.20.ebuild index 3a6740617589..a8af2d6a21c2 100644 --- a/app-vim/vim-go/vim-go-1.20.ebuild +++ b/app-vim/vim-go/vim-go-1.20.ebuild @@ -15,6 +15,8 @@ VIM_PLUGIN_HELPFILES="${PN}" RESTRICT="test" +DOCS=( README.md CHANGELOG.md ) + src_compile() { # safely skip `make test` triggered by `make` as it runs `go get` commands # TODO: see :GoInstallBinaries (https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt) diff --git a/app-vim/vim-multiple-cursors/vim-multiple-cursors-2.2-r1.ebuild b/app-vim/vim-multiple-cursors/vim-multiple-cursors-2.2-r1.ebuild index ebf1fe13f8be..5706c1bf186d 100644 --- a/app-vim/vim-multiple-cursors/vim-multiple-cursors-2.2-r1.ebuild +++ b/app-vim/vim-multiple-cursors/vim-multiple-cursors-2.2-r1.ebuild @@ -17,8 +17,5 @@ src_install() { rm -r \ "${ED}"/usr/share/vim/vimfiles/spec \ "${ED}"/usr/share/vim/vimfiles/assets \ - "${ED}"/usr/share/doc/${PF}/MIT-LICENSE.txt \ - "${ED}"/usr/share/doc/${PF}/Rakefile \ - "${ED}"/usr/share/doc/${PF}/Gemfile.lock \ || die "rm failed" } diff --git a/app-vim/vim-tmux/vim-tmux-3.0.0.ebuild b/app-vim/vim-tmux/vim-tmux-3.0.0.ebuild index a0de84c8678f..e5d150acda38 100644 --- a/app-vim/vim-tmux/vim-tmux-3.0.0.ebuild +++ b/app-vim/vim-tmux/vim-tmux-3.0.0.ebuild @@ -10,3 +10,5 @@ HOMEPAGE="https://github.com/tmux-plugins/vim-tmux" SRC_URI="https://github.com/tmux-plugins/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="public-domain MIT" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +DOCS=( README.md CHANGELOG.md ) diff --git a/app-vim/vimagit/vimagit-1.7.3.ebuild b/app-vim/vimagit/vimagit-1.7.3.ebuild index 2fa87c6aceb4..2c6c0674676f 100644 --- a/app-vim/vimagit/vimagit-1.7.3.ebuild +++ b/app-vim/vimagit/vimagit-1.7.3.ebuild @@ -19,6 +19,8 @@ VIM_PLUGIN_HELPFILES="${PN}" RDEPEND="dev-vcs/git" +DOCS=( README.md Changelog ) + src_prepare() { rm _config.yml || die default diff --git a/app-vim/vimagit/vimagit-9999.ebuild b/app-vim/vimagit/vimagit-9999.ebuild index 2fa87c6aceb4..2c6c0674676f 100644 --- a/app-vim/vimagit/vimagit-9999.ebuild +++ b/app-vim/vimagit/vimagit-9999.ebuild @@ -19,6 +19,8 @@ VIM_PLUGIN_HELPFILES="${PN}" RDEPEND="dev-vcs/git" +DOCS=( README.md Changelog ) + src_prepare() { rm _config.yml || die default diff --git a/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild b/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild index 6d3c5d62b0e7..136a7d20461f 100644 --- a/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild +++ b/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild @@ -19,7 +19,7 @@ RDEPEND="dev-lang/clojure" S="${WORKDIR}/${MY_PN}-${PV}" -DOCS=( doc/LICENSE.txt ) +DOCS=( README README.markdown ) # Files with similar names are already installed by app-vim/slimv. DUPLICATE_FILES=( @@ -47,6 +47,6 @@ src_prepare() { src_install() { einstalldocs - rm -rv "${DOCS[@]}" bin || die + rm -rv doc/LICENSE.txt bin || die vim-plugin_src_install } diff --git a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild index 223c9d3a7da3..b53f28c71ccf 100644 --- a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild +++ b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild @@ -30,6 +30,8 @@ RDEPEND=" DEPEND=" ${RDEPEND}" +DOCS=( README CHANGELOG TODO.otl ) + src_prepare() { default |