• [PATCH] office-ext-r1.eclass: Support EAPI-8

    From Andreas Sturmlechner@21:1/5 to All on Mon Dec 16 23:09:56 2024
    To: office@gentoo.org

    ---
    eclass/office-ext-r1.eclass | 28 +++++++++-------------------
    1 file changed, 9 insertions(+), 19 deletions(-)

    diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass
    index 7e4d894483fe..9ee4561f0c11 100644
    --- a/eclass/office-ext-r1.eclass
    +++ b/eclass/office-ext-r1.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2023 Gentoo Authors
    +# Copyright 1999-2024 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: office-ext-r1.eclass
    @@ -6,13 +6,13 @@
    # The office team <office@gentoo.org>
    # @AUTHOR:
    # Tomáš Chvátal <scarabeus@gentoo.org>
    -# @SUPPORTED_EAPIS: 7
    +# @SUPPORTED_EAPIS: 7 8
    # @BLURB: Eclass for installing libreoffice extensions
    # @DESCRIPTION:
    # Eclass for easing maintenance of libreoffice extensions.

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

    @@ -70,11 +70,13 @@ fi
    # @CODE
    : "${OFFICE_EXTENSIONS_LOCATION:=${DISTDIR}}"

    -IUSE=""
    -RDEPEND=""
    +