app-editors/zile: Bump ebuild to EAPI 6.
authorUlrich Müller <ulm@gentoo.org>
Sat, 1 Jul 2017 08:34:04 +0000 (10:34 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sat, 1 Jul 2017 08:35:11 +0000 (10:35 +0200)
Also add slot dependency on ncurses.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

app-editors/zile/zile-2.3.24-r2.ebuild [moved from app-editors/zile/zile-2.3.24-r1.ebuild with 84% similarity]

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 a826b16dc353ce5cbd07096770ed68e27e217f40..49d18af56379076f9d2c792b32b9cee5b912d663 100644 (file)
@@ -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")