diff options
author | Marco Sirabella <marco@sirabella.org> | 2021-05-07 20:09:05 -0400 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2021-05-18 18:51:01 +0200 |
commit | 294588df77a641a9782d9ccdcd1a97f8818f6994 (patch) | |
tree | 31b82f66efc9a4828597e5b60067e527a47dec1d /app-vim | |
parent | x11-libs/libX11: 1.7.1 version bump. (diff) | |
download | gentoo-294588df77a641a9782d9ccdcd1a97f8818f6994.tar.gz gentoo-294588df77a641a9782d9ccdcd1a97f8818f6994.tar.bz2 gentoo-294588df77a641a9782d9ccdcd1a97f8818f6994.zip |
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@sirabella.org>
Closes: https://github.com/gentoo/gentoo/pull/20726
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-vim')
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 0e78b5e0f236..251c2828177c 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 811a2c7d14b5..404c01f47a2c 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 c286927dffc5..1060d9bc024e 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 9447a5bc849d..81aca8dbd9eb 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 e285e23f86cd..31aea8d0d5e5 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 527019cac449..06ec8e1d1fea 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 a2e3cf0246cc..25c3f3b09634 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 9a89114bce28..910cf0b45a99 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 ce3311f5e11d..604e340d384c 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 5c58b72ce8c2..b9be432a8723 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 6f6a9f432e49..68beecd30109 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 865097db74bd..b7867cfbd7dd 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 437d26234642..f03a5ee4bdb3 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 adce6ea8f64d..27e26d5f0ef9 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 c7ba8deee65e..dfacc4337778 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 38fbbde158d1..310ddafb3e50 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 472b9617df4c..82cd3e29182b 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 0c83e952b99e..1d6b2d011593 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 5bc571a85ef1..1ff820d64c48 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 41b0405f3fb3..cc4a35de61d1 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 747a5ef99670..c130764bbed0 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 2de8be492a93..ddf93439f4e2 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 2de8be492a93..ddf93439f4e2 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 ae8944a0310d..b348fb6700c9 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 9075cc0f3438..c5f260511995 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 db8afe63bda7..05ad9acab198 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 fcda074e38fb..c7cfe8cf263d 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 b07c2abb249c..1979c47e74a7 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 c9f281f5d3fd..6bbf91b46b50 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 8bdc4d823f44..8148044e5008 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 8bdc4d823f44..8148044e5008 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 a946abada7e4..36b8beafcb56 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 f4e3e63a7ed8..01f519014eb6 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 b25107b0fb76..4e3e3febe1f9 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 c658ff027631..033760d30e84 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 d49d64a30af6..cd1b4a77c87d 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 8af04e2940db..2f5fd640f136 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 c58594e2454c..c853ab76a324 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 1e540f3549f3..20f9a20bce50 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 4625bc792f6f..eff1b3d2837b 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 deaa6bd8831d..ff7bf44a6a92 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 df6c6fa1d276..c99338b68ea2 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 80225618fcfa..1f0eef6a4e79 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 6820a54e5e04..3ebb77b052d5 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 d010b1ea6e6a..4f8901eacc87 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 c4e81eac5591..123c92cde935 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 8894330256a4..a25aa8092ba6 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 de751c8772fc..89ae6b9d4d20 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 4adcc7962d62..0990da1c2f37 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 97b915a6b3ba..501e1e112a11 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 3a12f0b17060..9c7537abeaa7 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 df90ee8b9a49..69a838e5e60f 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 4d25ff36d369..4631efb668fe 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 1a5c531eb7d6..34f3785eb02c 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 970dcd5aba6b..de0e056a2365 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 2ac266822df7..837dae307c7a 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 54eb296ba217..c9acb1f73481 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 2c6c0674676f..6aa0dbdc0cbf 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 2c6c0674676f..6aa0dbdc0cbf 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 136a7d20461f..df60e26eccb4 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 b5f625af1cfa..f209758f41cc 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 b53f28c71ccf..0d2e68eecfbc 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 23e077e8f05f..3af39cb617a8 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 fc0060ecefde..ab5a23fb7d1e 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 84d31825dee7..666161f561a7 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() { :; } |