• [gentoo-dev] [PATCH v2] gkrellm-plugin.eclass: Support EAPI 8

    From Thomas Bracht Laumann Jespersen@21:1/5 to All on Fri Mar 18 22:00:01 2022
    The most notable changes are:

    * BDEPEND on "virtual/pkgconfig" instead of DEPEND

    * Add @DEFAULT_UNSET to the variables PLUGIN_SERVER_SO and PLUGIN_DOCS

    Looking over the eclass, it doesn't appear to use any functionality that was modified or banned in EAPI 7 or 8.

    Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    ---

    v1 -> v2: Change the EAPI guard to a more standardized version.

    eclass/gkrellm-plugin.eclass | 33 ++++++++++++++++++---------------
    1 file changed, 18 insertions(+), 15 deletions(-)

    diff --git a/eclass/gkrellm-plugin.eclass b/eclass/gkrellm-plugin.eclass
    index fb3800f56b7..c247e6362eb 100644
    --- a/eclass/gkrellm-plugin.eclass
    +++ b/eclass/gkrellm-plugin.eclass
    @@ -7,7 +7,8 @@
    # @AUTHOR:
    # Original author: Jim Ramsay <lack@gentoo.org>
    # EAPI 6 author: David Seifert <soap@gentoo.org>
    -# @SUPPORTED_EAPIS: 6
    +# EAPI 8 author: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    +# @SUPPORTED_EAPIS: 6 8
    # @PROVIDES: multilib
    # @BLURB: Provides src_install used by (almost) all gkrellm plugins
    # @DESCRIPTION:
    @@ -15,6 +16,8 @@
    # - Provides a common src_install method to avoid code duplication
    #
    # Changelog:
    +# 17 March 2022: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    +# - Port to EAPI 8
    # 03 January 2018: David Seifert <soap@gentoo.org>
    # - Port to EAPI 6,