sys-fs/gt5: bump EAPI and stuff
authorAaron Bauman <bman@gentoo.org>
Sun, 10 Nov 2019 00:51:57 +0000 (19:51 -0500)
committerAaron Bauman <bman@gentoo.org>
Sun, 10 Nov 2019 00:52:28 +0000 (19:52 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
sys-fs/gt5/gt5-1.4.0-r2.ebuild

index d28d9f6c1eed409dc38f044b21061dbc2eb78be1..be428b6bb9f4b96425c5dcd43c21e359fe5e1c2d 100644 (file)
@@ -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
index 4aab4d0ab840a6f3a79e111e74331205bcf15113..c1eb9b91b640d3938f80f11de03527ba0a157758 100644 (file)
@@ -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?
index 41df9c34df7a2290c84adff2115f8020ed44bfde..4c907a13c1c7016fa6a0d8d8920cbcb6206e5423 100644 (file)
@@ -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