From 47fd579cdf5b02134c7a7465b3ea2004203a380d Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 14 Jan 2017 01:20:01 +0200 Subject: app-crypt/nasty: eapi bump Package-Manager: portage-2.3.0 --- app-crypt/nasty/files/nasty-0.6-flags.patch | 4 ++-- app-crypt/nasty/nasty-0.6-r1.ebuild | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'app-crypt/nasty') diff --git a/app-crypt/nasty/files/nasty-0.6-flags.patch b/app-crypt/nasty/files/nasty-0.6-flags.patch index 271bbaab498..522e570a94a 100644 --- a/app-crypt/nasty/files/nasty-0.6-flags.patch +++ b/app-crypt/nasty/files/nasty-0.6-flags.patch @@ -1,5 +1,5 @@ ---- Makefile -+++ Makefile +--- a/Makefile ++++ b/Makefile @@ -1,15 +1,16 @@ VERSION=0.6 diff --git a/app-crypt/nasty/nasty-0.6-r1.ebuild b/app-crypt/nasty/nasty-0.6-r1.ebuild index 35c3375ccb5..8cea59381f4 100644 --- a/app-crypt/nasty/nasty-0.6-r1.ebuild +++ b/app-crypt/nasty/nasty-0.6-r1.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="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 } -- cgit v1.2.1