commit: b84eda9cbb44631adff38ad16ae268befffad642 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:29:38 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Mar 13 16:06:44 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84eda9c
git-r3.eclass: Support EAPI 9 Acked-by: Michał Górny <mgorny <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/git-r3.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 35ad6afe8e88..2a74078634fd 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: git-r3.eclass # @MAINTAINER: # Michał Górny <[email protected]> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Eclass for fetching and unpacking git repositories. # @DESCRIPTION: # Third generation eclass for easing maintenance of live ebuilds using @@ -25,14 +25,14 @@ # defined but EGIT_LFS is not turned on and vice versa. # If non-empty, then the repo likely needs EGIT_LFS to clone properly. +if [[ -z ${_GIT_R3_ECLASS} ]]; then +_GIT_R3_ECLASS=1 + case ${EAPI} in - 7|8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_GIT_R3_ECLASS} ]]; then -_GIT_R3_ECLASS=1 - PROPERTIES+=" live" BDEPEND=">=dev-vcs/git-1.8.2.1[curl]"
