commit:     b325e8d9f1e0de594487727cff8fffc5eff2fe26
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 00:51:57 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 00:52:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b325e8d9

sys-fs/gt5: bump EAPI and stuff

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch |  5 ++---
 sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch   |  4 ++--
 sys-fs/gt5/gt5-1.4.0-r2.ebuild                | 20 ++++++++------------
 3 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch 
b/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
index d28d9f6c1ee..be428b6bb9f 100644
--- a/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
+++ b/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
@@ -1,6 +1,5 @@
-diff -ru gt5-1.4.0.orig/gt5 gt5-1.4.0/gt5
---- gt5-1.4.0.orig/gt5 2007-09-17 00:29:48.685233203 +0200
-+++ gt5-1.4.0/gt5      2007-09-17 00:29:55.684165472 +0200
+--- a/gt5      2007-09-17 00:29:48.685233203 +0200
++++ b/gt5      2007-09-17 00:29:55.684165472 +0200
 @@ -1,4 +1,4 @@
 -#!/bin/sh
 +#!/bin/bash

diff --git a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch 
b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
index 4aab4d0ab84..c1eb9b91b64 100644
--- a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
+++ b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
@@ -1,5 +1,5 @@
---- /usr/bin/gt5.old   2011-01-10 23:01:29.778000092 +0100
-+++ /usr/bin/gt5       2011-01-10 23:01:16.577000089 +0100
+--- a/gt5      2011-01-10 23:01:29.778000092 +0100
++++ b/gt5      2011-01-10 23:01:16.577000089 +0100
 @@ -261,7 +261,7 @@
  
  #can du handle depths?

diff --git a/sys-fs/gt5/gt5-1.4.0-r2.ebuild b/sys-fs/gt5/gt5-1.4.0-r2.ebuild
index 41df9c34df7..4c907a13c1c 100644
--- a/sys-fs/gt5/gt5-1.4.0-r2.ebuild
+++ b/sys-fs/gt5/gt5-1.4.0-r2.ebuild
@@ -1,30 +1,26 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="a diff-capable 'du-browser'"
 HOMEPAGE="http://gt5.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
+KEYWORDS="amd64 ~sparc x86"
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
 IUSE=""
 
 RDEPEND="|| ( www-client/links
                www-client/elinks
                www-client/lynx )"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       epatch "${FILESDIR}/${P}-bash-shabang.patch" \
-               "${FILESDIR}/${P}-empty-dirs.patch"
-}
+PATCHES=(
+       "${FILESDIR}/${P}-bash-shabang.patch"
+       "${FILESDIR}/${P}-empty-dirs.patch"
+)
 
 src_install() {
                dobin gt5

Reply via email to