commit:     31fbd315a46f0996e9f994939e99f8a2c08922f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 15 15:53:39 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 18 06:19:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fbd315

git-r3.eclass: Undocument deprecated EGIT_LIVE_* API

 eclass/git-r3.eclass | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 3c09b6682ef..a1ad0d238dc 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -122,8 +122,6 @@ fi
 # URIs are completely unsecured and their use (even if only as
 # a fallback) renders the ebuild completely vulnerable to MITM attacks.
 #
-# It can be overridden via env using ${PN}_LIVE_REPO variable.
-#
 # Can be a whitespace-separated list or an array.
 #
 # Example:
@@ -152,8 +150,6 @@ fi
 # @DESCRIPTION:
 # The branch name to check out. If unset, the upstream default (HEAD)
 # will be used.
-#
-# It can be overridden via env using ${PN}_LIVE_BRANCH variable.
 
 # @ECLASS-VARIABLE: EGIT_COMMIT
 # @DEFAULT_UNSET
@@ -162,8 +158,6 @@ fi
 # commit from the branch will be used. Note that if set to a commit
 # not on HEAD branch, EGIT_BRANCH needs to be set to a branch on which
 # the commit is available.
-#
-# It can be overridden via env using ${PN}_LIVE_COMMIT variable.
 
 # @ECLASS-VARIABLE: EGIT_COMMIT_DATE
 # @DEFAULT_UNSET
@@ -178,8 +172,6 @@ fi
 # (assuming that merges are done correctly). In other words, each merge
 # will be considered alike a single commit with date corresponding
 # to the merge commit date.
-#
-# It can be overridden via env using ${PN}_LIVE_COMMIT_DATE variable.
 
 # @ECLASS-VARIABLE: EGIT_CHECKOUT_DIR
 # @DESCRIPTION:
@@ -262,6 +254,7 @@ _git-r3_env_setup() {
        esc_pn=${PN//[-+]/_}
        [[ ${esc_pn} == [0-9]* ]] && esc_pn=_${esc_pn}
 
+       # note: deprecated, use EGIT_OVERRIDE_* instead
        livevar=${esc_pn}_LIVE_REPO
        EGIT_REPO_URI=${!livevar-${EGIT_REPO_URI}}
        [[ ${!livevar} ]] \

Reply via email to