From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38CB115ACFC for ; Sat, 29 Apr 2023 10:42:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4697EE0848; Sat, 29 Apr 2023 10:42:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC54EE0848 for ; Sat, 29 Apr 2023 10:42:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A63E633BED4 for ; Sat, 29 Apr 2023 10:42:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F09DEA36 for ; Sat, 29 Apr 2023 10:42:38 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1682764836.3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/rivet/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/rivet/rivet-3.1.7.ebuild X-VCS-Directories: sci-physics/rivet/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0 X-VCS-Branch: master Date: Sat, 29 Apr 2023 10:42:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ca46f76-05ee-4a6c-99d5-449a6e9baa98 X-Archives-Hash: 222ad48ac1db69568030de6539e0c30d commit: 3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Sat Apr 29 10:40:36 2023 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik 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 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 +}