Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc-config/
Date: Sat, 15 May 2021 13:58:48
Message-Id: 1621087117.917a25e477c255a1835c00ccce2918c0c47284ce.slyfox@gentoo
1 commit: 917a25e477c255a1835c00ccce2918c0c47284ce
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 15 13:58:17 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 13:58:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917a25e4
7
8 sys-devel/gcc-config: drop old
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-devel/gcc-config/Manifest | 1 -
14 sys-devel/gcc-config/gcc-config-2.3.2-r1.ebuild | 62 -------------------------
15 2 files changed, 63 deletions(-)
16
17 diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest
18 index 03fe68ca0d8..e19a7b3de75 100644
19 --- a/sys-devel/gcc-config/Manifest
20 +++ b/sys-devel/gcc-config/Manifest
21 @@ -1,2 +1 @@
22 -DIST gcc-config-2.3.2.tar.xz 17444 BLAKE2B c66fd121770dddcb27033be228de691f766f1acd9ada9580ae96dc12f6fbd0cd823e6656dc9b0515d498305b10d72f9cd87cf69388791971e9eac1a20e3f97c9 SHA512 31327d9abd26fdadaaf25a63568fd860ae25030b4a99dcbf0424f2d8fb14e61f041e681eea90c781a3f4e5401e3a7ba3299b1260ceb6e51bda5bef24f65dcacc
23 DIST gcc-config-2.4.tar.xz 17552 BLAKE2B 631645a5cc9f3e7ab0ff089960ee3d0b2ecea29aa96f839a03a86985db512bf0d182b67a7b1bb73b95808c04523f32d6b8c122cdfbe8dbf94e7d319a1e49a23c SHA512 852b4aefaccfae1d91c551e226ac28110fa23f9668075c190a5fb9129c86d2f3e4994e96b7a5e8a2801883c5a5b16d9fbf3e9066e6b6a423055fdefa490793c7
24
25 diff --git a/sys-devel/gcc-config/gcc-config-2.3.2-r1.ebuild b/sys-devel/gcc-config/gcc-config-2.3.2-r1.ebuild
26 deleted file mode 100644
27 index 41607b404c0..00000000000
28 --- a/sys-devel/gcc-config/gcc-config-2.3.2-r1.ebuild
29 +++ /dev/null
30 @@ -1,62 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit toolchain-funcs
37 -
38 -if [[ ${PV} == 9999 ]]; then
39 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gcc-config.git"
40 - inherit git-r3
41 -else
42 - SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
43 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
44 -fi
45 -
46 -DESCRIPTION="Utility to manage compilers"
47 -HOMEPAGE="https://gitweb.gentoo.org/proj/gcc-config.git/"
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -IUSE="+cc-wrappers +native-symlinks"
51 -
52 -RDEPEND=">=sys-apps/gentoo-functions-0.10"
53 -
54 -_emake() {
55 - emake \
56 - PV="${PVR}" \
57 - SUBLIBDIR="$(get_libdir)" \
58 - USE_CC_WRAPPERS="$(usex cc-wrappers)" \
59 - USE_NATIVE_LINKS="$(usex native-symlinks)" \
60 - TOOLCHAIN_PREFIX="${CHOST}-" \
61 - "$@"
62 -}
63 -
64 -src_compile() {
65 - _emake
66 -}
67 -
68 -src_install() {
69 - _emake DESTDIR="${D}" install
70 -}
71 -
72 -pkg_postinst() {
73 - # Scrub eselect-compiler remains.
74 - # To be removed in 2021.
75 - rm -f "${ROOT}"/etc/env.d/05compiler
76 -
77 - # We not longer use the /usr/include/g++-v3 hacks, as
78 - # it is not needed ...
79 - # To be removed in 2021.
80 - rm -f "${ROOT}"/usr/include/g++{,-v3}
81 -
82 - # Do we have a valid multi ver setup ?
83 - local x
84 - for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
85 - gcc-config ${x}
86 - done
87 -
88 - # USE flag change can add or delete files in /usr/bin worth recaching
89 - if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
90 - eselect compiler-shadow update all
91 - fi
92 -}