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, 02 May 2020 17:51:45
Message-Id: 1588441881.560fe75a564791a9532de8958cbe6945e8cf9df8.slyfox@gentoo
1 commit: 560fe75a564791a9532de8958cbe6945e8cf9df8
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 17:35:52 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 17:51:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560fe75a
7
8 sys-devel/gcc-config: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
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.1.ebuild | 54 ------------------------------
15 2 files changed, 55 deletions(-)
16
17 diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest
18 index 26b532bd123..88215b38d78 100644
19 --- a/sys-devel/gcc-config/Manifest
20 +++ b/sys-devel/gcc-config/Manifest
21 @@ -1,2 +1 @@
22 -DIST gcc-config-2.1.tar.xz 15520 BLAKE2B 0e37762877116d90265a31cf6d9bc99da9b358afc26c0f7cb6fdbbb44dce23ebf59a1d5c2e481d456c03fbcc383efb7a56559af0bbd1f2bd78f407a853c88369 SHA512 0b19cb758a1e8c5e2e1f7901799fa1eb598d9d5c8d89ceace2e294ec569bfa90978bef72f52b9c2a3455f2ffd21be0899fb3e23b5fbdf62b70e978c153961272
23 DIST gcc-config-2.2.1.tar.xz 16292 BLAKE2B bed319b73bb1dd1c693715654dab7d16c12929353eb28c6e93ffeda0d4539d8204e84287c58de65ed5198011130a6e0ef71421cf41e7cf59cc48781a94ec9af2 SHA512 783caf2f4236d7c84e7c76c2d001d069a1b8544644d7e6e12b79f4dc55f34c953a24a8cd8d01b2aa69fa7f8e02ec3380e0e33a83eda6b3cb00e8c43d2f69f673
24
25 diff --git a/sys-devel/gcc-config/gcc-config-2.1.ebuild b/sys-devel/gcc-config/gcc-config-2.1.ebuild
26 deleted file mode 100644
27 index defb04078d8..00000000000
28 --- a/sys-devel/gcc-config/gcc-config-2.1.ebuild
29 +++ /dev/null
30 @@ -1,54 +0,0 @@
31 -# Copyright 1999-2020 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="mirror://gentoo/${P}.tar.xz
43 - https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
44 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
45 -fi
46 -
47 -DESCRIPTION="Utility to manage compilers"
48 -HOMEPAGE="https://gitweb.gentoo.org/proj/gcc-config.git/"
49 -LICENSE="GPL-2"
50 -SLOT="0"
51 -IUSE=""
52 -
53 -RDEPEND=">=sys-apps/gentoo-functions-0.10"
54 -
55 -src_compile() {
56 - emake CC="$(tc-getCC)" \
57 - PV="${PV}" \
58 - SUBLIBDIR="$(get_libdir)"
59 -}
60 -
61 -src_install() {
62 - emake \
63 - DESTDIR="${D}" \
64 - PV="${PV}" \
65 - SUBLIBDIR="$(get_libdir)" \
66 - install
67 -}
68 -
69 -pkg_postinst() {
70 - # Scrub eselect-compiler remains
71 - rm -f "${ROOT}"/etc/env.d/05compiler &
72 -
73 - # We not longer use the /usr/include/g++-v3 hacks, as
74 - # it is not needed ...
75 - rm -f "${ROOT}"/usr/include/g++{,-v3} &
76 -
77 - # Do we have a valid multi ver setup ?
78 - local x
79 - for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
80 - gcc-config ${x}
81 - done
82 -
83 - wait
84 -}