commit:     c45fcbbc28f5d72f1816eaa6846ca2dc6a8f4884
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 16:45:57 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 19:37:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45fcbbc

dev-util/memprof: EAPI-7 bump, drop eutils and ltprune, use https

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../memprof/files/memprof-0.6.2-binutils.patch     |  4 +--
 dev-util/memprof/files/memprof-0.6.2-desktop.patch |  4 +--
 dev-util/memprof/memprof-0.6.2-r1.ebuild           | 32 ++++++++++++----------
 3 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/dev-util/memprof/files/memprof-0.6.2-binutils.patch 
b/dev-util/memprof/files/memprof-0.6.2-binutils.patch
index 2a7f80993d5..c38e8d95b4f 100644
--- a/dev-util/memprof/files/memprof-0.6.2-binutils.patch
+++ b/dev-util/memprof/files/memprof-0.6.2-binutils.patch
@@ -1,5 +1,5 @@
---- src/memprof.h
-+++ src/memprof.h
+--- a/src/memprof.h
++++ b/src/memprof.h
 @@ -24,6 +24,7 @@
  #include <gtk/gtkwidget.h>
  #include <stdio.h>

diff --git a/dev-util/memprof/files/memprof-0.6.2-desktop.patch 
b/dev-util/memprof/files/memprof-0.6.2-desktop.patch
index a49b5697aac..9c1cd7a2f99 100644
--- a/dev-util/memprof/files/memprof-0.6.2-desktop.patch
+++ b/dev-util/memprof/files/memprof-0.6.2-desktop.patch
@@ -1,5 +1,5 @@
---- memprof.desktop
-+++ memprof.desktop
+--- a/memprof.desktop
++++ b/memprof.desktop
 @@ -11,17 +11,13 @@
  Name[uk]=MemProf
  Comment=Check a program for leaks and analyze its memory usage

diff --git a/dev-util/memprof/memprof-0.6.2-r1.ebuild 
b/dev-util/memprof/memprof-0.6.2-r1.ebuild
index 5bceac4e780..b2216864763 100644
--- a/dev-util/memprof/memprof-0.6.2-r1.ebuild
+++ b/dev-util/memprof/memprof-0.6.2-r1.ebuild
@@ -1,34 +1,36 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils ltprune
+EAPI=7
 
 DESCRIPTION="Profiling and leak detection tool"
-HOMEPAGE="http://www.secretlabs.de/projects/memprof/";
-SRC_URI="http://www.secretlabs.de/projects/memprof/releases/${P}.tar.gz";
+HOMEPAGE="https://www.secretlabs.de/projects/memprof/";
+SRC_URI="https://www.secretlabs.de/projects/memprof/releases/${P}.tar.gz";
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="nls"
 
-RDEPEND="dev-libs/glib:2
+RDEPEND="
+       dev-libs/glib:2
        >=gnome-base/libglade-2
        >=x11-libs/gtk+-2.6:2
        nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
-       nls? ( dev-util/intltool
-               sys-devel/gettext )"
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
 
 DOCS=( AUTHORS ChangeLog README NEWS )
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-binutils.patch
-       epatch "${FILESDIR}"/${P}-desktop.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-binutils.patch
+       "${FILESDIR}"/${P}-desktop.patch
+)
 
 src_configure() {
        econf \
@@ -38,5 +40,5 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files --modules
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to