1 |
commit: 3077091c6b1e7fe353b0b2b0b176272fe56fad91 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 21:50:57 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 21:50:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3077091c |
7 |
|
8 |
app-text/texi2html: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-text/texi2html/texi2html-5.0-r1.ebuild | 30 ++++++++++++++++-------------- |
14 |
1 file changed, 16 insertions(+), 14 deletions(-) |
15 |
|
16 |
diff --git a/app-text/texi2html/texi2html-5.0-r1.ebuild b/app-text/texi2html/texi2html-5.0-r1.ebuild |
17 |
index 81ea54fbe10..51e4bdab7d4 100644 |
18 |
--- a/app-text/texi2html/texi2html-5.0-r1.ebuild |
19 |
+++ b/app-text/texi2html/texi2html-5.0-r1.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=4 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit prefix |
29 |
|
30 |
@@ -13,32 +13,34 @@ LICENSE="GPL-2+ || ( GPL-2 CC-BY-SA-1.0 ) Texinfo-manual LGPL-2+ MIT" |
31 |
SLOT="0" |
32 |
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
33 |
IUSE="unicode" |
34 |
+RESTRICT="test" #411523 |
35 |
|
36 |
-RDEPEND=">=dev-lang/perl-5.10.1 |
37 |
- >=dev-perl/libintl-perl-1.200 |
38 |
+RDEPEND=" |
39 |
+ dev-lang/perl |
40 |
+ dev-perl/libintl-perl |
41 |
unicode? ( |
42 |
dev-perl/Text-Unidecode |
43 |
dev-perl/Unicode-EastAsianWidth |
44 |
- )" |
45 |
+ )" |
46 |
DEPEND="${RDEPEND}" |
47 |
|
48 |
-DOCS="AUTHORS ChangeLog NEWS README TODO" |
49 |
- |
50 |
-RESTRICT="test" #411523 |
51 |
- |
52 |
src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
# On FreeBSD this script is used instead of GNU install but it comes without |
56 |
# executable pemissions... Fix it! |
57 |
chmod +x install-sh || die |
58 |
|
59 |
if use prefix; then |
60 |
- hprefixify $(find . -name '*.pl' | xargs) |
61 |
+ local f |
62 |
+ while IFS="" read -d $'\0' -r f ; do |
63 |
+ hprefixify "${f}" |
64 |
+ done < <(find . -name '*.pl' -print0) |
65 |
fi |
66 |
} |
67 |
|
68 |
src_configure() { |
69 |
- local myconf |
70 |
- use unicode && myconf='--with-external-Unicode-EastAsianWidth' |
71 |
+ use unicode && local myconf='--with-external-Unicode-EastAsianWidth' |
72 |
|
73 |
econf \ |
74 |
--with-external-libintl-perl \ |
75 |
@@ -48,9 +50,9 @@ src_configure() { |
76 |
|
77 |
src_install() { |
78 |
default |
79 |
- rm -f "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README} |
80 |
+ rm "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README} || die |
81 |
} |
82 |
|
83 |
pkg_preinst() { |
84 |
- rm -f "${EROOT}"/usr/bin/${PN} |
85 |
+ rm -f "${EROOT}"/usr/bin/${PN} || die |
86 |
} |