commit:     a4a98bcc6e95624c7cc952a002fbd51c6b74d902
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 01:48:35 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:49:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a98bcc

x11-misc/grun: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/grun/grun-0.9.3-r1.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/x11-misc/grun/grun-0.9.3-r1.ebuild 
b/x11-misc/grun/grun-0.9.3-r1.ebuild
index 285e3e6bfdb..e354f70eaec 100644
--- a/x11-misc/grun/grun-0.9.3-r1.ebuild
+++ b/x11-misc/grun/grun-0.9.3-r1.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit epatch
+EAPI=7
 
 DESCRIPTION="A GTK based Run dialog resembling the Windows Run dialog, just 
like xexec"
 HOMEPAGE="https://github.com/lrgc/grun";
@@ -18,15 +17,15 @@ RDEPEND="
        x11-libs/gdk-pixbuf
        x11-libs/gtk+:2
 "
-DEPEND="
-       ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
        nls? ( sys-devel/gettext )
 "
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-no_nls.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-no_nls.patch
+)
 
 src_configure() {
        [[ -z ${TERM} ]] && TERM=xterm

Reply via email to