Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
Date: Sat, 31 Aug 2019 12:16:50
Message-Id: 1567253792.8e7716ec178284d781029688d4083a4380c3c4ab.slyfox@gentoo
1 commit: 8e7716ec178284d781029688d4083a4380c3c4ab
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 31 12:14:37 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 12:16:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7716ec
7
8 dev-embedded/sdcc: use dostrip in live ebuild as well
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 2 +-
14 dev-embedded/sdcc/sdcc-9999.ebuild | 7 ++-----
15 2 files changed, 3 insertions(+), 6 deletions(-)
16
17 diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
18 index 79c2981dc3e..08e64f35f2b 100644
19 --- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
20 +++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
21 @@ -129,5 +129,5 @@ src_install() {
22 # a bunch of archives (*.a) are built & installed by gputils
23 # for PIC processors, but they do not work with standard `ar`
24 # & `scanelf` utils and they're not for the host.
25 - dostrip "${D%/}"/usr/bin
26 + dostrip /usr/bin
27 }
28
29 diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
30 index efab11532f4..23c2e5edc14 100644
31 --- a/dev-embedded/sdcc/sdcc-9999.ebuild
32 +++ b/dev-embedded/sdcc/sdcc-9999.ebuild
33 @@ -1,7 +1,7 @@
34 # Copyright 1999-2019 Gentoo Authors
35 # Distributed under the terms of the GNU General Public License v2
36
37 -EAPI=6
38 +EAPI=7
39 inherit autotools toolchain-funcs
40
41 if [[ ${PV} == "9999" ]] ; then
42 @@ -129,8 +129,5 @@ src_install() {
43 # a bunch of archives (*.a) are built & installed by gputils
44 # for PIC processors, but they do not work with standard `ar`
45 # & `scanelf` utils and they're not for the host.
46 -
47 - # TODO: use dostrip from EAPI=7 when subversion gets EAPI=7
48 - # in bug #678344:
49 - #dostrip "${D%/}"/usr/bin
50 + dostrip /usr/bin
51 }