commit:     3a9f15ec11b8d2c74bd22ba11ae4db8b623df90a
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Thu Feb 23 16:41:03 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 14:14:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9f15ec

x11-misc/unclutter: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4071

 .../{unclutter-8-r3.ebuild => unclutter-8-r4.ebuild}    | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/x11-misc/unclutter/unclutter-8-r3.ebuild 
b/x11-misc/unclutter/unclutter-8-r4.ebuild
similarity index 75%
rename from x11-misc/unclutter/unclutter-8-r3.ebuild
rename to x11-misc/unclutter/unclutter-8-r4.ebuild
index 260ebc9d0e..1372a6c79a 100644
--- a/x11-misc/unclutter/unclutter-8-r3.ebuild
+++ b/x11-misc/unclutter/unclutter-8-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Hides mouse pointer while not in use"
 HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README";
@@ -20,11 +20,10 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PN}
 
-src_prepare() {
-       epatch \
-               "${FILESDIR}"/${P}-include.patch \
-               "${FILESDIR}"/${P}-FocusOut.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-include.patch
+       "${FILESDIR}"/${P}-FocusOut.patch
+)
 
 src_compile() {
        emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDOPTIONS="${LDFLAGS}"
@@ -33,5 +32,5 @@ src_compile() {
 src_install () {
        dobin unclutter
        newman unclutter.man unclutter.1x
-       dodoc README
+       einstalldocs
 }

Reply via email to