Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tegaki-zinnia-japanese/
Date: Sun, 07 Nov 2021 09:36:19
Message-Id: 1636277753.596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0.hattya@gentoo
1 commit: 596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 09:35:53 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 09:35:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596ca22a
7
8 app-i18n/tegaki-zinnia-japanese: update to EAPI 8
9
10 Closes: https://bugs.gentoo.org/819723
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
13
14 .../tegaki-zinnia-japanese-0.3.ebuild | 13 +++++++++----
15 1 file changed, 9 insertions(+), 4 deletions(-)
16
17 diff --git a/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild b/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild
18 index 87a22f055d3..98633580a6e 100644
19 --- a/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild
20 +++ b/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild
21 @@ -1,7 +1,7 @@
22 # Copyright 2013-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI="8"
27
28 DESCRIPTION="Handwriting model data of Japanese"
29 HOMEPAGE="https://tegaki.github.io/"
30 @@ -12,12 +12,17 @@ SLOT="0"
31 KEYWORDS="amd64 ~arm64 ~ppc64 x86"
32 IUSE=""
33
34 -DEPEND="app-arch/unzip"
35 RDEPEND=""
36 +BDEPEND="app-arch/unzip"
37
38 src_prepare() {
39 - sed -i -e "/^installpath=/s:local/::" Makefile || die
40 - sed -i -e "/^installpath=/s:installpath=:installpath=${ED}:" Makefile || die
41 + default
42 +
43 + sed -i \
44 + -e "/^installpath=/s|local/||" \
45 + -e "/^installpath=/s|=|=${EPREFIX}|" \
46 + -e "s/\(\$(inst\)/\$(DESTDIR)\1/" \
47 + Makefile
48 }
49
50 src_compile() {