git: enable PROPERTIES=live
This backports Gentoo changes to allow these eclasses to access the
network in src_unpack.
BUG=chromium:1026470
TEST=`emerge-betty midis` works again
Change-Id: I5f6361ff76cd5adda5b122bcaf8368b6243b034b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/1925711
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index a099c08..107830f 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -14,6 +14,8 @@
# This eclass support all EAPIs.
EXPORT_FUNCTIONS src_unpack
+PROPERTIES+=" live"
+
if [[ ${EAPI:-0} != [0123456] ]]; then
BDEPEND="dev-vcs/git"
else
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 7fe9bcb..1a89524 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -24,6 +24,8 @@
if [[ ! ${_GIT_R3} ]]; then
+PROPERTIES+=" live"
+
if [[ ! ${_INHERITED_BY_GIT_2} ]]; then
if [[ ${EAPI:-0} != [0123456] ]]; then
BDEPEND=">=dev-vcs/git-1.8.2.1[curl]"
diff --git a/eclass/git.eclass b/eclass/git.eclass
index 3088709..33b345e 100644
--- a/eclass/git.eclass
+++ b/eclass/git.eclass
@@ -21,6 +21,8 @@
EGIT="git.eclass"
+PROPERTIES+=" live"
+
# We DEPEND on a not too ancient git version
DEPEND=">=dev-vcs/git-1.6"