From 6fe2e7f93185af05ad8ea8ac3a4c90e821eed10f Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 18 Aug 2024 20:30:32 +0300 Subject: app-vim/nerdtree: fix missing src_install With the previous bump to EAPI=8, I've broken the package, thanks to the report in the bug, a solution was suggested which fixes it. Closes: https://bugs.gentoo.org/938104 Signed-off-by: Arthur Zamarin --- app-vim/nerdtree/nerdtree-7.1.3-r1.ebuild | 26 ++++++++++++++++++++++++++ app-vim/nerdtree/nerdtree-7.1.3.ebuild | 22 ---------------------- app-vim/nerdtree/nerdtree-9999.ebuild | 4 ++++ 3 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 app-vim/nerdtree/nerdtree-7.1.3-r1.ebuild delete mode 100644 app-vim/nerdtree/nerdtree-7.1.3.ebuild (limited to 'app-vim') diff --git a/app-vim/nerdtree/nerdtree-7.1.3-r1.ebuild b/app-vim/nerdtree/nerdtree-7.1.3-r1.ebuild new file mode 100644 index 000000000000..d4df4bcc54b7 --- /dev/null +++ b/app-vim/nerdtree/nerdtree-7.1.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vim-plugin + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/preservim/nerdtree.git" + inherit git-r3 +else + SRC_URI="https://github.com/preservim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~x64-macos" +fi + +DESCRIPTION="vim plugin: A tree explorer plugin for navigating the filesystem" +HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1658 https://github.com/preservim/nerdtree" +LICENSE="WTFPL-2" + +VIM_PLUGIN_HELPFILES="NERD_tree" + +DOCS=( CHANGELOG.md README.markdown ) + +src_install() { + vim-plugin_src_install lib nerdtree_plugin +} diff --git a/app-vim/nerdtree/nerdtree-7.1.3.ebuild b/app-vim/nerdtree/nerdtree-7.1.3.ebuild deleted file mode 100644 index 43efd6000390..000000000000 --- a/app-vim/nerdtree/nerdtree-7.1.3.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit vim-plugin - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/preservim/nerdtree.git" - inherit git-r3 -else - SRC_URI="https://github.com/preservim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~x64-macos" -fi - -DESCRIPTION="vim plugin: A tree explorer plugin for navigating the filesystem" -HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1658 https://github.com/preservim/nerdtree" -LICENSE="WTFPL-2" - -VIM_PLUGIN_HELPFILES="NERD_tree" - -DOCS=( CHANGELOG.md README.markdown ) diff --git a/app-vim/nerdtree/nerdtree-9999.ebuild b/app-vim/nerdtree/nerdtree-9999.ebuild index 0377680a8462..e3b359857f9f 100644 --- a/app-vim/nerdtree/nerdtree-9999.ebuild +++ b/app-vim/nerdtree/nerdtree-9999.ebuild @@ -20,3 +20,7 @@ LICENSE="WTFPL-2" VIM_PLUGIN_HELPFILES="NERD_tree" DOCS=( CHANGELOG.md README.markdown ) + +src_install() { + vim-plugin_src_install lib nerdtree_plugin +} -- cgit v1.2.3-65-gdbad