commit:     bed7acd5a3bcc624c22f0555dfda54b720987633
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 19:48:07 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 19:48:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed7acd5

media-fonts/shinonome: Port to EAPI 7

Bug: https://bugs.gentoo.org/697292
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-fonts/shinonome/shinonome-0.9.11.ebuild | 34 +++++++++++++--------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/media-fonts/shinonome/shinonome-0.9.11.ebuild 
b/media-fonts/shinonome/shinonome-0.9.11.ebuild
index 1a05e6cfaef..dbb420925c3 100644
--- a/media-fonts/shinonome/shinonome-0.9.11.ebuild
+++ b/media-fonts/shinonome/shinonome-0.9.11.ebuild
@@ -1,35 +1,35 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit font
 
-IUSE=""
-
 DESCRIPTION="Japanese bitmap fonts for X"
-SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2";
 HOMEPAGE="http://openlab.jp/efont/shinonome/";
+SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2";
 
 LICENSE="public-domain"
-SLOT=0
+SLOT="0"
 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86"
+# Only installs fonts
+RESTRICT="strip binchecks"
 
-DEPEND="x11-apps/bdftopcf"
-RDEPEND=""
+BDEPEND="x11-apps/bdftopcf"
 
-FONT_SUFFIX="pcf.gz"
-FONT_S=${S}
 DOCS="AUTHORS BUGS ChangeLog* DESIGN* INSTALL LICENSE README THANKS TODO"
+FONT_S="${S}"
+FONT_SUFFIX="pcf.gz"
 
-# Only installs fonts
-RESTRICT="strip binchecks"
+src_configure() {
+       econf --with-pcf --without-bdf
+}
 
-src_compile(){
-       econf --with-pcf --without-bdf || die
-       emake || die
+src_compile() {
+       default
 
-       for i in *.pcf ; do
-               gzip -9 $i
+       local i
+       for i in *.pcf; do
+               gzip -9 "${i}" || die
        done
 }

Reply via email to