commit:     9e3aa0f3e4470acbf013d5048bef5c9230990a98
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 08:34:04 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 08:35:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3aa0f3

app-editors/zile: Bump ebuild to EAPI 6.

Also add slot dependency on ncurses.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../zile/{zile-2.3.24-r1.ebuild => zile-2.3.24-r2.ebuild}     | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/app-editors/zile/zile-2.3.24-r1.ebuild 
b/app-editors/zile/zile-2.3.24-r2.ebuild
similarity index 84%
rename from app-editors/zile/zile-2.3.24-r1.ebuild
rename to app-editors/zile/zile-2.3.24-r2.ebuild
index a826b16dc35..49d18af5637 100644
--- a/app-editors/zile/zile-2.3.24-r1.ebuild
+++ b/app-editors/zile/zile-2.3.24-r2.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Zile is a small Emacs clone"
 HOMEPAGE="https://www.gnu.org/software/zile/";
@@ -14,14 +12,11 @@ SLOT="0"
 KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos ~x86-solaris"
 IUSE="test valgrind"
 
-RDEPEND="sys-libs/ncurses"
+RDEPEND="sys-libs/ncurses:0"
 DEPEND="${RDEPEND}
        test? ( valgrind? ( dev-util/valgrind ) )"
 
-src_prepare() {
-       epatch "${FILESDIR}/${P}-userhome.patch"
-       epatch "${FILESDIR}/${P}-gets.patch"
-}
+PATCHES=("${FILESDIR}"/${P}-{userhome,gets}.patch)
 
 src_configure() {
        econf $(use test && use_with valgrind || echo "--without-valgrind")

Reply via email to