• [gentoo-dev] [PATCH v3 1/8] vim-doc.eclass: support EAPI 8

    From Anna Vyalkova@21:1/5 to All on Wed Apr 6 16:00:01 2022
    From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>

    Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
    ---
    eclass/vim-doc.eclass | 48 ++++++++++++++++++++++---------------------
    1 file changed, 25 insertions(+), 23 deletions(-)

    diff --git a/eclass/vim-doc.eclass b/eclass/vim-doc.eclass
    index ba9d00f4f5..be66d6159a 100644
    --- a/eclass/vim-doc.eclass
    +++ b/eclass/vim-doc.eclass
    @@ -1,10 +1,10 @@
    -# Copyright 1999-2021 Gentoo Authors
    +# Copyright 1999-2022 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: vim-doc.eclass
    # @MAINTAINER:
    # vim@gentoo.org
    -# @SUPPORTED_EAPIS: 6 7
    +# @SUPPORTED_EAPIS: 6 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,12 @@
    # DEPEND in vim-plugin or by whatever version of vim is being
    # installed by the eclass.

    -case ${EAPI:-0} in
    - [67]) ;;
    +case ${EAPI} in
    + 6|7|8) ;;
    *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    -if [[ -z ${_VIM_DOC_ECLASS} ]] ; then
    -_VI