From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/fastjet/
Date: Sat, 20 Mar 2021 12:12:46 +0000 (UTC) [thread overview]
Message-ID: <1616242350.836a2916760428bd6c9649f6f8559ecd42b35da7.soap@gentoo> (raw)
commit: 836a2916760428bd6c9649f6f8559ecd42b35da7
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 12:12:30 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 12:12:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836a2916
sci-physics/fastjet: Port to EAPI 7
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-physics/fastjet/fastjet-3.0.6-r1.ebuild | 56 +++++++++++++++++------------
1 file changed, 34 insertions(+), 22 deletions(-)
diff --git a/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild b/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild
index a7fec572825..b5cfe12ace3 100644
--- a/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild
+++ b/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild
@@ -1,12 +1,11 @@
-# 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
FORTRAN_NEEDED=plugins
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils fortran-2 flag-o-matic
+inherit autotools flag-o-matic fortran-2
DESCRIPTION="Fast implementation of several recombination jet algorithms"
HOMEPAGE="http://www.fastjet.fr/"
@@ -15,40 +14,53 @@ SRC_URI="http://www.fastjet.fr/repo/${P}.tar.gz"
LICENSE="GPL-2 QPL"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cgal doc examples +plugins static-libs"
+IUSE="cgal doc examples +plugins"
-RDEPEND="cgal? ( sci-mathematics/cgal )"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen[dot] )
- plugins? ( sci-physics/siscone:0= )"
+RDEPEND="
+ cgal? ( sci-mathematics/cgal:= )
+ plugins? ( sci-physics/siscone:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen[dot] )"
PATCHES=( "${FILESDIR}"/${P}-system-siscone.patch )
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
use cgal && \
- has_version sci-mathematics/cgal[gmp] && append-ldflags -lgmp
- local myeconfargs=(
- $(use_enable cgal)
- $(use_enable plugins allplugins)
+ has_version 'sci-mathematics/cgal[gmp]' && append-libs -lgmp
+
+ econf \
+ --disable-static \
+ $(use_enable cgal) \
+ $(use_enable plugins allplugins) \
$(use_enable plugins allcxxplugins)
- )
- autotools-utils_src_configure
}
src_compile() {
- autotools-utils_src_compile
+ default
+
if use doc; then
doxygen Doxyfile || die
+ HTML_DOCS=( html/. )
fi
}
src_install() {
- autotools-utils_src_install
- use doc && dohtml -r html/*
+ default
+
if use examples; then
- insinto /usr/share/doc/${PF}
- find example \
- -name Makefile -or Makefile.in -or Makefile.am -delete
- doins -r example/*
+ emake -C example maintainer-clean
+ find example -iname 'makefile*' -delete || die
+
+ docinto examples
+ dodoc -r example/.
+ docompress -x /usr/share/doc/${PF}/examples
fi
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
}
next reply other threads:[~2021-03-20 12:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-20 12:12 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-27 9:08 [gentoo-commits] repo/gentoo:master commit in: sci-physics/fastjet/ Andrew Ammerlaan
2024-03-18 10:56 Andrew Ammerlaan
2022-07-22 20:57 Andrew Ammerlaan
2022-07-22 20:37 Andrew Ammerlaan
2022-07-22 9:42 Andrew Ammerlaan
2021-07-07 17:48 Joonas Niilola
2021-05-19 22:41 Andrew Savchenko
2021-05-13 16:12 Ulrich Müller
2020-09-24 1:06 Aaron Bauman
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=1616242350.836a2916760428bd6c9649f6f8559ecd42b35da7.soap@gentoo \
--to=soap@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