mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-26 07:42:18 +01:00
eclass/mercurial: Sync with Gentoo
It's from Gentoo commit 3e3e9adee23e6270725b5ef62121ff641ffb4700. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
408b15b470
commit
0934136fbd
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 2006-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: mercurial.eclass
|
||||
@ -7,7 +7,7 @@
|
||||
# @AUTHOR:
|
||||
# Next gen author: Krzysztof Pawlik <nelchael@gentoo.org>
|
||||
# Original author: Aron Griffis <agriffis@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: This eclass provides generic mercurial fetching functions
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides generic mercurial fetching functions. To fetch sources
|
||||
@ -15,14 +15,14 @@
|
||||
# you need to share single repository between several ebuilds set EHG_PROJECT to
|
||||
# project name in all of them.
|
||||
|
||||
case ${EAPI:-0} in
|
||||
[78]) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_MERCURIAL_ECLASS} ]] ; then
|
||||
_MERCURIAL_ECLASS=1
|
||||
|
||||
case ${EAPI:-0} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
PROPERTIES+=" live"
|
||||
|
||||
BDEPEND="dev-vcs/mercurial"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user