public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/quickplot/
Date: Sun, 28 Mar 2021 01:14:42 +0000 (UTC)	[thread overview]
Message-ID: <1616894023.b198e634ab4d1be829cedb573726025913bb328a.sam@gentoo> (raw)

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


             reply	other threads:[~2021-03-28  1:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28  1:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-29 15:14 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/quickplot/ Arthur Zamarin
2021-10-17  8:51 Sam James
2021-05-25 18:54 Andrew Ammerlaan
2021-01-20 10:16 David Seifert
2017-01-29 22:51 David Seifert
2016-11-12 14:21 Justin Lecher
2016-05-14 23:32 David Seifert
2016-05-14 23:32 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616894023.b198e634ab4d1be829cedb573726025913bb328a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox