app-crypt/gpgstats: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 11:17:11 +0000 (13:17 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 20:06:36 +0000 (22:06 +0200)
Package-Manager: portage-2.3.3

app-crypt/gpgstats/files/gpgstats-0.5-flags.patch
app-crypt/gpgstats/gpgstats-0.5-r1.ebuild

index 018d97390c65edb4f2d46abc119114def90b5acf..9a058ec48dbc6d06f0936091f59ee61ffc407b35 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -1,16 +1,18 @@
  VERSION=0.5
  
index f10306f88613cc5c07d94a8fec61791568e3807c..a06c97701e67e8159cbc49df4c4a02dca148f4b1 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI="6"
 
 inherit eutils toolchain-funcs
 
@@ -16,14 +16,15 @@ IUSE=""
 RDEPEND="app-crypt/gpgme"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       epatch "${FILESDIR}/${P}-flags.patch"
-}
+PATCHES=(
+       "${FILESDIR}/${P}-flags.patch"
+)
 
 src_compile() {
-       emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG= || die "emake failed"
+       emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG=
 }
 
 src_install() {
-       dobin gpgstats || die "dobin gpgstas failed"
+       einstalldocs
+       dobin gpgstats
 }