diff options
author | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:44 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:44 +0200 |
commit | b4b611d7b4d6fed49624e4fb14edf06c0a8df559 (patch) | |
tree | 82ca869344ca10f4ebedc112cef29d7ac41d7067 /eclass | |
parent | vim-doc.eclass: drop support for EAPI 6 (diff) | |
download | gentoo-b4b611d7b4d6fed49624e4fb14edf06c0a8df559.tar.gz gentoo-b4b611d7b4d6fed49624e4fb14edf06c0a8df559.tar.bz2 gentoo-b4b611d7b4d6fed49624e4fb14edf06c0a8df559.zip |
vim-plugin.eclass: drop support for EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim-plugin.eclass | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass index b2ae0cb9e4c3..8c36f42ba277 100644 --- a/eclass/vim-plugin.eclass +++ b/eclass/vim-plugin.eclass @@ -4,7 +4,7 @@ # @ECLASS: vim-plugin.eclass # @MAINTAINER: # vim@gentoo.org -# @SUPPORTED_EAPIS: 6 7 8 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: used for installing vim plugins # @DESCRIPTION: # This eclass simplifies installation of app-vim plugins into @@ -16,17 +16,13 @@ if [[ -z ${_VIM_PLUGIN_ECLASS} ]]; then _VIM_PLUGIN_ECLASS=1 case ${EAPI} in - 6) - ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!" - ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI." - ;; 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac inherit vim-doc -[[ ${EAPI} != [67] ]] && _DEFINE_VIM_PLUGIN_SRC_PREPARE=true +[[ ${EAPI} != 7 ]] && _DEFINE_VIM_PLUGIN_SRC_PREPARE=true # @ECLASS_VARIABLE: VIM_PLUGIN_VIM_VERSION # @DESCRIPTION: @@ -102,8 +98,8 @@ vim-plugin_src_install() { # Install remainder of plugin insinto /usr/share/vim/vimfiles/ local d - case ${EAPI:-0} in - 6|7) + case ${EAPI} in + 7) for d in *; do [[ -d "${d}" ]] || continue doins -r "${d}" |