commit:     09aa81fc24094d769d1e1e8ea1a38c52b3e9cf8e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 18:08:48 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 18:08:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09aa81fc

sci-visualization/g3data: Port to EAPI 7

Closes: https://bugs.gentoo.org/741636
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../g3data/files/g3data-1.5.4-desktop-QA.patch              | 11 +++++++++++
 sci-visualization/g3data/g3data-1.5.4.ebuild                | 13 ++++++-------
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch 
b/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch
new file mode 100644
index 00000000000..3391659716d
--- /dev/null
+++ b/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch
@@ -0,0 +1,11 @@
+--- a/data/g3data.desktop
++++ b/data/g3data.desktop
+@@ -3,7 +3,7 @@
+ Name=g3data
+ Comment=Data Extraction Tool
+ Exec=g3data
+-Icon=g3data-icon.xpm
++Icon=g3data-icon
+ Terminal=false
+ Type=Application
+ Categories=GNOME;Science;Graphics;

diff --git a/sci-visualization/g3data/g3data-1.5.4.ebuild 
b/sci-visualization/g3data/g3data-1.5.4.ebuild
index 2a29bfeff75..aff34e27940 100644
--- a/sci-visualization/g3data/g3data-1.5.4.ebuild
+++ b/sci-visualization/g3data/g3data-1.5.4.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit autotools-utils eutils
+EAPI=7
 
 DESCRIPTION="Tool for extracting data from graphs"
 HOMEPAGE="https://github.com/pn2200/g3data";
@@ -12,8 +10,9 @@ 
SRC_URI="https://github.com/downloads/pn2200/g3data/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
 RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-desktop-QA.patch )

Reply via email to