From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gmt/
Date: Sun, 16 Feb 2020 17:08:45 +0000 (UTC) [thread overview]
Message-ID: <1581872828.55fe9c5b26895e3f338047a70b57bee78c0641af.asturm@gentoo> (raw)
commit: 55fe9c5b26895e3f338047a70b57bee78c0641af
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 15:50:24 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 17:07:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55fe9c5b
sci-geosciences/gmt: EAPI-7, style fixes, re-add eautoreconf
Closes: https://bugs.gentoo.org/670226
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-geosciences/gmt/gmt-4.5.18-r1.ebuild | 40 ++++++++++++++++++--------------
1 file changed, 22 insertions(+), 18 deletions(-)
diff --git a/sci-geosciences/gmt/gmt-4.5.18-r1.ebuild b/sci-geosciences/gmt/gmt-4.5.18-r1.ebuild
index 086f864b6b2..ac668505bc6 100644
--- a/sci-geosciences/gmt/gmt-4.5.18-r1.ebuild
+++ b/sci-geosciences/gmt/gmt-4.5.18-r1.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
DESCRIPTION="Powerful map generator"
HOMEPAGE="https://gmt.soest.hawaii.edu/"
-SRC_URI="
- mirror://gmt/${P}-src.tar.bz2
+SRC_URI="mirror://gmt/${P}-src.tar.bz2
gmttria? ( mirror://gmt/${P}-non-gpl-src.tar.bz2 )"
LICENSE="GPL-2+ gmttria? ( Artistic )"
@@ -16,23 +15,28 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples debug +gdal gmttria +gshhg htmldoc +metric mex +netcdf octave postscript tutorial"
-RDEPEND="
- !sci-biology/probcons
- gdal? ( sci-libs/gdal )
- gshhg? ( sci-geosciences/gshhg-gmt )
- netcdf? ( >=sci-libs/netcdf-4.1 )
- octave? ( sci-mathematics/octave )"
-DEPEND="${RDEPEND}"
-
# mex can use matlab too which i can't test
-REQUIRED_USE="
- mex? ( octave )
+REQUIRED_USE="mex? ( octave )"
+
+DEPEND="
+ gdal? ( sci-libs/gdal:= )
+ gshhg? ( sci-geosciences/gshhg-gmt )
+ netcdf? ( sci-libs/netcdf:= )
+ octave? ( sci-mathematics/octave:= )
+"
+RDEPEND="${DEPEND}
+ !sci-biology/probcons
"
PATCHES=(
"${FILESDIR}"/${PN}-4.5.9-no-strip.patch
"${FILESDIR}"/${PN}-4.5.6-respect-ldflags.patch
- )
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
local myconf=(
@@ -71,17 +75,17 @@ src_install() {
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
else
- rm -rf "${ED}/usr/share/doc/${PF}/examples" || die
+ rm -r "${ED}/usr/share/doc/${PF}/examples" || die
fi
if ! use htmldoc; then
- rm -rf "${ED}/usr/share/doc/${PF}/html" || die
+ rm -r "${ED}/usr/share/doc/${PF}/html" || die
fi
if use tutorial; then
docompress -x /usr/share/doc/${PF}/tutorial
else
- rm -rf "${ED}/usr/share/doc/${PF}/tutorial" || die
+ rm -r "${ED}/usr/share/doc/${PF}/tutorial" || die
fi
# remove static libs
next reply other threads:[~2020-02-16 17:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-16 17:08 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-07 16:54 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gmt/ Sam James
2023-01-20 1:17 Sam James
2022-12-18 4:20 Sam James
2022-12-18 4:20 Sam James
2022-04-12 21:04 Sam James
2022-03-01 11:57 Andrew Ammerlaan
2020-05-29 7:39 Agostino Sarubbo
2020-02-17 12:21 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-02-16 17:08 Andreas Sturmlechner
2020-02-16 17:08 Andreas Sturmlechner
2020-02-16 17:08 Andreas Sturmlechner
2018-08-18 9:33 Amy Liffey
2016-01-10 20:10 Amy Winston
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=1581872828.55fe9c5b26895e3f338047a70b57bee78c0641af.asturm@gentoo \
--to=asturm@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