• [gentoo-dev] [PATCH 1/2] cargo.eclass: Drop EAPI 7 support

    From James Le Cuirot@21:1/5 to All on Fri Jun 7 19:10:01 2024
    It is going to inherit rust-toolchain, which is EAPI 8 only.

    Signed-off-by: James Le Cuirot <chewi@gentoo.org>
    ---

    There are still some EAPI 7 ebuilds left right now, but I'm working on that!

    eclass/cargo.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
    index a685cd99fb38b..ef55e0613e61c 100644
    --- a/eclass/cargo.eclass
    +++ b/eclass/cargo.eclass
    @@ -7,11 +7,11 @@
    # @AUTHOR:
    # Doug Goldstein <cardoe@gentoo.org>
    # Georgy Yakovlev <gyakovlev@gentoo.org>
    -# @SUPPORTED_EAPIS: 7 8
    +# @SUPPORTED_EAPIS: 8
    # @BLURB: common functions and variables for cargo builds

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

    --
    2.45.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)