From 0d4af03a0c8cbe7e919eb2f97816c84bdbc9c58c Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Wed, 13 Nov 2019 19:44:21 -0500 Subject: [PATCH] sys-libs/newlib: drop old EAPI Signed-off-by: Aaron Bauman --- sys-libs/newlib/Manifest | 5 -- sys-libs/newlib/newlib-2.0.0.ebuild | 68 ---------------- sys-libs/newlib/newlib-2.1.0.ebuild | 73 ----------------- sys-libs/newlib/newlib-2.2.0.20150423.ebuild | 80 ------------------ sys-libs/newlib/newlib-2.3.0.20160104.ebuild | 80 ------------------ sys-libs/newlib/newlib-2.4.0.ebuild | 85 -------------------- 6 files changed, 391 deletions(-) delete mode 100644 sys-libs/newlib/newlib-2.0.0.ebuild delete mode 100644 sys-libs/newlib/newlib-2.1.0.ebuild delete mode 100644 sys-libs/newlib/newlib-2.2.0.20150423.ebuild delete mode 100644 sys-libs/newlib/newlib-2.3.0.20160104.ebuild delete mode 100644 sys-libs/newlib/newlib-2.4.0.ebuild diff --git a/sys-libs/newlib/Manifest b/sys-libs/newlib/Manifest index 53910d65b6f5..c1e9635145ee 100644 --- a/sys-libs/newlib/Manifest +++ b/sys-libs/newlib/Manifest @@ -1,8 +1,3 @@ -DIST newlib-2.0.0.tar.gz 15868470 BLAKE2B 07b38479aab6293ebeaef851b7153c61a23bac4a9738f0e6b4f4b7f0238dca4c0a32c9d2a6e9849286e6968cfbe779b6ff9442bf2cf9a2d50782d6cc3bc52e93 SHA512 539cc6e3854a52a7871a822e35563ff0dff7124b667fd9471150b9c56f556c0bcc526dfb5503aba5160a5fb61955a3d0876df639374727d2a444b08f90dbf233 -DIST newlib-2.1.0.tar.gz 16199705 BLAKE2B daa563f9f710b9556803eb4ecf1aad8e6917ce2aaa727facfa7a8dc1fe7f3ec6cd5111063eacd0a51464b8b3b303b95a628ec02319fa2289e0363ecea31a4882 SHA512 6770864f9307abb2401a4e48f286845d3a4afc30b2ac987da4b964a5485cc3823b32d06a0abf61528e93c4ad8a3a0aa3cc1ecd3b033850e6b2bde6d9bbc9a547 -DIST newlib-2.2.0.20150423.tar.gz 17485660 BLAKE2B 4d5855aac6bff850356910f9e7f5f494483f25650f9bb366d2c643325bddfb743006fa73540b845ce4185bf4d776e68037348bb6a0e6865cec35fe10aae0b035 SHA512 0eecaf5dbf6caf0e0fca3697dfd70e5f60ecbc0a3365852586bc40a32bd535ef0936fa7fc68fceda3426cdb9b6259de12ed00303cadeea09d95b5f1a07022bae DIST newlib-2.2.0.tar.gz 16521910 BLAKE2B 530290c8f219774885e3c408889b7f58bbeefe5c092f004c9ad61de8642b725df1f8fd2a00760ebde814e5bf379ae0320a589d2318113f371a733c5abaca2ba7 SHA512 ab9161f16845367c823b6709e3c5708969f29f05c77edb1cf969ff4202f358648f1e55080974599dcefed2fbced4694dc73748596e76c1aa37c50cddff6e4be3 -DIST newlib-2.3.0.20160104.tar.gz 17674117 BLAKE2B abdfd902e502da32862d8151bf11bd778548cc930bcd2e0e546f5b23c075d6448f3f85e7b4388d64fbf255a5f3b893ace6e13405115a7dc0e3ac5c8846722429 SHA512 d83ce298b1b72eabf92e4ec14af3afdf3122e34aff5e320295a398df077235a78aa87148895b441a4f7de3047815e7ce13ea06a06135dd86b69a200236514293 -DIST newlib-2.4.0.tar.gz 17574364 BLAKE2B d97be2fe2fe93629230a2b0b1dbf23b2062fab54921e658bae9438fb42a1af975d763f2643352b5dbc3027faffa76ff97170aed9f5d6fb33ae4c6d947f1b608b SHA512 c60665e793dce2368a5baf23560beb50f641e1831854d702d1d7629fb6e9200cf814527f29796792a3d2dff81afee4255723df99ceb0732f99dd9580a17d2ac0 DIST newlib-2.5.0.tar.gz 17912392 BLAKE2B bc89491758d59f3529c72308e963c5b3e39044d6d586ef3814cc19cf55aee33948656c544df7dfcbe3915105e7373f53d7b2baf96b9b8147e3af780c1d08e670 SHA512 4c99e8dfcb4a7ad0769b9e173ff06628d82e4993ef87d3adf9d6b5578626b14de81b4b3c5f0673ddbb49dc9f3d3628f9f8d4432dcded91f5cd3d27b7d44343cd DIST newlib-3.1.0.tar.gz 17958952 BLAKE2B 3a84ae81fc07e442a4ed3da7a78e7ede34cc7e24b5d1c66a12624ed808e5f85f134751fcea0e4ce9eb39df287a582821f751a8610a088c149895b5e38eb06989 SHA512 efc4c3ab7153387780d141386bca5d3e20c9d25ae3e6b87cf94c8df9d301ce5926dacdff9bd33aeb9781559d933c3d0ae77f4e5b46120d90792f75dbfde702c7 diff --git a/sys-libs/newlib/newlib-2.0.0.ebuild b/sys-libs/newlib/newlib-2.0.0.ebuild deleted file mode 100644 index 480700b42b49..000000000000 --- a/sys-libs/newlib/newlib-2.0.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" -SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86" -IUSE="nls threads unicode headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET} strip-unsupported-flags - - local myconf="" - [[ ${CTARGET} == "spu" ]] \ - && myconf="${myconf} --disable-newlib-multithread" \ - || myconf="${myconf} $(use_enable threads newlib-multithread)" - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - ${myconf} -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -} diff --git a/sys-libs/newlib/newlib-2.1.0.ebuild b/sys-libs/newlib/newlib-2.1.0.ebuild deleted file mode 100644 index 5b7a8941d191..000000000000 --- a/sys-libs/newlib/newlib-2.1.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs eutils - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" -SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="nls threads unicode headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-msp430-destdir.patch - epatch_user -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET} strip-unsupported-flags - - local myconf="" - [[ ${CTARGET} == "spu" ]] \ - && myconf="${myconf} --disable-newlib-multithread" \ - || myconf="${myconf} $(use_enable threads newlib-multithread)" - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - ${myconf} -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -} diff --git a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild deleted file mode 100644 index b8982d522c94..000000000000 --- a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs eutils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" - inherit git-r3 -else - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" - if [[ ${PV} != *.201[5-9]???? ]] ; then - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" - fi -fi - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -IUSE="nls threads unicode headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_prepare() { - epatch_user -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET} strip-unsupported-flags - - local myconf="" - [[ ${CTARGET} == "spu" ]] \ - && myconf="${myconf} --disable-newlib-multithread" \ - || myconf="${myconf} $(use_enable threads newlib-multithread)" - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - ${myconf} -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -} diff --git a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild deleted file mode 100644 index 29a9d5b95949..000000000000 --- a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs eutils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" - inherit git-r3 -else - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" -# if [[ ${PV} != *.201[5-9]???? ]] ; then - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" -# fi -fi - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -IUSE="nls threads unicode headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_prepare() { - epatch_user -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET} strip-unsupported-flags - - local myconf="" - [[ ${CTARGET} == "spu" ]] \ - && myconf="${myconf} --disable-newlib-multithread" \ - || myconf="${myconf} $(use_enable threads newlib-multithread)" - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - ${myconf} -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -} diff --git a/sys-libs/newlib/newlib-2.4.0.ebuild b/sys-libs/newlib/newlib-2.4.0.ebuild deleted file mode 100644 index 120357a4dcaf..000000000000 --- a/sys-libs/newlib/newlib-2.4.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs eutils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" - inherit git-r3 -else - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" -# if [[ ${PV} != *.201[5-9]???? ]] ; then - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" -# fi -fi - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -IUSE="nls threads unicode headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_prepare() { - epatch_user -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET} strip-unsupported-flags - - local myconf=( - # Disable legacy syscall stub code in newlib. These have been - # moved to libgloss for a long time now, so the code in newlib - # itself just gets in the way. - --disable-newlib-supplied-syscalls - ) - [[ ${CTARGET} == "spu" ]] \ - && myconf+=( --disable-newlib-multithread ) \ - || myconf+=( $(use_enable threads newlib-multithread) ) - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - "${myconf[@]}" -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -} -- 2.26.2