From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/rivet/
Date: Sat, 29 Apr 2023 10:42:38 +0000 (UTC) [thread overview]
Message-ID: <1682764836.3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0.alexander@gentoo> (raw)
commit: 3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Apr 29 10:40:36 2023 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Sat Apr 29 10:40:36 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3a54a366
sci-physics/rivet: add 3.1.7
Bug: https://bugs.gentoo.org/897736
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
sci-physics/rivet/rivet-3.1.7.ebuild | 78 ++++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/sci-physics/rivet/rivet-3.1.7.ebuild b/sci-physics/rivet/rivet-3.1.7.ebuild
new file mode 100644
index 000000000..48e47114c
--- /dev/null
+++ b/sci-physics/rivet/rivet-3.1.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-single-r1 flag-o-matic autotools optfeature
+
+MY_PN="Rivet"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and Theory)"
+HOMEPAGE="
+ https://rivet.hepforge.org/
+ https://gitlab.com/hepcedar/rivet
+"
+SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz"
+S=${WORKDIR}/${MY_PF}
+
+LICENSE="GPL-3+"
+SLOT="3"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 hepmc2 +zlib"
+REQUIRED_USE="
+ ^^ ( hepmc3 hepmc2 )
+ ${PYTHON_REQUIRED_USE}
+"
+
+RDEPEND="
+ >=sci-physics/yoda-1.9.5[python(-),${PYTHON_SINGLE_USEDEP}]
+ >=sci-physics/fastjet-3.4.0[plugins]
+ >=sci-physics/fastjet-contrib-1.048
+ hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+ hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+
+ sci-libs/gsl
+ zlib? ( sys-libs/zlib )
+
+ ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/fortran
+ >=dev-python/cython-0.29.24
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.6-binreloc.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Eigen complains about alignment (see https://gitlab.com/libeigen/eigen/-/issues/2523).
+ # does this affect more cpus?
+ replace-cpu-flags znver1 x86-64
+ econf \
+ $(use_with zlib zlib "${ESYSROOT}/usr") \
+ $(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+ $(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+ --with-yoda="${ESYSROOT}/usr" \
+ --with-fastjet="${ESYSROOT}/usr"
+}
+
+src_install() {
+ default
+ python_optimize
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinstall() {
+ optfeature "plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+}
next reply other threads:[~2023-04-29 10:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-29 10:42 Alexander Puck Neuwirth [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-02 12:25 [gentoo-commits] proj/sci:master commit in: sci-physics/rivet/ Andrew Ammerlaan
2022-09-02 9:24 Andrew Ammerlaan
2015-08-30 15:14 Jauhien Piatlicki
2015-08-15 21:30 Jauhien Piatlicki
2014-09-05 21:21 Jauhien Piatlicki
2014-05-07 23:19 Sebastien Fabbro
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=1682764836.3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0.alexander@gentoo \
--to=alexander@neuwirth-informatik.de \
--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