app-crypt/nasty: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 13 Jan 2017 23:20:01 +0000 (01:20 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 13 Jan 2017 23:32:37 +0000 (01:32 +0200)
Package-Manager: portage-2.3.0

app-crypt/nasty/files/nasty-0.6-flags.patch
app-crypt/nasty/nasty-0.6-r1.ebuild

index 271bbaab4984ca35fd1c6bc52ccf4e7587165994..522e570a94a821119b689f448f396cb02bd85f71 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -1,15 +1,16 @@
  VERSION=0.6
  
index 35c3375ccb50be9d5447800e0ff21eb81bc39cc0..8cea59381f4a75982ed96c00d4e4528c20b42bd0 100644 (file)
@@ -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="2"
+EAPI="6"
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Proof-of-concept GPG passphrase recovery tool"
 HOMEPAGE="http://www.vanheusden.com/nasty/"
@@ -16,15 +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)" DEBUG= || die "emake failed"
+       emake CC="$(tc-getCC)" DEBUG=
 }
 
 src_install() {
-       dobin nasty || die "dobin nasty failed"
+       dobin nasty
        dodoc readme.txt
 }