diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-15 17:45:57 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-15 20:37:23 +0100 |
commit | c45fcbbc28f5d72f1816eaa6846ca2dc6a8f4884 (patch) | |
tree | a257ccd77e8a1443ef39b6ebf16ca613b2514a23 /dev-util/memprof | |
parent | sci-libs/lapack: add github remote-id (diff) | |
download | gentoo-c45fcbbc28f5d72f1816eaa6846ca2dc6a8f4884.tar.gz gentoo-c45fcbbc28f5d72f1816eaa6846ca2dc6a8f4884.tar.bz2 gentoo-c45fcbbc28f5d72f1816eaa6846ca2dc6a8f4884.zip |
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@gentoo.org>
Diffstat (limited to 'dev-util/memprof')
-rw-r--r-- | dev-util/memprof/files/memprof-0.6.2-binutils.patch | 4 | ||||
-rw-r--r-- | dev-util/memprof/files/memprof-0.6.2-desktop.patch | 4 | ||||
-rw-r--r-- | 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 2a7f80993d5e..c38e8d95b4f2 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 a49b5697aaca..9c1cd7a2f995 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 5bceac4e7801..b2216864763e 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 } |