From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1264923-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 31AA613835B
	for <garchives@archives.gentoo.org>; Sun, 28 Mar 2021 01:14:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D93C7E0869;
	Sun, 28 Mar 2021 01:14:45 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 61A9EE0845
	for <gentoo-commits@lists.gentoo.org>; Sun, 28 Mar 2021 01:14:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 42955340DE7
	for <gentoo-commits@lists.gentoo.org>; Sun, 28 Mar 2021 01:14:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 769EF5D2
	for <gentoo-commits@lists.gentoo.org>; Sun, 28 Mar 2021 01:14:42 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1616894023.b198e634ab4d1be829cedb573726025913bb328a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/quickplot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild sci-visualization/quickplot/quickplot-0.10.6.ebuild
X-VCS-Directories: sci-visualization/quickplot/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: b198e634ab4d1be829cedb573726025913bb328a
X-VCS-Branch: master
Date: Sun, 28 Mar 2021 01:14:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bcbbac23-5926-4683-926b-eac7393fca45
X-Archives-Hash: f574a9861b89c256dd4ac6799685b377

commit:     b198e634ab4d1be829cedb573726025913bb328a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 23:39:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 01:13:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b198e634

sci-visualization/quickplot: port to EAPI 7, drop .la, drop static-libs

* Port to EAPI 7
* Drop autotools-utils, eutils
* Drop .la
* Drop static-libs

Revbumping to ensure we catch any issues through reports, but
shouldn't be strictly necessary.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ot-0.10.6.ebuild => quickplot-0.10.6-r1.ebuild} | 27 +++++++++++-----------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/sci-visualization/quickplot/quickplot-0.10.6.ebuild b/sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild
similarity index 69%
rename from sci-visualization/quickplot/quickplot-0.10.6.ebuild
rename to sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild
index b3e060eccce..0fb21de2d5b 100644
--- a/sci-visualization/quickplot/quickplot-0.10.6.ebuild
+++ b/sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils eutils
+inherit autotools desktop
 
 DESCRIPTION="A fast interactive 2D plotter"
 HOMEPAGE="http://quickplot.sourceforge.net/"
@@ -20,23 +18,26 @@ RDEPEND="
 	media-libs/libsndfile
 	>=sys-libs/readline-0.6.2:0=
 	x11-libs/gtk+:3"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
+	default
+
 	sed '/libquickplot_la_LIBADD/s:$: -lm:g' -i Makefile.am || die
-	autotools-utils_src_prepare
+
+	eautoreconf
 }
 
 src_configure() {
-	local myeconfargs=(
-		--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
-	)
-	autotools-utils_src_configure
+	econf --disable-static
 }
 
 src_install() {
-	autotools-utils_src_install
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+
 	make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
 	mv "${ED}"/usr/share/applications/quickplot*.desktop \
 		"${ED}"/usr/share/applications/quickplot.desktop || die