diff options
author | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:43 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:43 +0200 |
commit | 078850f794af926ef62a403ff17fa0e7876e5992 (patch) | |
tree | fe0062f5dc2f61c44645f7a5e384c1a9a9b1b856 /eclass | |
parent | vdr-plugin-2.eclass: drop support for EAPI 6 (diff) | |
download | gentoo-078850f794af926ef62a403ff17fa0e7876e5992.tar.gz gentoo-078850f794af926ef62a403ff17fa0e7876e5992.tar.bz2 gentoo-078850f794af926ef62a403ff17fa0e7876e5992.zip |
vim-doc.eclass: drop support for EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim-doc.eclass | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/vim-doc.eclass b/eclass/vim-doc.eclass index f20f7397cf65..e87310319c7d 100644 --- a/eclass/vim-doc.eclass +++ b/eclass/vim-doc.eclass @@ -4,7 +4,7 @@ # @ECLASS: vim-doc.eclass # @MAINTAINER: # vim@gentoo.org -# @SUPPORTED_EAPIS: 6 7 8 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: Eclass for vim{,-plugin}.eclass to update documentation tags. # @DESCRIPTION: # This eclass is used by vim.eclass and vim-plugin.eclass to update @@ -16,13 +16,10 @@ # DEPEND in vim-plugin or by whatever version of vim is being # installed by the eclass. -if [[ ! ${_VIM_DOC_ECLASS} ]] ; then +if [[ -z ${_VIM_DOC_ECLASS} ]]; then +_VIM_DOC_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 @@ -58,7 +55,7 @@ update_vim_helptags() { # Install the documentation symlinks into the versioned vim # directory and run :helptags - for d in "${EROOT%/}"/usr/share/vim/vim[0-9]*; do + for d in "${EROOT}"/usr/share/vim/vim[0-9]*; do [[ -d "${d}/doc" ]] || continue # catch a failed glob # Remove links @@ -104,5 +101,4 @@ update_vim_helptags() { fi } -_VIM_DOC_ECLASS=1 fi |