summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-09 19:51:57 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-09 19:52:28 -0500
commitb325e8d9f1e0de594487727cff8fffc5eff2fe26 (patch)
tree3c5d18162713628c0250c8af30d9504cb5bcbbac /sys-fs/gt5
parentsys-cluster/neutron: fix dep on weakrefmethod (diff)
downloadgentoo-b325e8d9f1e0de594487727cff8fffc5eff2fe26.tar.gz
gentoo-b325e8d9f1e0de594487727cff8fffc5eff2fe26.tar.bz2
gentoo-b325e8d9f1e0de594487727cff8fffc5eff2fe26.zip
sys-fs/gt5: bump EAPI and stuff
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sys-fs/gt5')
-rw-r--r--sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch5
-rw-r--r--sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch4
-rw-r--r--sys-fs/gt5/gt5-1.4.0-r2.ebuild20
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 d28d9f6c1eed..be428b6bb9f4 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 4aab4d0ab840..c1eb9b91b640 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 41df9c34df7a..4c907a13c1c7 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