commit:     2665e86cb449382a293ec9f8d58502679f1c6bf8
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  6 22:32:58 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 22:35:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2665e86c

gnustep-apps/gemas: bump EAPI

Closes: https://bugs.gentoo.org/819999
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 gnustep-apps/gemas/{gemas-0.4.ebuild => gemas-0.4-r1.ebuild} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnustep-apps/gemas/gemas-0.4.ebuild 
b/gnustep-apps/gemas/gemas-0.4-r1.ebuild
similarity index 79%
rename from gnustep-apps/gemas/gemas-0.4.ebuild
rename to gnustep-apps/gemas/gemas-0.4-r1.ebuild
index 779333075a6..276c00b2e2f 100644
--- a/gnustep-apps/gemas/gemas-0.4.ebuild
+++ b/gnustep-apps/gemas/gemas-0.4-r1.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit epatch gnustep-2
+EAPI=7
+inherit gnustep-2
 
 MY_P=${P/g/G}
 DESCRIPTION="a simple code editor for GNUstep"
@@ -21,15 +21,13 @@ RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-bundle_makefile.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-bundle_makefile.patch )
 
 src_compile() {
        gnustep-base_src_compile
        if use projectcenter;
        then
-               cd Bundle/Gemas || die "compile cd failed"
+               cd Bundle/Gemas || die
                egnustep_make
        fi
 }
@@ -38,7 +36,7 @@ src_install() {
        gnustep-base_src_install
        if use projectcenter;
        then
-               cd Bundle/Gemas || die "install cd failed"
+               cd Bundle/Gemas || die
                egnustep_install
        fi
 }

Reply via email to