commit: 294588df77a641a9782d9ccdcd1a97f8818f6994 Author: Marco Sirabella <marco <AT> sirabella <DOT> org> AuthorDate: Sat May 8 00:09:05 2021 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Tue May 18 16:51:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294588df
app-vim/*: memove redundant cleanup code. This is a follow up of 47cf99c7. Leave a lot of heavy lifting to einstalldocs when possible. Signed-off-by: Marco Sirabella <marco <AT> sirabella.org> Closes: https://github.com/gentoo/gentoo/pull/20726 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> app-vim/airline/airline-0.11.ebuild | 6 +++--- app-vim/airline/airline-9999.ebuild | 4 ++-- app-vim/bufexplorer/bufexplorer-7.4.18.ebuild | 5 ----- app-vim/bufexplorer/bufexplorer-7.4.19.ebuild | 5 ----- app-vim/bufexplorer/bufexplorer-9999.ebuild | 5 ----- app-vim/command-t/command-t-5.0.3.ebuild | 1 - app-vim/csound-syntax/csound-syntax-0.8.1.ebuild | 5 ----- app-vim/csound-syntax/csound-syntax-20160804.ebuild | 5 ----- app-vim/csscomplete/csscomplete-1.0.ebuild | 5 ----- app-vim/diffchar/diffchar-8.2.ebuild | 5 ----- app-vim/diffchar/diffchar-8.6.ebuild | 5 ----- app-vim/editorconfig-vim/editorconfig-vim-1.1.1.ebuild | 9 --------- app-vim/exheres-syntax/exheres-syntax-99999999.ebuild | 5 +---- app-vim/gist/gist-7.3.ebuild | 5 +---- app-vim/gitgutter/gitgutter-20180316.ebuild | 3 +-- app-vim/gitgutter/gitgutter-20180815.ebuild | 3 +-- app-vim/gitgutter/gitgutter-99999999.ebuild | 4 ++-- app-vim/gitv/gitv-1.3.1.ebuild | 2 +- app-vim/gundo/gundo-2.6.2-r3.ebuild | 2 +- app-vim/json/json-20150511.ebuild | 5 ----- app-vim/merginal/merginal-2.1.0.ebuild | 5 ----- app-vim/merginal/merginal-2.1.2.ebuild | 7 +------ app-vim/merginal/merginal-9999.ebuild | 7 +------ app-vim/minibufexpl/minibufexpl-6.5.2.ebuild | 7 ------- app-vim/nerdcommenter/nerdcommenter-2.5.2.ebuild | 5 ----- app-vim/nerdcommenter/nerdcommenter-9999.ebuild | 5 ----- app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild | 7 +------ app-vim/nerdtree/nerdtree-5.0.0-r1.ebuild | 5 ----- app-vim/nerdtree/nerdtree-6.4.1.ebuild | 5 ----- app-vim/nerdtree/nerdtree-6.4.3.ebuild | 5 ----- app-vim/nerdtree/nerdtree-9999.ebuild | 5 ----- app-vim/perlomni/perlomni-2.5.ebuild | 13 ------------- app-vim/rails/rails-5.2.ebuild | 5 ----- app-vim/reload/reload-0.6.17-r1.ebuild | 5 ----- app-vim/repeat/repeat-1.1.ebuild | 5 ----- app-vim/screen/screen-1.5.ebuild | 5 ----- app-vim/session/session-2.13.1.ebuild | 7 ------- app-vim/snipmate/snipmate-0.87-r1.ebuild | 5 ----- app-vim/splice/splice-1.1.0-r3.ebuild | 3 ++- app-vim/splice/splice-1.1.0-r4.ebuild | 3 ++- app-vim/supertab/supertab-2.1.ebuild | 5 +---- app-vim/syntastic/syntastic-3.9.0.ebuild | 2 +- app-vim/syntastic/syntastic-9999.ebuild | 2 +- app-vim/tagbar/tagbar-2.7.ebuild | 5 ----- app-vim/tcomment/tcomment-3.08.1.ebuild | 4 ++-- app-vim/tcomment/tcomment-9999.ebuild | 4 ++-- app-vim/tlib/tlib-1.22.ebuild | 2 +- app-vim/tlib/tlib-1.23.ebuild | 2 +- app-vim/txtfmt/txtfmt-2.4-r1.ebuild | 5 ----- app-vim/txtfmt/txtfmt-3.1.ebuild | 5 ----- .../vim-clang-format/vim-clang-format-0_pre20200506.ebuild | 2 +- app-vim/vim-jsonnet/vim-jsonnet-0_pre20190502.ebuild | 6 ------ app-vim/vim-latex/vim-latex-1.10.0-r2.ebuild | 3 --- app-vim/vim-misc/vim-misc-1.17.6.ebuild | 2 +- app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild | 7 ------- app-vim/vim-nftables/vim-nftables-0_pre20200629-r1.ebuild | 7 ------- app-vim/vim-rest-console/vim-rest-console-2.6.0.ebuild | 5 ----- app-vim/vimagit/vimagit-1.7.3.ebuild | 5 ----- app-vim/vimagit/vimagit-9999.ebuild | 5 ----- app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild | 1 - app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild | 1 - app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild | 1 - app-vim/vimtex/vimtex-1.5.ebuild | 4 ++-- app-vim/vimtex/vimtex-99999999.ebuild | 4 ++-- app-vim/webapi/webapi-0.3.ebuild | 5 +---- 65 files changed, 36 insertions(+), 261 deletions(-) diff --git a/app-vim/airline/airline-0.11.ebuild b/app-vim/airline/airline-0.11.ebuild index 0e78b5e0f23..251c2828177 100644 --- a/app-vim/airline/airline-0.11.ebuild +++ b/app-vim/airline/airline-0.11.ebuild @@ -21,11 +21,11 @@ HOMEPAGE="https://github.com/vim-airline/vim-airline/ https://www.vim.org/script LICENSE="MIT" VIM_PLUGIN_HELPFILES="${PN}.txt" -DOCS=( CHANGELOG.md ) +DOCS=( CHANGELOG.md README.md ) src_prepare() { default - # remove unwanted files - rm -r t Gemfile Rakefile LICENSE README* .travis.yml .gitignore || die + # remove test dir + rm -r t || die } diff --git a/app-vim/airline/airline-9999.ebuild b/app-vim/airline/airline-9999.ebuild index 811a2c7d14b..404c01f47a2 100644 --- a/app-vim/airline/airline-9999.ebuild +++ b/app-vim/airline/airline-9999.ebuild @@ -24,6 +24,6 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" src_prepare() { default - # remove unwanted files - rm -r t Gemfile Rakefile LICENSE README* .travis.yml .gitignore || die + # remove unwanted test dir + rm -r t || die } diff --git a/app-vim/bufexplorer/bufexplorer-7.4.18.ebuild b/app-vim/bufexplorer/bufexplorer-7.4.18.ebuild index c286927dffc..1060d9bc024 100644 --- a/app-vim/bufexplorer/bufexplorer-7.4.18.ebuild +++ b/app-vim/bufexplorer/bufexplorer-7.4.18.ebuild @@ -12,8 +12,3 @@ LICENSE="BSD" KEYWORDS="amd64 x86" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - default - rm LICENSE README.md || die -} diff --git a/app-vim/bufexplorer/bufexplorer-7.4.19.ebuild b/app-vim/bufexplorer/bufexplorer-7.4.19.ebuild index 9447a5bc849..81aca8dbd9e 100644 --- a/app-vim/bufexplorer/bufexplorer-7.4.19.ebuild +++ b/app-vim/bufexplorer/bufexplorer-7.4.19.ebuild @@ -12,8 +12,3 @@ LICENSE="BSD" KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - default - rm LICENSE README.md || die -} diff --git a/app-vim/bufexplorer/bufexplorer-9999.ebuild b/app-vim/bufexplorer/bufexplorer-9999.ebuild index e285e23f86c..31aea8d0d5e 100644 --- a/app-vim/bufexplorer/bufexplorer-9999.ebuild +++ b/app-vim/bufexplorer/bufexplorer-9999.ebuild @@ -18,8 +18,3 @@ HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=42 https://github.com LICENSE="BSD" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - default - rm LICENSE README.md || die -} diff --git a/app-vim/command-t/command-t-5.0.3.ebuild b/app-vim/command-t/command-t-5.0.3.ebuild index 527019cac44..06ec8e1d1fe 100644 --- a/app-vim/command-t/command-t-5.0.3.ebuild +++ b/app-vim/command-t/command-t-5.0.3.ebuild @@ -38,7 +38,6 @@ each_ruby_install() { } all_ruby_install() { - rm Gemfile* Rakefile LICENSE README.md || die rm -r appstream bin fixtures data ruby/${PN}/{ext,lib,*.gemspec} spec vendor || die vim-plugin_src_install diff --git a/app-vim/csound-syntax/csound-syntax-0.8.1.ebuild b/app-vim/csound-syntax/csound-syntax-0.8.1.ebuild index a2e3cf0246c..25c3f3b0963 100644 --- a/app-vim/csound-syntax/csound-syntax-0.8.1.ebuild +++ b/app-vim/csound-syntax/csound-syntax-0.8.1.ebuild @@ -17,8 +17,3 @@ KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}" PATCHES=( "${FILESDIR}/${PN}-doc.patch" ) - -src_prepare() { - rm -v LICENSE README.md || die - default -} diff --git a/app-vim/csound-syntax/csound-syntax-20160804.ebuild b/app-vim/csound-syntax/csound-syntax-20160804.ebuild index 9a89114bce2..910cf0b45a9 100644 --- a/app-vim/csound-syntax/csound-syntax-20160804.ebuild +++ b/app-vim/csound-syntax/csound-syntax-20160804.ebuild @@ -13,8 +13,3 @@ KEYWORDS="amd64 x86" VIM_PLUGIN_HELPFILES="${PN}" PATCHES=( "${FILESDIR}/${PN}-doc.patch" ) - -src_prepare() { - rm -v LICENSE README.md || die - default -} diff --git a/app-vim/csscomplete/csscomplete-1.0.ebuild b/app-vim/csscomplete/csscomplete-1.0.ebuild index ce3311f5e11..604e340d384 100644 --- a/app-vim/csscomplete/csscomplete-1.0.ebuild +++ b/app-vim/csscomplete/csscomplete-1.0.ebuild @@ -17,11 +17,6 @@ DEPEND="app-arch/unzip" S="${WORKDIR}/${PN}.vim-${PV}" -src_prepare() { - default - rm -v config.mk || die -} - src_compile() { :; } diff --git a/app-vim/diffchar/diffchar-8.2.ebuild b/app-vim/diffchar/diffchar-8.2.ebuild index 5c58b72ce8c..b9be432a872 100644 --- a/app-vim/diffchar/diffchar-8.2.ebuild +++ b/app-vim/diffchar/diffchar-8.2.ebuild @@ -14,8 +14,3 @@ LICENSE="vim.org" KEYWORDS="amd64 x86" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - default - rm *.gif *.png *.md || die -} diff --git a/app-vim/diffchar/diffchar-8.6.ebuild b/app-vim/diffchar/diffchar-8.6.ebuild index 6f6a9f432e4..68beecd3010 100644 --- a/app-vim/diffchar/diffchar-8.6.ebuild +++ b/app-vim/diffchar/diffchar-8.6.ebuild @@ -14,8 +14,3 @@ LICENSE="vim.org" KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - default - rm *.gif *.png *.md || die -} diff --git a/app-vim/editorconfig-vim/editorconfig-vim-1.1.1.ebuild b/app-vim/editorconfig-vim/editorconfig-vim-1.1.1.ebuild index 865097db74b..b7867cfbd7d 100644 --- a/app-vim/editorconfig-vim/editorconfig-vim-1.1.1.ebuild +++ b/app-vim/editorconfig-vim/editorconfig-vim-1.1.1.ebuild @@ -18,15 +18,6 @@ KEYWORDS="amd64 x86" VIM_PLUGIN_HELPFILES="${PN%-vim}.txt" -src_prepare() { - default - - rm LICENSE LICENSE.PSF \ - mkzip.sh .editorconfig \ - .git{ignore,modules} \ - .{travis,appveyor}.yml || die -} - src_install() { # we don't want to install the tests rm -r tests || die diff --git a/app-vim/exheres-syntax/exheres-syntax-99999999.ebuild b/app-vim/exheres-syntax/exheres-syntax-99999999.ebuild index 437d2623464..f03a5ee4bdb 100644 --- a/app-vim/exheres-syntax/exheres-syntax-99999999.ebuild +++ b/app-vim/exheres-syntax/exheres-syntax-99999999.ebuild @@ -16,7 +16,4 @@ IUSE="" VIM_PLUGIN_HELPFILES="exheres-syntax" VIM_PLUGIN_MESSAGES="filetype" -src_prepare() { - default - rm .gitignore Makefile || die -} +src_compile() { :; } diff --git a/app-vim/gist/gist-7.3.ebuild b/app-vim/gist/gist-7.3.ebuild index adce6ea8f64..27e26d5f0ef 100644 --- a/app-vim/gist/gist-7.3.ebuild +++ b/app-vim/gist/gist-7.3.ebuild @@ -24,7 +24,4 @@ VIM_PLUGIN_HELPFILES="Gist.vim" S=${WORKDIR}/${MY_P} -src_prepare() { - default - rm README.md gist.vim* Makefile || die -} +src_compile() { :; } diff --git a/app-vim/gitgutter/gitgutter-20180316.ebuild b/app-vim/gitgutter/gitgutter-20180316.ebuild index c7ba8deee65..dfacc433777 100644 --- a/app-vim/gitgutter/gitgutter-20180316.ebuild +++ b/app-vim/gitgutter/gitgutter-20180316.ebuild @@ -24,7 +24,6 @@ RDEPEND="dev-vcs/git" src_prepare() { default - # remove unwanted files - rm LICENCE README* screenshot.png unplace.vim || die + # remove unwanted test dir rm -r test || die } diff --git a/app-vim/gitgutter/gitgutter-20180815.ebuild b/app-vim/gitgutter/gitgutter-20180815.ebuild index 38fbbde158d..310ddafb3e5 100644 --- a/app-vim/gitgutter/gitgutter-20180815.ebuild +++ b/app-vim/gitgutter/gitgutter-20180815.ebuild @@ -24,7 +24,6 @@ RDEPEND="dev-vcs/git" src_prepare() { default - # remove unwanted files - rm LICENCE README* screenshot.png unplace.vim || die + # remove unwanted test dir rm -r test || die } diff --git a/app-vim/gitgutter/gitgutter-99999999.ebuild b/app-vim/gitgutter/gitgutter-99999999.ebuild index 472b9617df4..82cd3e29182 100644 --- a/app-vim/gitgutter/gitgutter-99999999.ebuild +++ b/app-vim/gitgutter/gitgutter-99999999.ebuild @@ -24,6 +24,6 @@ RDEPEND="dev-vcs/git" src_prepare() { default - # remove unwanted files - rm -rv LICENCE README* screenshot.png test || die + # remove unwanted test dir + rm -rv test || die } diff --git a/app-vim/gitv/gitv-1.3.1.ebuild b/app-vim/gitv/gitv-1.3.1.ebuild index 0c83e952b99..1d6b2d01159 100644 --- a/app-vim/gitv/gitv-1.3.1.ebuild +++ b/app-vim/gitv/gitv-1.3.1.ebuild @@ -24,7 +24,7 @@ RDEPEND=" app-vim/fugitive" src_prepare() { - rm -f doc/tags addon-info.json roadmap.md || die + rm -f doc/tags || die rm -r img || die default } diff --git a/app-vim/gundo/gundo-2.6.2-r3.ebuild b/app-vim/gundo/gundo-2.6.2-r3.ebuild index 5bc571a85ef..1ff820d64c4 100644 --- a/app-vim/gundo/gundo-2.6.2-r3.ebuild +++ b/app-vim/gundo/gundo-2.6.2-r3.ebuild @@ -27,6 +27,6 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" PATCHES=( "${FILESDIR}"/${P}-python3.patch ) src_prepare() { - rm -r .gitignore .hg* package.sh README* site tests || die + rm -r site tests || die default } diff --git a/app-vim/json/json-20150511.ebuild b/app-vim/json/json-20150511.ebuild index 41b0405f3fb..cc4a35de61d 100644 --- a/app-vim/json/json-20150511.ebuild +++ b/app-vim/json/json-20150511.ebuild @@ -11,8 +11,3 @@ 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.0.ebuild b/app-vim/merginal/merginal-2.1.0.ebuild index 747a5ef9967..c130764bbed 100644 --- a/app-vim/merginal/merginal-2.1.0.ebuild +++ b/app-vim/merginal/merginal-2.1.0.ebuild @@ -24,8 +24,3 @@ LICENSE="vim" RDEPEND="app-vim/fugitive" VIM_PLUGIN_HELPFILES="${PN}" - -src_prepare() { - rm README.md || die - default -} diff --git a/app-vim/merginal/merginal-2.1.2.ebuild b/app-vim/merginal/merginal-2.1.2.ebuild index 2de8be492a9..ddf93439f4e 100644 --- a/app-vim/merginal/merginal-2.1.2.ebuild +++ b/app-vim/merginal/merginal-2.1.2.ebuild @@ -25,9 +25,4 @@ RDEPEND="app-vim/fugitive" VIM_PLUGIN_HELPFILES="${PN}" -DOCS=( CHANGELOG.md ) - -src_prepare() { - rm README.md || die - default -} +DOCS=( CHANGELOG.md README.md ) diff --git a/app-vim/merginal/merginal-9999.ebuild b/app-vim/merginal/merginal-9999.ebuild index 2de8be492a9..ddf93439f4e 100644 --- a/app-vim/merginal/merginal-9999.ebuild +++ b/app-vim/merginal/merginal-9999.ebuild @@ -25,9 +25,4 @@ RDEPEND="app-vim/fugitive" VIM_PLUGIN_HELPFILES="${PN}" -DOCS=( CHANGELOG.md ) - -src_prepare() { - rm README.md || die - default -} +DOCS=( CHANGELOG.md README.md ) diff --git a/app-vim/minibufexpl/minibufexpl-6.5.2.ebuild b/app-vim/minibufexpl/minibufexpl-6.5.2.ebuild index ae8944a0310..b348fb6700c 100644 --- a/app-vim/minibufexpl/minibufexpl-6.5.2.ebuild +++ b/app-vim/minibufexpl/minibufexpl-6.5.2.ebuild @@ -15,10 +15,3 @@ KEYWORDS="amd64 ~mips ppc x86" VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR}/${MY_PN}-${PV} - -src_prepare() { - default - - # discard unwanted files - rm .gitignore README.md || die -} diff --git a/app-vim/nerdcommenter/nerdcommenter-2.5.2.ebuild b/app-vim/nerdcommenter/nerdcommenter-2.5.2.ebuild index 9075cc0f343..c5f26051199 100644 --- a/app-vim/nerdcommenter/nerdcommenter-2.5.2.ebuild +++ b/app-vim/nerdcommenter/nerdcommenter-2.5.2.ebuild @@ -18,8 +18,3 @@ HOMEPAGE="https://github.com/scrooloose/nerdcommenter https://www.vim.org/script LICENSE="WTFPL-2 " VIM_PLUGIN_HELPFILES="NERD_commenter.txt" - -src_prepare() { - default - rm README.md Rakefile || die -} diff --git a/app-vim/nerdcommenter/nerdcommenter-9999.ebuild b/app-vim/nerdcommenter/nerdcommenter-9999.ebuild index db8afe63bda..05ad9acab19 100644 --- a/app-vim/nerdcommenter/nerdcommenter-9999.ebuild +++ b/app-vim/nerdcommenter/nerdcommenter-9999.ebuild @@ -18,8 +18,3 @@ HOMEPAGE="https://github.com/scrooloose/nerdcommenter https://www.vim.org/script LICENSE="WTFPL-2 " VIM_PLUGIN_HELPFILES="NERD_commenter.txt" - -src_prepare() { - default - rm README.md Rakefile || die -} 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 fcda074e38f..c7cfe8cf263 100644 --- a/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild +++ b/app-vim/nerdtree-tabs/nerdtree-tabs-1.4.7.ebuild @@ -17,9 +17,4 @@ S="${WORKDIR}/vim-${P}" VIM_PLUGIN_HELPFILES="${PN}" -DOCS=( CHANGELOG.md ) - -src_prepare() { - default - rm LICENSE README.md || die -} +DOCS=( CHANGELOG.md README.md ) diff --git a/app-vim/nerdtree/nerdtree-5.0.0-r1.ebuild b/app-vim/nerdtree/nerdtree-5.0.0-r1.ebuild index b07c2abb249..1979c47e74a 100644 --- a/app-vim/nerdtree/nerdtree-5.0.0-r1.ebuild +++ b/app-vim/nerdtree/nerdtree-5.0.0-r1.ebuild @@ -12,8 +12,3 @@ LICENSE="WTFPL-2" KEYWORDS="amd64 x86 ~x64-macos" VIM_PLUGIN_HELPFILES="NERD_tree" - -src_prepare() { - default - rm LICENCE || die -} diff --git a/app-vim/nerdtree/nerdtree-6.4.1.ebuild b/app-vim/nerdtree/nerdtree-6.4.1.ebuild index c9f281f5d3f..6bbf91b46b5 100644 --- a/app-vim/nerdtree/nerdtree-6.4.1.ebuild +++ b/app-vim/nerdtree/nerdtree-6.4.1.ebuild @@ -14,8 +14,3 @@ 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 8bdc4d823f4..8148044e500 100644 --- a/app-vim/nerdtree/nerdtree-6.4.3.ebuild +++ b/app-vim/nerdtree/nerdtree-6.4.3.ebuild @@ -20,8 +20,3 @@ 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 8bdc4d823f4..8148044e500 100644 --- a/app-vim/nerdtree/nerdtree-9999.ebuild +++ b/app-vim/nerdtree/nerdtree-9999.ebuild @@ -20,8 +20,3 @@ 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/perlomni/perlomni-2.5.ebuild b/app-vim/perlomni/perlomni-2.5.ebuild index a946abada7e..36b8beafcb5 100644 --- a/app-vim/perlomni/perlomni-2.5.ebuild +++ b/app-vim/perlomni/perlomni-2.5.ebuild @@ -19,17 +19,4 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}.vim-${PV}" -src_prepare() { - default - local CLEANUP=( - Makefile - config.mk - README.mkd - README.mkd.old - win32-install.bat - TODO - ) - rm -v "${CLEANUP[@]}" || die -} - src_compile() { :; } diff --git a/app-vim/rails/rails-5.2.ebuild b/app-vim/rails/rails-5.2.ebuild index f4e3e63a7ed..01f519014eb 100644 --- a/app-vim/rails/rails-5.2.ebuild +++ b/app-vim/rails/rails-5.2.ebuild @@ -17,8 +17,3 @@ KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR}/${MY_P} - -src_prepare() { - rm *.markdown || die - default -} diff --git a/app-vim/reload/reload-0.6.17-r1.ebuild b/app-vim/reload/reload-0.6.17-r1.ebuild index b25107b0fb7..4e3e3febe1f 100644 --- a/app-vim/reload/reload-0.6.17-r1.ebuild +++ b/app-vim/reload/reload-0.6.17-r1.ebuild @@ -16,8 +16,3 @@ RDEPEND=">=app-vim/vim-misc-1.8.5" VIM_PLUGIN_HELPFILES="${PN}.txt" S="${WORKDIR}/vim-${P}" - -src_prepare() { - default - rm addon-info.json *.md || die -} diff --git a/app-vim/repeat/repeat-1.1.ebuild b/app-vim/repeat/repeat-1.1.ebuild index c658ff02763..033760d30e8 100644 --- a/app-vim/repeat/repeat-1.1.ebuild +++ b/app-vim/repeat/repeat-1.1.ebuild @@ -15,8 +15,3 @@ LICENSE="vim" KEYWORDS="amd64 x86" S=${WORKDIR}/${MY_P} - -src_prepare() { - rm *.markdown || die - default -} diff --git a/app-vim/screen/screen-1.5.ebuild b/app-vim/screen/screen-1.5.ebuild index d49d64a30af..cd1b4a77c87 100644 --- a/app-vim/screen/screen-1.5.ebuild +++ b/app-vim/screen/screen-1.5.ebuild @@ -15,8 +15,3 @@ KEYWORDS="amd64 ~arm64 x86" VIM_PLUGIN_HELPFILES="screen.txt" RDEPEND="|| ( app-misc/screen app-misc/tmux )" - -src_prepare() { - rm README || die - default -} diff --git a/app-vim/session/session-2.13.1.ebuild b/app-vim/session/session-2.13.1.ebuild index 8af04e2940d..2f5fd640f13 100644 --- a/app-vim/session/session-2.13.1.ebuild +++ b/app-vim/session/session-2.13.1.ebuild @@ -16,10 +16,3 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" RDEPEND=">=app-vim/vim-misc-1.17.6" S=${WORKDIR}/vim-${P} - -src_prepare() { - default - - # remove unneeded files - rm addon-info.json *.md || die -} diff --git a/app-vim/snipmate/snipmate-0.87-r1.ebuild b/app-vim/snipmate/snipmate-0.87-r1.ebuild index c58594e2454..c853ab76a32 100644 --- a/app-vim/snipmate/snipmate-0.87-r1.ebuild +++ b/app-vim/snipmate/snipmate-0.87-r1.ebuild @@ -23,8 +23,3 @@ S=${WORKDIR}/${MY_P} VIM_PLUGIN_HELPFILES="SnipMate" VIM_PLUGIN_MESSAGES="filetype" - -src_prepare() { - rm addon-info.json || die - default -} diff --git a/app-vim/splice/splice-1.1.0-r3.ebuild b/app-vim/splice/splice-1.1.0-r3.ebuild index 1e540f3549f..20f9a20bce5 100644 --- a/app-vim/splice/splice-1.1.0-r3.ebuild +++ b/app-vim/splice/splice-1.1.0-r3.ebuild @@ -25,10 +25,11 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" src_prepare() { default - rm .[a-z]* Makefile LICENSE.markdown package.sh || die rm -r site || die } +src_compile() { :; } + src_install() { vim-plugin_src_install python_optimize "${ED}"/usr/share/vim/vimfiles/autoload/splicelib diff --git a/app-vim/splice/splice-1.1.0-r4.ebuild b/app-vim/splice/splice-1.1.0-r4.ebuild index 4625bc792f6..eff1b3d2837 100644 --- a/app-vim/splice/splice-1.1.0-r4.ebuild +++ b/app-vim/splice/splice-1.1.0-r4.ebuild @@ -26,10 +26,11 @@ VIM_PLUGIN_HELPFILES="${PN}.txt" src_prepare() { default - rm .[a-z]* Makefile LICENSE.markdown package.sh || die rm -r site || die } +src_compile() { :; } + src_install() { vim-plugin_src_install python_optimize "${ED}"/usr/share/vim/vimfiles/autoload/splicelib diff --git a/app-vim/supertab/supertab-2.1.ebuild b/app-vim/supertab/supertab-2.1.ebuild index deaa6bd8831..ff7bf44a6a9 100644 --- a/app-vim/supertab/supertab-2.1.ebuild +++ b/app-vim/supertab/supertab-2.1.ebuild @@ -13,7 +13,4 @@ KEYWORDS="amd64 ~mips ppc ppc64 x86" VIM_PLUGIN_HELPFILES="${PN}.txt" -src_prepare() { - rm Makefile .gitignore || die - default -} +src_compile() { :; } diff --git a/app-vim/syntastic/syntastic-3.9.0.ebuild b/app-vim/syntastic/syntastic-3.9.0.ebuild index df6c6fa1d27..c99338b68ea 100644 --- a/app-vim/syntastic/syntastic-3.9.0.ebuild +++ b/app-vim/syntastic/syntastic-3.9.0.ebuild @@ -20,7 +20,7 @@ VIM_PLUGIN_HELPFILES="${PN}" src_prepare() { default - rm -r _assets LICENCE README.markdown || die + rm -r _assets || die } pkg_postinst() { diff --git a/app-vim/syntastic/syntastic-9999.ebuild b/app-vim/syntastic/syntastic-9999.ebuild index 80225618fcf..1f0eef6a4e7 100644 --- a/app-vim/syntastic/syntastic-9999.ebuild +++ b/app-vim/syntastic/syntastic-9999.ebuild @@ -20,7 +20,7 @@ VIM_PLUGIN_HELPFILES="${PN}" src_prepare() { default - rm -r _assets LICENCE README.markdown || die + rm -r _assets || die } pkg_postinst() { diff --git a/app-vim/tagbar/tagbar-2.7.ebuild b/app-vim/tagbar/tagbar-2.7.ebuild index 6820a54e5e0..3ebb77b052d 100644 --- a/app-vim/tagbar/tagbar-2.7.ebuild +++ b/app-vim/tagbar/tagbar-2.7.ebuild @@ -15,8 +15,3 @@ KEYWORDS="amd64 x86" RDEPEND=">=dev-util/ctags-5.5" VIM_PLUGIN_HELPFILES="${PN}.txt" - -src_prepare() { - rm LICENSE || die - default -} diff --git a/app-vim/tcomment/tcomment-3.08.1.ebuild b/app-vim/tcomment/tcomment-3.08.1.ebuild index d010b1ea6e6..4f8901eacc8 100644 --- a/app-vim/tcomment/tcomment-3.08.1.ebuild +++ b/app-vim/tcomment/tcomment-3.08.1.ebuild @@ -22,9 +22,9 @@ LICENSE="GPL-3" VIM_PLUGIN_HELPFILES="${PN}.txt" -DOCS=( CHANGES.TXT ) +DOCS=( CHANGES.TXT README ) src_prepare() { default - rm -r README LICENSE.TXT etc spec addon* || die + rm -r etc spec addon* || die } diff --git a/app-vim/tcomment/tcomment-9999.ebuild b/app-vim/tcomment/tcomment-9999.ebuild index c4e81eac559..123c92cde93 100644 --- a/app-vim/tcomment/tcomment-9999.ebuild +++ b/app-vim/tcomment/tcomment-9999.ebuild @@ -22,9 +22,9 @@ LICENSE="GPL-3" VIM_PLUGIN_HELPFILES="${PN}.txt" -DOCS=( CHANGES.txt ) +DOCS=( CHANGES.TXT README ) src_prepare() { default - rm -r README LICENSE.TXT etc spec addon* || die + rm -r etc spec addon* || die } diff --git a/app-vim/tlib/tlib-1.22.ebuild b/app-vim/tlib/tlib-1.22.ebuild index 8894330256a..a25aa8092ba 100644 --- a/app-vim/tlib/tlib-1.22.ebuild +++ b/app-vim/tlib/tlib-1.22.ebuild @@ -22,5 +22,5 @@ DOCS=( README CHANGES.TXT ) src_prepare() { default - rm -r test samples addon-info.json || die + rm -r test samples || die } diff --git a/app-vim/tlib/tlib-1.23.ebuild b/app-vim/tlib/tlib-1.23.ebuild index de751c8772f..89ae6b9d4d2 100644 --- a/app-vim/tlib/tlib-1.23.ebuild +++ b/app-vim/tlib/tlib-1.23.ebuild @@ -22,5 +22,5 @@ DOCS=( README CHANGES.TXT ) src_prepare() { default - rm -r test samples addon-info.json || die + rm -r test samples || die } diff --git a/app-vim/txtfmt/txtfmt-2.4-r1.ebuild b/app-vim/txtfmt/txtfmt-2.4-r1.ebuild index 4adcc7962d6..0990da1c2f3 100644 --- a/app-vim/txtfmt/txtfmt-2.4-r1.ebuild +++ b/app-vim/txtfmt/txtfmt-2.4-r1.ebuild @@ -14,8 +14,3 @@ KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR} - -src_prepare() { - default - rm indent_patch.txt || die -} diff --git a/app-vim/txtfmt/txtfmt-3.1.ebuild b/app-vim/txtfmt/txtfmt-3.1.ebuild index 97b915a6b3b..501e1e112a1 100644 --- a/app-vim/txtfmt/txtfmt-3.1.ebuild +++ b/app-vim/txtfmt/txtfmt-3.1.ebuild @@ -14,8 +14,3 @@ KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" S=${WORKDIR} - -src_prepare() { - default - rm indent_patch.txt || die -} diff --git a/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild b/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild index 3a12f0b1706..9c7537abeaa 100644 --- a/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild +++ b/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild @@ -21,5 +21,5 @@ src_prepare() { default # tests are written in ruby, prefer to avoid that - rm -r .travis.yml test || die + rm -r test || die } diff --git a/app-vim/vim-jsonnet/vim-jsonnet-0_pre20190502.ebuild b/app-vim/vim-jsonnet/vim-jsonnet-0_pre20190502.ebuild index df90ee8b9a4..69a838e5e60 100644 --- a/app-vim/vim-jsonnet/vim-jsonnet-0_pre20190502.ebuild +++ b/app-vim/vim-jsonnet/vim-jsonnet-0_pre20190502.ebuild @@ -16,9 +16,3 @@ KEYWORDS="~amd64 ~x86" RDEPEND="dev-lang/jsonnet" S="${WORKDIR}/${PN}-${COMMIT_HASH}" - -src_prepare() { - default - - rm -f LICENSE .gitignore || die -} diff --git a/app-vim/vim-latex/vim-latex-1.10.0-r2.ebuild b/app-vim/vim-latex/vim-latex-1.10.0-r2.ebuild index 4d25ff36d36..4631efb668f 100644 --- a/app-vim/vim-latex/vim-latex-1.10.0-r2.ebuild +++ b/app-vim/vim-latex/vim-latex-1.10.0-r2.ebuild @@ -30,9 +30,6 @@ VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt i src_compile() { :; } src_install() { - # remove unused metadata - rm vim-latex.metainfo.xml || die - # don't mess up vim's doc dir with random files mv doc mydoc || die mkdir doc || die diff --git a/app-vim/vim-misc/vim-misc-1.17.6.ebuild b/app-vim/vim-misc/vim-misc-1.17.6.ebuild index 1a5c531eb7d..34f3785eb02 100644 --- a/app-vim/vim-misc/vim-misc-1.17.6.ebuild +++ b/app-vim/vim-misc/vim-misc-1.17.6.ebuild @@ -14,6 +14,6 @@ KEYWORDS="amd64 x86" VIM_PLUGIN_HELPFILES="misc.txt" src_prepare() { - rm INSTALL.md addon-info.json autoload/xolox/misc/echo.exe || die + rm autoload/xolox/misc/echo.exe || die default } diff --git a/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild b/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild index 970dcd5aba6..de0e056a236 100644 --- a/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild +++ b/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild @@ -14,10 +14,3 @@ S="${WORKDIR}/${PN}-${COMMIT_ID}" LICENSE="MIT" KEYWORDS="~amd64 ~x86" - -src_prepare() { - default - - # will install license file by default - rm LICENSE || die -} diff --git a/app-vim/vim-nftables/vim-nftables-0_pre20200629-r1.ebuild b/app-vim/vim-nftables/vim-nftables-0_pre20200629-r1.ebuild index 2ac266822df..837dae307c7 100644 --- a/app-vim/vim-nftables/vim-nftables-0_pre20200629-r1.ebuild +++ b/app-vim/vim-nftables/vim-nftables-0_pre20200629-r1.ebuild @@ -18,10 +18,3 @@ KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}/vim-nftables-0_pre2020062901-no-expandtab.patch" ) - -src_prepare() { - default - - # will install license file by default - rm LICENSE || die -} diff --git a/app-vim/vim-rest-console/vim-rest-console-2.6.0.ebuild b/app-vim/vim-rest-console/vim-rest-console-2.6.0.ebuild index 54eb296ba21..c9acb1f7348 100644 --- a/app-vim/vim-rest-console/vim-rest-console-2.6.0.ebuild +++ b/app-vim/vim-rest-console/vim-rest-console-2.6.0.ebuild @@ -14,8 +14,3 @@ KEYWORDS="~amd64 ~x86" VIM_PLUGIN_HELPFILES="${PN}.txt" RDEPEND="net-misc/curl" - -src_prepare() { - rm *.md *.json *.rest || die - default -} diff --git a/app-vim/vimagit/vimagit-1.7.3.ebuild b/app-vim/vimagit/vimagit-1.7.3.ebuild index 2c6c0674676..6aa0dbdc0cb 100644 --- a/app-vim/vimagit/vimagit-1.7.3.ebuild +++ b/app-vim/vimagit/vimagit-1.7.3.ebuild @@ -20,8 +20,3 @@ 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 2c6c0674676..6aa0dbdc0cb 100644 --- a/app-vim/vimagit/vimagit-9999.ebuild +++ b/app-vim/vimagit/vimagit-9999.ebuild @@ -20,8 +20,3 @@ 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 136a7d20461..df60e26eccb 100644 --- a/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild +++ b/app-vim/vimclojure/vimclojure-2.3.6-r3.ebuild @@ -46,7 +46,6 @@ src_prepare() { } src_install() { - einstalldocs rm -rv doc/LICENSE.txt bin || die vim-plugin_src_install } diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild index b5f625af1cf..f209758f41c 100644 --- a/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild +++ b/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild @@ -18,6 +18,5 @@ src_prepare() { default sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim || die sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutliner/vimoutlinerrc || die - rm -v install.sh || die find "${S}" -type f -exec chmod a+r {} \; || die } 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 b53f28c71cc..0d2e68eecfb 100644 --- a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild +++ b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild @@ -48,5 +48,4 @@ src_compile() { 2to3 -w -n --no-diffs "${pyscript}" >& /dev/null || die python_fix_shebang -f -q "${pyscript}" done - rm -v README.detailed || die } diff --git a/app-vim/vimtex/vimtex-1.5.ebuild b/app-vim/vimtex/vimtex-1.5.ebuild index 23e077e8f05..3af39cb617a 100644 --- a/app-vim/vimtex/vimtex-1.5.ebuild +++ b/app-vim/vimtex/vimtex-1.5.ebuild @@ -20,6 +20,6 @@ RDEPEND=" src_prepare() { default - # remove unwanted files - rm -r *.md media test || die + # remove unwanted dirs + rm -r media test || die } diff --git a/app-vim/vimtex/vimtex-99999999.ebuild b/app-vim/vimtex/vimtex-99999999.ebuild index fc0060ecefd..ab5a23fb7d1 100644 --- a/app-vim/vimtex/vimtex-99999999.ebuild +++ b/app-vim/vimtex/vimtex-99999999.ebuild @@ -28,6 +28,6 @@ RDEPEND=" src_prepare() { default - # remove unwanted files - rm -r *.md media test || die + # remove unwanted dirs + rm -r media test || die } diff --git a/app-vim/webapi/webapi-0.3.ebuild b/app-vim/webapi/webapi-0.3.ebuild index 84d31825dee..666161f561a 100644 --- a/app-vim/webapi/webapi-0.3.ebuild +++ b/app-vim/webapi/webapi-0.3.ebuild @@ -15,7 +15,4 @@ RDEPEND="net-misc/curl" S="${WORKDIR}/${PN}-vim-${PV}" -src_prepare() { - default - rm -v Makefile || die -} +src_compile() { :; }