1 |
commit: dc37c459689824c2d03df7b353bba84c362e6b87 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 09:05:12 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 09:08:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc37c459 |
7 |
|
8 |
dev-embedded/openocd: update to EAPI=7 |
9 |
|
10 |
A few changes: |
11 |
- add a subslot depend on jimtcl |
12 |
- switch to dostrip |
13 |
|
14 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
.../openocd/{openocd-9999.ebuild => openocd-0.10.0-r1.ebuild} | 10 +++++----- |
18 |
dev-embedded/openocd/openocd-9999.ebuild | 10 +++++----- |
19 |
2 files changed, 10 insertions(+), 10 deletions(-) |
20 |
|
21 |
diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-0.10.0-r1.ebuild |
22 |
similarity index 95% |
23 |
copy from dev-embedded/openocd/openocd-9999.ebuild |
24 |
copy to dev-embedded/openocd/openocd-0.10.0-r1.ebuild |
25 |
index 57ba7a8c69e..ce0f6e7381b 100644 |
26 |
--- a/dev-embedded/openocd/openocd-9999.ebuild |
27 |
+++ b/dev-embedded/openocd/openocd-0.10.0-r1.ebuild |
28 |
@@ -1,7 +1,7 @@ |
29 |
-# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
-EAPI="5" |
34 |
+EAPI="7" |
35 |
|
36 |
inherit eutils multilib flag-o-matic toolchain-funcs udev user |
37 |
|
38 |
@@ -25,7 +25,7 @@ SLOT="0" |
39 |
IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" |
40 |
RESTRICT="strip" # includes non-native binaries |
41 |
|
42 |
-RDEPEND=">=dev-lang/jimtcl-0.76 |
43 |
+RDEPEND=">=dev-lang/jimtcl-0.76:0= |
44 |
cmsis-dap? ( dev-libs/hidapi ) |
45 |
jlink? ( dev-embedded/libjaylink ) |
46 |
usb? ( |
47 |
@@ -43,7 +43,7 @@ pkg_setup() { |
48 |
} |
49 |
|
50 |
src_prepare() { |
51 |
- epatch_user |
52 |
+ default |
53 |
|
54 |
if [[ ${PV} == "9999" ]] ; then |
55 |
AT_NO_RECURSIVE=yes eautoreconf |
56 |
@@ -136,7 +136,7 @@ src_configure() { |
57 |
|
58 |
src_install() { |
59 |
default |
60 |
- env -uRESTRICT prepstrip "${ED}"/usr/bin |
61 |
+ dostrip "${ED}"/usr/bin |
62 |
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules |
63 |
} |
64 |
|
65 |
|
66 |
diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild |
67 |
index 57ba7a8c69e..ce0f6e7381b 100644 |
68 |
--- a/dev-embedded/openocd/openocd-9999.ebuild |
69 |
+++ b/dev-embedded/openocd/openocd-9999.ebuild |
70 |
@@ -1,7 +1,7 @@ |
71 |
-# Copyright 1999-2017 Gentoo Foundation |
72 |
+# Copyright 1999-2019 Gentoo Authors |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
|
75 |
-EAPI="5" |
76 |
+EAPI="7" |
77 |
|
78 |
inherit eutils multilib flag-o-matic toolchain-funcs udev user |
79 |
|
80 |
@@ -25,7 +25,7 @@ SLOT="0" |
81 |
IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" |
82 |
RESTRICT="strip" # includes non-native binaries |
83 |
|
84 |
-RDEPEND=">=dev-lang/jimtcl-0.76 |
85 |
+RDEPEND=">=dev-lang/jimtcl-0.76:0= |
86 |
cmsis-dap? ( dev-libs/hidapi ) |
87 |
jlink? ( dev-embedded/libjaylink ) |
88 |
usb? ( |
89 |
@@ -43,7 +43,7 @@ pkg_setup() { |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
- epatch_user |
94 |
+ default |
95 |
|
96 |
if [[ ${PV} == "9999" ]] ; then |
97 |
AT_NO_RECURSIVE=yes eautoreconf |
98 |
@@ -136,7 +136,7 @@ src_configure() { |
99 |
|
100 |
src_install() { |
101 |
default |
102 |
- env -uRESTRICT prepstrip "${ED}"/usr/bin |
103 |
+ dostrip "${ED}"/usr/bin |
104 |
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules |
105 |
} |