sys-fs/yaffs2utils: port to EAPI=7
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 22 Mar 2020 10:59:10 +0000 (13:59 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 22 Mar 2020 10:59:49 +0000 (13:59 +0300)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-fs/yaffs2utils/yaffs2utils-0.2.9.ebuild

index 77ee6a3a74581311fe647dd44a2f4169fbc644e5..d9691a18fa89ef1cb6fb6844c103b0e4ff69492f 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="tools for generating YAFFS images"
 HOMEPAGE="https://code.google.com/p/yaffs2utils/"
@@ -12,13 +12,13 @@ SRC_URI="https://yaffs2utils.googlecode.com/files/0.2.9.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~mips ~x86"
-IUSE=""
 
 S=${WORKDIR}/${PV}
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
-       epatch "${FILESDIR}"/${P}-unyaffs2-pointer.patch
+       default
+       eapply "${FILESDIR}"/${P}-build.patch
+       eapply "${FILESDIR}"/${P}-unyaffs2-pointer.patch
 }
 
 src_configure() {