• [gentoo-dev] [PATCH 08/41] dotnet.eclass: drop EAPI 6 support

    From David Seifert@21:1/5 to All on Sun Dec 25 23:20:01 2022
    Signed-off-by: David Seifert <soap@gentoo.org>
    ---
    eclass/dotnet.eclass | 21 ++++++++++-----------
    1 file changed, 10 insertions(+), 11 deletions(-)

    diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
    index 319fde89311..b92b9c1b405 100644
    --- a/eclass/dotnet.eclass
    +++ b/eclass/dotnet.eclass
    @@ -4,7 +4,7 @@
    # @ECLASS: dotnet.eclass
    # @MAINTAINER:
    # maintainer-needed@gentoo.org
    -# @SUPPORTED_EAPIS: 6 7
    +# @SUPPORTED_EAPIS: 7
    # @BLURB: common settings and functions for mono and dotnet related packages
    # @DESCRIPTION:
    # The dotnet eclass contains common environment settings that are useful for @@ -13,18 +13,15 @@
    # of dotnet packages.

    case ${EAPI} in
    - 6)
    - inherit eapi7-ver multilib
    - DEPEND="dev-lang/mono"
    - ;;
    - 7)
    - BDEPEND="dev-lang/mono"
    - ;;
    - *)
    - die "${ECLASS}: EAPI ${EAPI:-0} not supported"
    - ;;
    + 7) ;;
    + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    +if [[ ! ${_DOTNET_ECLASS} ]]; then
    +_DOTNET_ECLASS=1
    +
    +BDEPEND="dev-lang/mono"
    +
    inherit mono-env

    # @ECLASS_VARIABL