Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/
Date: Thu, 14 Nov 2019 00:47:40
Message-Id: 1573692261.0d4af03a0c8cbe7e919eb2f97816c84bdbc9c58c.bman@gentoo
1 commit: 0d4af03a0c8cbe7e919eb2f97816c84bdbc9c58c
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 14 00:44:21 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 00:44:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d4af03a
7
8 sys-libs/newlib: drop old EAPI
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 sys-libs/newlib/Manifest | 5 --
13 sys-libs/newlib/newlib-2.0.0.ebuild | 68 ----------------------
14 sys-libs/newlib/newlib-2.1.0.ebuild | 73 ------------------------
15 sys-libs/newlib/newlib-2.2.0.20150423.ebuild | 80 --------------------------
16 sys-libs/newlib/newlib-2.3.0.20160104.ebuild | 80 --------------------------
17 sys-libs/newlib/newlib-2.4.0.ebuild | 85 ----------------------------
18 6 files changed, 391 deletions(-)
19
20 diff --git a/sys-libs/newlib/Manifest b/sys-libs/newlib/Manifest
21 index 53910d65b6f..c1e9635145e 100644
22 --- a/sys-libs/newlib/Manifest
23 +++ b/sys-libs/newlib/Manifest
24 @@ -1,8 +1,3 @@
25 -DIST newlib-2.0.0.tar.gz 15868470 BLAKE2B 07b38479aab6293ebeaef851b7153c61a23bac4a9738f0e6b4f4b7f0238dca4c0a32c9d2a6e9849286e6968cfbe779b6ff9442bf2cf9a2d50782d6cc3bc52e93 SHA512 539cc6e3854a52a7871a822e35563ff0dff7124b667fd9471150b9c56f556c0bcc526dfb5503aba5160a5fb61955a3d0876df639374727d2a444b08f90dbf233
26 -DIST newlib-2.1.0.tar.gz 16199705 BLAKE2B daa563f9f710b9556803eb4ecf1aad8e6917ce2aaa727facfa7a8dc1fe7f3ec6cd5111063eacd0a51464b8b3b303b95a628ec02319fa2289e0363ecea31a4882 SHA512 6770864f9307abb2401a4e48f286845d3a4afc30b2ac987da4b964a5485cc3823b32d06a0abf61528e93c4ad8a3a0aa3cc1ecd3b033850e6b2bde6d9bbc9a547
27 -DIST newlib-2.2.0.20150423.tar.gz 17485660 BLAKE2B 4d5855aac6bff850356910f9e7f5f494483f25650f9bb366d2c643325bddfb743006fa73540b845ce4185bf4d776e68037348bb6a0e6865cec35fe10aae0b035 SHA512 0eecaf5dbf6caf0e0fca3697dfd70e5f60ecbc0a3365852586bc40a32bd535ef0936fa7fc68fceda3426cdb9b6259de12ed00303cadeea09d95b5f1a07022bae
28 DIST newlib-2.2.0.tar.gz 16521910 BLAKE2B 530290c8f219774885e3c408889b7f58bbeefe5c092f004c9ad61de8642b725df1f8fd2a00760ebde814e5bf379ae0320a589d2318113f371a733c5abaca2ba7 SHA512 ab9161f16845367c823b6709e3c5708969f29f05c77edb1cf969ff4202f358648f1e55080974599dcefed2fbced4694dc73748596e76c1aa37c50cddff6e4be3
29 -DIST newlib-2.3.0.20160104.tar.gz 17674117 BLAKE2B abdfd902e502da32862d8151bf11bd778548cc930bcd2e0e546f5b23c075d6448f3f85e7b4388d64fbf255a5f3b893ace6e13405115a7dc0e3ac5c8846722429 SHA512 d83ce298b1b72eabf92e4ec14af3afdf3122e34aff5e320295a398df077235a78aa87148895b441a4f7de3047815e7ce13ea06a06135dd86b69a200236514293
30 -DIST newlib-2.4.0.tar.gz 17574364 BLAKE2B d97be2fe2fe93629230a2b0b1dbf23b2062fab54921e658bae9438fb42a1af975d763f2643352b5dbc3027faffa76ff97170aed9f5d6fb33ae4c6d947f1b608b SHA512 c60665e793dce2368a5baf23560beb50f641e1831854d702d1d7629fb6e9200cf814527f29796792a3d2dff81afee4255723df99ceb0732f99dd9580a17d2ac0
31 DIST newlib-2.5.0.tar.gz 17912392 BLAKE2B bc89491758d59f3529c72308e963c5b3e39044d6d586ef3814cc19cf55aee33948656c544df7dfcbe3915105e7373f53d7b2baf96b9b8147e3af780c1d08e670 SHA512 4c99e8dfcb4a7ad0769b9e173ff06628d82e4993ef87d3adf9d6b5578626b14de81b4b3c5f0673ddbb49dc9f3d3628f9f8d4432dcded91f5cd3d27b7d44343cd
32 DIST newlib-3.1.0.tar.gz 17958952 BLAKE2B 3a84ae81fc07e442a4ed3da7a78e7ede34cc7e24b5d1c66a12624ed808e5f85f134751fcea0e4ce9eb39df287a582821f751a8610a088c149895b5e38eb06989 SHA512 efc4c3ab7153387780d141386bca5d3e20c9d25ae3e6b87cf94c8df9d301ce5926dacdff9bd33aeb9781559d933c3d0ae77f4e5b46120d90792f75dbfde702c7
33
34 diff --git a/sys-libs/newlib/newlib-2.0.0.ebuild b/sys-libs/newlib/newlib-2.0.0.ebuild
35 deleted file mode 100644
36 index 480700b42b4..00000000000
37 --- a/sys-libs/newlib/newlib-2.0.0.ebuild
38 +++ /dev/null
39 @@ -1,68 +0,0 @@
40 -# Copyright 1999-2018 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI="4"
44 -
45 -inherit flag-o-matic toolchain-funcs
46 -
47 -export CBUILD=${CBUILD:-${CHOST}}
48 -export CTARGET=${CTARGET:-${CHOST}}
49 -if [[ ${CTARGET} == ${CHOST} ]] ; then
50 - if [[ ${CATEGORY} == cross-* ]] ; then
51 - export CTARGET=${CATEGORY#cross-}
52 - fi
53 -fi
54 -
55 -DESCRIPTION="Newlib is a C library intended for use on embedded systems"
56 -HOMEPAGE="https://sourceware.org/newlib/"
57 -SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
58 -
59 -LICENSE="NEWLIB LIBGLOSS GPL-2"
60 -SLOT="0"
61 -KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86"
62 -IUSE="nls threads unicode headers-only"
63 -RESTRICT="strip"
64 -
65 -NEWLIBBUILD="${WORKDIR}/build"
66 -
67 -pkg_setup() {
68 - # Reject newlib-on-glibc type installs
69 - if [[ ${CTARGET} == ${CHOST} ]] ; then
70 - case ${CHOST} in
71 - *-newlib|*-elf) ;;
72 - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
73 - esac
74 - fi
75 -}
76 -
77 -src_configure() {
78 - # we should fix this ...
79 - unset LDFLAGS
80 - CHOST=${CTARGET} strip-unsupported-flags
81 -
82 - local myconf=""
83 - [[ ${CTARGET} == "spu" ]] \
84 - && myconf="${myconf} --disable-newlib-multithread" \
85 - || myconf="${myconf} $(use_enable threads newlib-multithread)"
86 -
87 - mkdir -p "${NEWLIBBUILD}"
88 - cd "${NEWLIBBUILD}"
89 -
90 - ECONF_SOURCE=${S} \
91 - econf \
92 - $(use_enable unicode newlib-mb) \
93 - $(use_enable nls) \
94 - ${myconf}
95 -}
96 -
97 -src_compile() {
98 - emake -C "${NEWLIBBUILD}"
99 -}
100 -
101 -src_install() {
102 - cd "${NEWLIBBUILD}"
103 - emake -j1 DESTDIR="${D}" install
104 - # minor hack to keep things clean
105 - rm -fR "${D}"/usr/share/info
106 - rm -fR "${D}"/usr/info
107 -}
108
109 diff --git a/sys-libs/newlib/newlib-2.1.0.ebuild b/sys-libs/newlib/newlib-2.1.0.ebuild
110 deleted file mode 100644
111 index 5b7a8941d19..00000000000
112 --- a/sys-libs/newlib/newlib-2.1.0.ebuild
113 +++ /dev/null
114 @@ -1,73 +0,0 @@
115 -# Copyright 1999-2018 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI="4"
119 -
120 -inherit flag-o-matic toolchain-funcs eutils
121 -
122 -export CBUILD=${CBUILD:-${CHOST}}
123 -export CTARGET=${CTARGET:-${CHOST}}
124 -if [[ ${CTARGET} == ${CHOST} ]] ; then
125 - if [[ ${CATEGORY} == cross-* ]] ; then
126 - export CTARGET=${CATEGORY#cross-}
127 - fi
128 -fi
129 -
130 -DESCRIPTION="Newlib is a C library intended for use on embedded systems"
131 -HOMEPAGE="https://sourceware.org/newlib/"
132 -SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
133 -
134 -LICENSE="NEWLIB LIBGLOSS GPL-2"
135 -SLOT="0"
136 -KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
137 -IUSE="nls threads unicode headers-only"
138 -RESTRICT="strip"
139 -
140 -NEWLIBBUILD="${WORKDIR}/build"
141 -
142 -pkg_setup() {
143 - # Reject newlib-on-glibc type installs
144 - if [[ ${CTARGET} == ${CHOST} ]] ; then
145 - case ${CHOST} in
146 - *-newlib|*-elf) ;;
147 - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
148 - esac
149 - fi
150 -}
151 -
152 -src_prepare() {
153 - epatch "${FILESDIR}"/${P}-msp430-destdir.patch
154 - epatch_user
155 -}
156 -
157 -src_configure() {
158 - # we should fix this ...
159 - unset LDFLAGS
160 - CHOST=${CTARGET} strip-unsupported-flags
161 -
162 - local myconf=""
163 - [[ ${CTARGET} == "spu" ]] \
164 - && myconf="${myconf} --disable-newlib-multithread" \
165 - || myconf="${myconf} $(use_enable threads newlib-multithread)"
166 -
167 - mkdir -p "${NEWLIBBUILD}"
168 - cd "${NEWLIBBUILD}"
169 -
170 - ECONF_SOURCE=${S} \
171 - econf \
172 - $(use_enable unicode newlib-mb) \
173 - $(use_enable nls) \
174 - ${myconf}
175 -}
176 -
177 -src_compile() {
178 - emake -C "${NEWLIBBUILD}"
179 -}
180 -
181 -src_install() {
182 - cd "${NEWLIBBUILD}"
183 - emake -j1 DESTDIR="${D}" install
184 - # minor hack to keep things clean
185 - rm -fR "${D}"/usr/share/info
186 - rm -fR "${D}"/usr/info
187 -}
188
189 diff --git a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild
190 deleted file mode 100644
191 index b8982d522c9..00000000000
192 --- a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild
193 +++ /dev/null
194 @@ -1,80 +0,0 @@
195 -# Copyright 1999-2018 Gentoo Authors
196 -# Distributed under the terms of the GNU General Public License v2
197 -
198 -EAPI="4"
199 -
200 -inherit flag-o-matic toolchain-funcs eutils
201 -
202 -if [[ ${PV} == "9999" ]] ; then
203 - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git"
204 - inherit git-r3
205 -else
206 - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
207 - if [[ ${PV} != *.201[5-9]???? ]] ; then
208 - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
209 - fi
210 -fi
211 -
212 -export CBUILD=${CBUILD:-${CHOST}}
213 -export CTARGET=${CTARGET:-${CHOST}}
214 -if [[ ${CTARGET} == ${CHOST} ]] ; then
215 - if [[ ${CATEGORY} == cross-* ]] ; then
216 - export CTARGET=${CATEGORY#cross-}
217 - fi
218 -fi
219 -
220 -DESCRIPTION="Newlib is a C library intended for use on embedded systems"
221 -HOMEPAGE="https://sourceware.org/newlib/"
222 -
223 -LICENSE="NEWLIB LIBGLOSS GPL-2"
224 -SLOT="0"
225 -IUSE="nls threads unicode headers-only"
226 -RESTRICT="strip"
227 -
228 -NEWLIBBUILD="${WORKDIR}/build"
229 -
230 -pkg_setup() {
231 - # Reject newlib-on-glibc type installs
232 - if [[ ${CTARGET} == ${CHOST} ]] ; then
233 - case ${CHOST} in
234 - *-newlib|*-elf) ;;
235 - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
236 - esac
237 - fi
238 -}
239 -
240 -src_prepare() {
241 - epatch_user
242 -}
243 -
244 -src_configure() {
245 - # we should fix this ...
246 - unset LDFLAGS
247 - CHOST=${CTARGET} strip-unsupported-flags
248 -
249 - local myconf=""
250 - [[ ${CTARGET} == "spu" ]] \
251 - && myconf="${myconf} --disable-newlib-multithread" \
252 - || myconf="${myconf} $(use_enable threads newlib-multithread)"
253 -
254 - mkdir -p "${NEWLIBBUILD}"
255 - cd "${NEWLIBBUILD}"
256 -
257 - ECONF_SOURCE=${S} \
258 - econf \
259 - $(use_enable unicode newlib-mb) \
260 - $(use_enable nls) \
261 - ${myconf}
262 -}
263 -
264 -src_compile() {
265 - emake -C "${NEWLIBBUILD}"
266 -}
267 -
268 -src_install() {
269 - cd "${NEWLIBBUILD}"
270 - emake -j1 DESTDIR="${D}" install
271 - # minor hack to keep things clean
272 - rm -fR "${D}"/usr/share/info
273 - rm -fR "${D}"/usr/info
274 -}
275
276 diff --git a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild
277 deleted file mode 100644
278 index 29a9d5b9594..00000000000
279 --- a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild
280 +++ /dev/null
281 @@ -1,80 +0,0 @@
282 -# Copyright 1999-2018 Gentoo Authors
283 -# Distributed under the terms of the GNU General Public License v2
284 -
285 -EAPI="4"
286 -
287 -inherit flag-o-matic toolchain-funcs eutils
288 -
289 -if [[ ${PV} == "9999" ]] ; then
290 - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git"
291 - inherit git-r3
292 -else
293 - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
294 -# if [[ ${PV} != *.201[5-9]???? ]] ; then
295 - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
296 -# fi
297 -fi
298 -
299 -export CBUILD=${CBUILD:-${CHOST}}
300 -export CTARGET=${CTARGET:-${CHOST}}
301 -if [[ ${CTARGET} == ${CHOST} ]] ; then
302 - if [[ ${CATEGORY} == cross-* ]] ; then
303 - export CTARGET=${CATEGORY#cross-}
304 - fi
305 -fi
306 -
307 -DESCRIPTION="Newlib is a C library intended for use on embedded systems"
308 -HOMEPAGE="https://sourceware.org/newlib/"
309 -
310 -LICENSE="NEWLIB LIBGLOSS GPL-2"
311 -SLOT="0"
312 -IUSE="nls threads unicode headers-only"
313 -RESTRICT="strip"
314 -
315 -NEWLIBBUILD="${WORKDIR}/build"
316 -
317 -pkg_setup() {
318 - # Reject newlib-on-glibc type installs
319 - if [[ ${CTARGET} == ${CHOST} ]] ; then
320 - case ${CHOST} in
321 - *-newlib|*-elf) ;;
322 - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
323 - esac
324 - fi
325 -}
326 -
327 -src_prepare() {
328 - epatch_user
329 -}
330 -
331 -src_configure() {
332 - # we should fix this ...
333 - unset LDFLAGS
334 - CHOST=${CTARGET} strip-unsupported-flags
335 -
336 - local myconf=""
337 - [[ ${CTARGET} == "spu" ]] \
338 - && myconf="${myconf} --disable-newlib-multithread" \
339 - || myconf="${myconf} $(use_enable threads newlib-multithread)"
340 -
341 - mkdir -p "${NEWLIBBUILD}"
342 - cd "${NEWLIBBUILD}"
343 -
344 - ECONF_SOURCE=${S} \
345 - econf \
346 - $(use_enable unicode newlib-mb) \
347 - $(use_enable nls) \
348 - ${myconf}
349 -}
350 -
351 -src_compile() {
352 - emake -C "${NEWLIBBUILD}"
353 -}
354 -
355 -src_install() {
356 - cd "${NEWLIBBUILD}"
357 - emake -j1 DESTDIR="${D}" install
358 - # minor hack to keep things clean
359 - rm -fR "${D}"/usr/share/info
360 - rm -fR "${D}"/usr/info
361 -}
362
363 diff --git a/sys-libs/newlib/newlib-2.4.0.ebuild b/sys-libs/newlib/newlib-2.4.0.ebuild
364 deleted file mode 100644
365 index 120357a4dca..00000000000
366 --- a/sys-libs/newlib/newlib-2.4.0.ebuild
367 +++ /dev/null
368 @@ -1,85 +0,0 @@
369 -# Copyright 1999-2018 Gentoo Authors
370 -# Distributed under the terms of the GNU General Public License v2
371 -
372 -EAPI="4"
373 -
374 -inherit flag-o-matic toolchain-funcs eutils
375 -
376 -if [[ ${PV} == "9999" ]] ; then
377 - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git"
378 - inherit git-r3
379 -else
380 - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
381 -# if [[ ${PV} != *.201[5-9]???? ]] ; then
382 - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
383 -# fi
384 -fi
385 -
386 -export CBUILD=${CBUILD:-${CHOST}}
387 -export CTARGET=${CTARGET:-${CHOST}}
388 -if [[ ${CTARGET} == ${CHOST} ]] ; then
389 - if [[ ${CATEGORY} == cross-* ]] ; then
390 - export CTARGET=${CATEGORY#cross-}
391 - fi
392 -fi
393 -
394 -DESCRIPTION="Newlib is a C library intended for use on embedded systems"
395 -HOMEPAGE="https://sourceware.org/newlib/"
396 -
397 -LICENSE="NEWLIB LIBGLOSS GPL-2"
398 -SLOT="0"
399 -IUSE="nls threads unicode headers-only"
400 -RESTRICT="strip"
401 -
402 -NEWLIBBUILD="${WORKDIR}/build"
403 -
404 -pkg_setup() {
405 - # Reject newlib-on-glibc type installs
406 - if [[ ${CTARGET} == ${CHOST} ]] ; then
407 - case ${CHOST} in
408 - *-newlib|*-elf) ;;
409 - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
410 - esac
411 - fi
412 -}
413 -
414 -src_prepare() {
415 - epatch_user
416 -}
417 -
418 -src_configure() {
419 - # we should fix this ...
420 - unset LDFLAGS
421 - CHOST=${CTARGET} strip-unsupported-flags
422 -
423 - local myconf=(
424 - # Disable legacy syscall stub code in newlib. These have been
425 - # moved to libgloss for a long time now, so the code in newlib
426 - # itself just gets in the way.
427 - --disable-newlib-supplied-syscalls
428 - )
429 - [[ ${CTARGET} == "spu" ]] \
430 - && myconf+=( --disable-newlib-multithread ) \
431 - || myconf+=( $(use_enable threads newlib-multithread) )
432 -
433 - mkdir -p "${NEWLIBBUILD}"
434 - cd "${NEWLIBBUILD}"
435 -
436 - ECONF_SOURCE=${S} \
437 - econf \
438 - $(use_enable unicode newlib-mb) \
439 - $(use_enable nls) \
440 - "${myconf[@]}"
441 -}
442 -
443 -src_compile() {
444 - emake -C "${NEWLIBBUILD}"
445 -}
446 -
447 -src_install() {
448 - cd "${NEWLIBBUILD}"
449 - emake -j1 DESTDIR="${D}" install
450 - # minor hack to keep things clean
451 - rm -fR "${D}"/usr/share/info
452 - rm -fR "${D}"/usr/info
453 -}