mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
mercurial.eclass: Remove conditionals for EAPIs 0, 1, 2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: mercurial.eclass
|
||||
@@ -106,8 +106,6 @@ EHG_OFFLINE="${EHG_OFFLINE:-${EVCS_OFFLINE}}"
|
||||
mercurial_fetch() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
|
||||
|
||||
EHG_REPO_URI=${1-${EHG_REPO_URI}}
|
||||
[[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user