summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-07-08 19:44:49 +0200
committerUlrich Müller <ulm@gentoo.org>2024-07-11 22:54:11 +0200
commite27f68c1a16993efd00c81145d33d792a0f870d9 (patch)
treedabdd9c7e6abf530c711e8e7604ff1e380fbcd3b
parentvcs-snapshot.eclass: Drop support for EAPI 6 (diff)
downloadgentoo-e27f68c1a16993efd00c81145d33d792a0f870d9.tar.gz
gentoo-e27f68c1a16993efd00c81145d33d792a0f870d9.tar.bz2
gentoo-e27f68c1a16993efd00c81145d33d792a0f870d9.zip
git-r3.eclass: Drop support for EAPI 6
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/git-r3.eclass13
1 files changed, 4 insertions, 9 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 565f6ada8382..35ad6afe8e88 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -4,7 +4,7 @@
# @ECLASS: git-r3.eclass
# @MAINTAINER:
# Michał Górny <mgorny@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: Eclass for fetching and unpacking git repositories.
# @DESCRIPTION:
# Third generation eclass for easing maintenance of live ebuilds using
@@ -26,7 +26,7 @@
# If non-empty, then the repo likely needs EGIT_LFS to clone properly.
case ${EAPI} in
- 6|7|8) ;;
+ 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -35,13 +35,8 @@ _GIT_R3_ECLASS=1
PROPERTIES+=" live"
-if [[ ${EAPI} != 6 ]]; then
- BDEPEND=">=dev-vcs/git-1.8.2.1[curl]"
- [[ ${EGIT_LFS} ]] && BDEPEND+=" dev-vcs/git-lfs"
-else
- DEPEND=">=dev-vcs/git-1.8.2.1[curl]"
- [[ ${EGIT_LFS} ]] && DEPEND+=" dev-vcs/git-lfs"
-fi
+BDEPEND=">=dev-vcs/git-1.8.2.1[curl]"
+[[ ${EGIT_LFS} ]] && BDEPEND+=" dev-vcs/git-lfs"
# @ECLASS_VARIABLE: EGIT_CLONE_TYPE
# @USER_VARIABLE