Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/
Date: Wed, 28 Dec 2022 15:27:30
Message-Id: 1672241219.403413f03f0172364caa4702a80ec810f9b9afb3.sam@gentoo
1 commit: 403413f03f0172364caa4702a80ec810f9b9afb3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 15:26:59 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 15:26:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403413f0
7
8 sys-devel/binutils-config: drop 5.4
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-devel/binutils-config/Manifest | 1 -
13 .../binutils-config/binutils-config-5.4.ebuild | 43 ----------------------
14 2 files changed, 44 deletions(-)
15
16 diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest
17 index ec46795d11ac..de1ae43166e9 100644
18 --- a/sys-devel/binutils-config/Manifest
19 +++ b/sys-devel/binutils-config/Manifest
20 @@ -1,2 +1 @@
21 DIST binutils-config-5.4.1.tar.xz 7328 BLAKE2B 51f0ca625abfd964cc1b6c902017edc9790da1d33a44b3da64e3b2c68ed245fc1c0eb8b3fb999f6acb88e614f47e2f53e19b456b03c069bb61cd0f39e85d786d SHA512 af12644d591152f45d573bee0499b21c293b68a9b81626e9e1d46d5a7dc40e9a24642364bdb2bce52d61cbe3d2e045f4ab6e50a9827648a820bac885f20239cd
22 -DIST binutils-config-5.4.tar.xz 7332 BLAKE2B 1dd0fdebf028e9d95caa395948037d51ac1e627f370921b56fc99a6fe2e2100ddb202c8027ad1e67330306de8b4cbc6a03753105d401198e515b22fca94f760f SHA512 79411afcbec3a6cce960be1b06e4a6efdf55081992f6a92157737f7ef41fc61eaec0005078a4ce0cd78ad6af14583ab85f4f2b7b43808238088d521e1aa31af1
23
24 diff --git a/sys-devel/binutils-config/binutils-config-5.4.ebuild b/sys-devel/binutils-config/binutils-config-5.4.ebuild
25 deleted file mode 100644
26 index 11e69fe4f773..000000000000
27 --- a/sys-devel/binutils-config/binutils-config-5.4.ebuild
28 +++ /dev/null
29 @@ -1,43 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit prefix
36 -
37 -if [[ ${PV} == 9999 ]]; then
38 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git"
39 - inherit git-r3
40 -else
41 - SRC_URI="https://dev.gentoo.org/~sam/distfiles/${P}.tar.xz"
42 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
43 -fi
44 -
45 -DESCRIPTION="Utility to change the binutils version being used"
46 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -IUSE="+native-symlinks"
51 -
52 -# We also RDEPEND on sys-apps/findutils which is in base @system
53 -RDEPEND="sys-apps/gentoo-functions"
54 -
55 -src_compile() {
56 - emake PV="${PV}" USE_NATIVE_LINKS="$(usex native-symlinks)"
57 -}
58 -
59 -src_install() {
60 - emake DESTDIR="${D}" PV="${PV}" install
61 -
62 - use prefix && eprefixify "${ED}"/usr/bin/${PN}
63 -}
64 -
65 -pkg_postinst() {
66 - # Re-register all targets. USE flags or new versions can change
67 - # installed symlinks.
68 - local x
69 - for x in $(binutils-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
70 - binutils-config ${x}
71 - done
72 -}