x11-misc/xsnap: EAPI bump 5 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Mon, 20 Feb 2017 16:34:10 +0000 (18:34 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 21 Feb 2017 08:13:44 +0000 (09:13 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

x11-misc/xsnap/xsnap-1.5.15-r1.ebuild [moved from x11-misc/xsnap/xsnap-1.5.15.ebuild with 90% similarity]

similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c69fe00158933aabe676bbe3cd4f921d..6747829d96921dbbd8508f4301267c601d39e691 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-root_name.patch
+       default
 
        sed -i \
                -e 's|/usr/share/locale|$(LOCALEDIR)|g' \