app-admin/localepurge: EAPI bump, epatch->eapply
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 6 Apr 2018 12:31:38 +0000 (07:31 -0500)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 7 Apr 2018 15:35:34 +0000 (17:35 +0200)
Removed eutils and switched epatch's to PATCH=() array.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7843

app-admin/localepurge/files/localepurge-0.5.4-directorysum.patch
app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
app-admin/localepurge/files/localepurge-0.5.4-parentdir.patch
app-admin/localepurge/files/localepurge-0.5.4-prefix.patch
app-admin/localepurge/localepurge-0.5.4-r2.ebuild

index f837d2845d5439e386e037b3b3ffd67ad87dbe5b..ebca3b755aec25ec76a7bc3fc105cd1bbf40474d 100644 (file)
@@ -1,5 +1,5 @@
---- localepurge.orig   2012-12-04 23:15:29.422756767 +0100
-+++ localepurge        2012-12-04 23:16:13.313756491 +0100
+--- a/localepurge
++++ b/localepurge
 @@ -198,7 +198,7 @@
  
          if [ "$SHOWFREEDSPACE" = "enabled" ]; then
index df80a7f9c8a63cca57082d3cfc2b2136342732ad..aed4082833434a35f5c75bfb637da978f43f4b7a 100644 (file)
@@ -1,5 +1,5 @@
---- localepurge.original       2012-12-02 18:32:35.000000000 +0400
-+++ localepurge        2013-01-14 19:31:35.327821252 +0400
+--- a/localepurge
++++ b/localepurge
 @@ -254,7 +254,7 @@
  
  # Calculating and reporting total disk space freed:
index 2b052ddf4d993484822bfbdf8176c90af41b0858..2d8d6dac572022c7a89f80487c43faebeda5ba4a 100644 (file)
@@ -1,5 +1,5 @@
---- localepurge.orig   2012-12-04 23:08:17.754765708 +0100
-+++ localepurge        2012-12-04 23:09:02.397765264 +0100
+--- a/localepurge
++++ b/localepurge
 @@ -165,7 +165,14 @@
      ${ACTION} `find ${REMOVEPATH} -type f -o -type l`
  
index 66ebbf09ac96f6f7d3c2fe75321529da38fa53e2..488871381aeda1a24522112ec16877f38ee79b48 100644 (file)
@@ -1,5 +1,5 @@
---- localepurge.orig   2012-12-02 19:56:18.000000000 +0100
-+++ localepurge        2012-12-02 20:00:38.000000000 +0100
+--- a/localepurge
++++ b/localepurge
 @@ -1,14 +1,14 @@
 -#!/bin/bash
 +#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
index cb6dca5900aa9bb0f5af5ff2c6c5c7b2975085f9..2375b29b4a0a48ed7287563029f47abbc14cf207 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils prefix
+inherit prefix
 
 DESCRIPTION="Script to recover diskspace on unneeded locale files & localized man pages"
 HOMEPAGE="https://gentoo.org
@@ -20,14 +20,15 @@ RDEPEND="app-shells/bash"
 
 S=${WORKDIR}/${PN}
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.5.4-prefix.patch
+       "${FILESDIR}"/${PN}-0.5.4-directorysum.patch # 164544
+       "${FILESDIR}"/${PN}-0.5.4-parentdir.patch #445910
+       "${FILESDIR}"/${PN}-0.5.4-evaltotal.patch #452208
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-prefix.patch
-       # 164544
-       epatch "${FILESDIR}"/${P}-directorysum.patch
-       # 445910
-       epatch "${FILESDIR}"/${P}-parentdir.patch
-        # 452208
-       epatch "${FILESDIR}"/${P}-evaltotal.patch
+       default
        eprefixify ${PN}
 }