1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eclass/git-r3.eclass | 54 ++++---------------------------------------- |
4 |
1 file changed, 4 insertions(+), 50 deletions(-) |
5 |
|
6 |
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass |
7 |
index 365f21a4ed4c..398170000498 100644 |
8 |
--- a/eclass/git-r3.eclass |
9 |
+++ b/eclass/git-r3.eclass |
10 |
@@ -21,12 +21,10 @@ if [[ ! ${_GIT_R3} ]]; then |
11 |
|
12 |
PROPERTIES+=" live" |
13 |
|
14 |
-if [[ ! ${_INHERITED_BY_GIT_2} ]]; then |
15 |
- if [[ ${EAPI} != [56] ]]; then |
16 |
- BDEPEND=">=dev-vcs/git-1.8.2.1[curl]" |
17 |
- else |
18 |
- DEPEND=">=dev-vcs/git-1.8.2.1[curl]" |
19 |
- fi |
20 |
+if [[ ${EAPI} != [56] ]]; then |
21 |
+ BDEPEND=">=dev-vcs/git-1.8.2.1[curl]" |
22 |
+else |
23 |
+ DEPEND=">=dev-vcs/git-1.8.2.1[curl]" |
24 |
fi |
25 |
|
26 |
# @ECLASS-VARIABLE: EGIT_CLONE_TYPE |
27 |
@@ -278,50 +276,6 @@ _git-r3_env_setup() { |
28 |
if [[ ${EGIT_COMMIT} && ${EGIT_COMMIT_DATE} ]]; then |
29 |
die "EGIT_COMMIT and EGIT_COMMIT_DATE can not be specified simultaneously" |
30 |
fi |
31 |
- |
32 |
- # Migration helpers. Remove them when git-2 is removed. |
33 |
- |
34 |
- if [[ ${EGIT_SOURCEDIR} ]]; then |
35 |
- eerror "EGIT_SOURCEDIR has been replaced by EGIT_CHECKOUT_DIR. While updating" |
36 |
- eerror "your ebuild, please check whether the variable is necessary at all" |
37 |
- eerror "since the default has been changed from \${S} to \${WORKDIR}/\${P}." |
38 |
- eerror "Therefore, proper setting of S may be sufficient." |
39 |
- die "EGIT_SOURCEDIR has been replaced by EGIT_CHECKOUT_DIR." |
40 |
- fi |
41 |
- |
42 |
- if [[ ${EGIT_MASTER} ]]; then |
43 |
- eerror "EGIT_MASTER has been removed. Instead, the upstream default (HEAD)" |
44 |
- eerror "is used by the eclass. Please remove the assignment or use EGIT_BRANCH" |
45 |
- eerror "as necessary." |
46 |
- die "EGIT_MASTER has been removed." |
47 |
- fi |
48 |
- |
49 |
- if [[ ${EGIT_HAS_SUBMODULES} ]]; then |
50 |
- eerror "EGIT_HAS_SUBMODULES has been removed. The eclass no longer needs" |
51 |
- eerror "to switch the clone type in order to support submodules and therefore" |
52 |
- eerror "submodules are detected and fetched automatically. If you need to" |
53 |
- eerror "disable or filter submodules, see EGIT_SUBMODULES." |
54 |
- die "EGIT_HAS_SUBMODULES is no longer necessary." |
55 |
- fi |
56 |
- |
57 |
- if [[ ${EGIT_PROJECT} ]]; then |
58 |
- eerror "EGIT_PROJECT has been removed. Instead, the eclass determines" |
59 |
- eerror "the local clone path using path in canonical EGIT_REPO_URI." |
60 |
- eerror "If the current algorithm causes issues for you, please report a bug." |
61 |
- die "EGIT_PROJECT is no longer necessary." |
62 |
- fi |
63 |
- |
64 |
- if [[ ${EGIT_BOOTSTRAP} ]]; then |
65 |
- eerror "EGIT_BOOTSTRAP has been removed. Please create proper src_prepare()" |
66 |
- eerror "instead." |
67 |
- die "EGIT_BOOTSTRAP has been removed." |
68 |
- fi |
69 |
- |
70 |
- if [[ ${EGIT_NOUNPACK} ]]; then |
71 |
- eerror "EGIT_NOUNPACK has been removed. The eclass no longer calls default" |
72 |
- eerror "unpack function. If necessary, please declare proper src_unpack()." |
73 |
- die "EGIT_NOUNPACK has been removed." |
74 |
- fi |
75 |
} |
76 |
|
77 |
# @FUNCTION: _git-r3_set_gitdir |
78 |
-- |
79 |
2.32.0 |