Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/uclibc/
Date: Wed, 13 Jun 2018 08:05:43
Message-Id: 1528877116.778a215f6677b69f7a1d76e1bc664c30d108fd00.mgorny@gentoo
1 commit: 778a215f6677b69f7a1d76e1bc664c30d108fd00
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 13 08:03:32 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 13 08:05:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778a215f
7
8 sys-libs/uclibc: Revert "git-2->git-r3, explicit EAPI=0"
9
10 This change blocks prior patch removing EAPI=0 support from git-r3.
11 If you really want to keep this live ebuild, please update it to use
12 newer EAPI. Otherwise, removing it would be a better solution.
13
14 sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild | 27 ++++++++++++---------------
15 sys-libs/uclibc/uclibc-0.9.33.9999.ebuild | 26 ++++++++++++--------------
16 sys-libs/uclibc/uclibc-9999.ebuild | 26 ++++++++++++--------------
17 3 files changed, 36 insertions(+), 43 deletions(-)
18
19 diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
20 index 4c712c8a69a..32bb5418085 100644
21 --- a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
22 +++ b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
23 @@ -1,20 +1,10 @@
24 # Copyright 1999-2018 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=0
28 -
29 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
30 -
31 -MY_P=uClibc-${PV}
32 -if [[ ${PV} == *9999* ]] ; then
33 - EGIT_REPO_URI="https://git.busybox.net/uClibc"
34 - EGIT_BRANCH="0.9.33"
35 - inherit git-r3
36 -else
37 - PATCH_VER="17"
38 - SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
39 - ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
40 - KEYWORDS="-* amd64 arm m68k ~mips ppc sh sparc x86"
41 +if [[ ${PV} == "9999" ]] ; then
42 + EGIT_REPO_URI="git://git.busybox.net/uClibc"
43 + inherit git-2
44 fi
45
46 export CBUILD=${CBUILD:-${CHOST}}
47 @@ -25,8 +15,15 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
48 fi
49 fi
50
51 +MY_P=uClibc-${PV}
52 DESCRIPTION="C library for developing embedded Linux systems"
53 HOMEPAGE="https://www.uclibc.org/"
54 +if [[ ${PV} != "9999" ]] ; then
55 + PATCH_VER="17"
56 + SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
57 + ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
58 + KEYWORDS="-* amd64 arm m68k ~mips ppc sh sparc x86"
59 +fi
60
61 LICENSE="LGPL-2"
62 SLOT="0"
63 @@ -235,8 +232,8 @@ src_config() {
64 }
65
66 src_unpack() {
67 - if [[ ${PV} == *9999* ]] ; then
68 - git-r3_src_unpack
69 + if [[ ${PV} == "9999" ]] ; then
70 + git-2_src_unpack
71 else
72 unpack ${A}
73 fi
74
75 diff --git a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
76 index d55f0afff6d..fbc8a60a1fc 100644
77 --- a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
78 +++ b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
79 @@ -1,20 +1,11 @@
80 # Copyright 1999-2018 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82
83 -EAPI=0
84 -
85 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
86 -
87 -MY_P=uClibc-${PV}
88 -if [[ ${PV} == *9999* ]] ; then
89 - EGIT_REPO_URI="https://git.busybox.net/uClibc"
90 +if [[ ${PV} == *9999 ]] ; then
91 EGIT_BRANCH="0.9.33"
92 - inherit git-r3
93 -else
94 - PATCH_VER=""
95 - SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
96 - ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
97 - KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
98 + EGIT_REPO_URI="git://git.busybox.net/uClibc"
99 + inherit git-2
100 fi
101
102 export CBUILD=${CBUILD:-${CHOST}}
103 @@ -25,8 +16,15 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
104 fi
105 fi
106
107 +MY_P=uClibc-${PV}
108 DESCRIPTION="C library for developing embedded Linux systems"
109 HOMEPAGE="https://www.uclibc.org/"
110 +if [[ ${PV} != *9999 ]] ; then
111 + PATCH_VER=""
112 + SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
113 + ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
114 + KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
115 +fi
116
117 LICENSE="LGPL-2"
118 SLOT="0"
119 @@ -233,8 +231,8 @@ src_config() {
120 }
121
122 src_unpack() {
123 - if [[ ${PV} == *9999* ]] ; then
124 - git-r3_src_unpack
125 + if [[ ${PV} == *9999 ]] ; then
126 + git-2_src_unpack
127 else
128 unpack ${A}
129 fi
130
131 diff --git a/sys-libs/uclibc/uclibc-9999.ebuild b/sys-libs/uclibc/uclibc-9999.ebuild
132 index 3e096317bab..f5cec3749e7 100644
133 --- a/sys-libs/uclibc/uclibc-9999.ebuild
134 +++ b/sys-libs/uclibc/uclibc-9999.ebuild
135 @@ -1,19 +1,10 @@
136 # Copyright 1999-2018 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138
139 -EAPI=0
140 -
141 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
142 -
143 -MY_P=uClibc-${PV}
144 -if [[ ${PV} == *9999* ]] ; then
145 - EGIT_REPO_URI="https://git.busybox.net/uClibc"
146 - inherit git-r3
147 -else
148 - PATCH_VER=""
149 - SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
150 - ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
151 - KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
152 +if [[ ${PV} == "9999" ]] ; then
153 + EGIT_REPO_URI="git://git.busybox.net/uClibc"
154 + inherit git-2
155 fi
156
157 export CBUILD=${CBUILD:-${CHOST}}
158 @@ -24,8 +15,15 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
159 fi
160 fi
161
162 +MY_P=uClibc-${PV}
163 DESCRIPTION="C library for developing embedded Linux systems"
164 HOMEPAGE="https://www.uclibc.org/"
165 +if [[ ${PV} != "9999" ]] ; then
166 + PATCH_VER=""
167 + SRC_URI="https://uclibc.org/downloads/${MY_P}.tar.bz2
168 + ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
169 + KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
170 +fi
171
172 LICENSE="LGPL-2"
173 SLOT="0"
174 @@ -232,8 +230,8 @@ src_config() {
175 }
176
177 src_unpack() {
178 - if [[ ${PV} == *9999* ]] ; then
179 - git-r3_src_unpack
180 + if [[ ${PV} == "9999" ]] ; then
181 + git-2_src_unpack
182 else
183 unpack ${A}
184 fi