1 |
commit: adc1e8ec9c58fdb797df8d1ae25dc94aa9587415 |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 07:14:42 2020 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 07:15:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc1e8ec |
7 |
|
8 |
sci-electronics/xnec2c: Bump EAPI, fix QA problems |
9 |
|
10 |
use docinto and dodoc instead of dohtml and insinto |
11 |
|
12 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
13 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
14 |
|
15 |
sci-electronics/xnec2c/xnec2c-3.5.1.ebuild | 10 ++++++---- |
16 |
1 file changed, 6 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild b/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild |
19 |
index 8bcf439db3c..134ddca07cc 100644 |
20 |
--- a/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild |
21 |
+++ b/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild |
22 |
@@ -1,7 +1,7 @@ |
23 |
# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
+EAPI=7 |
28 |
|
29 |
inherit autotools eutils |
30 |
|
31 |
@@ -20,6 +20,8 @@ DEPEND="${RDEPEND} |
32 |
sys-devel/gettext" |
33 |
|
34 |
src_prepare() { |
35 |
+ eapply_user |
36 |
+ |
37 |
glib-gettextize --force --copy || die |
38 |
eautoreconf |
39 |
} |
40 |
@@ -28,7 +30,7 @@ src_install() { |
41 |
default |
42 |
|
43 |
dodoc AUTHORS README doc/*.txt |
44 |
- use doc && dohtml -r doc/*.html doc/images |
45 |
- insinto /usr/share/doc/${PF}/examples |
46 |
- use examples && doins examples/* |
47 |
+ use doc && dodoc -r doc/*.html doc/images |
48 |
+ docinto examples |
49 |
+ use examples && dodoc examples/* |
50 |
} |