1 |
commit: d19ac7b9be0901d37786ea2be918d1ad94cf645b |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 14:54:54 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 14:54:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19ac7b9 |
7 |
|
8 |
sys-process/latencytop: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/819177 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
.../{latencytop-0.5-r1.ebuild => latencytop-0.5-r2.ebuild} | 13 +++++++------ |
14 |
1 file changed, 7 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sys-process/latencytop/latencytop-0.5-r1.ebuild b/sys-process/latencytop/latencytop-0.5-r2.ebuild |
17 |
similarity index 90% |
18 |
rename from sys-process/latencytop/latencytop-0.5-r1.ebuild |
19 |
rename to sys-process/latencytop/latencytop-0.5-r2.ebuild |
20 |
index b11c17b59a0..fa540325458 100644 |
21 |
--- a/sys-process/latencytop/latencytop-0.5-r1.ebuild |
22 |
+++ b/sys-process/latencytop/latencytop-0.5-r2.ebuild |
23 |
@@ -1,9 +1,9 @@ |
24 |
# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=5 |
28 |
+EAPI=7 |
29 |
|
30 |
-inherit epatch linux-info |
31 |
+inherit linux-info |
32 |
|
33 |
DESCRIPTION="tool for identifying where in the system latency is happening" |
34 |
HOMEPAGE="http://git.infradead.org/latencytop.git" |
35 |
@@ -19,10 +19,11 @@ KEYWORDS="amd64 ~arm x86" |
36 |
IUSE="gtk" |
37 |
|
38 |
RDEPEND="dev-libs/glib:2 |
39 |
+ sys-libs/ncurses:0= |
40 |
gtk? ( x11-libs/gtk+:2 ) |
41 |
- sys-libs/ncurses:0=" |
42 |
-DEPEND="${RDEPEND} |
43 |
- virtual/pkgconfig" |
44 |
+" |
45 |
+DEPEND="${RDEPEND}" |
46 |
+BDEPEND="virtual/pkgconfig" |
47 |
|
48 |
# Upstream is dead, so there are no bugs to track for any |
49 |
# of these patches. |
50 |
@@ -41,7 +42,7 @@ pkg_setup() { |
51 |
} |
52 |
|
53 |
src_prepare() { |
54 |
- epatch "${PATCHES[@]}" |
55 |
+ default |
56 |
|
57 |
# Without a configure script, we toggle bools manually |
58 |
# This also needs to be done after patches are applied |