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 D8F6815802E for ; Thu, 27 Jun 2024 12:21:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B586E2AC8; Thu, 27 Jun 2024 12:21:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CB82E2AC8 for ; Thu, 27 Jun 2024 12:21:35 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 151DC340940 for ; Thu, 27 Jun 2024 12:21:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94E041D6F for ; Thu, 27 Jun 2024 12:21:32 +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: <1719490846.bbb29d63503456863de7a523a9e260073427190b.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/herwig/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/herwig/herwig-7.3.0.ebuild sci-physics/herwig/metadata.xml X-VCS-Directories: sci-physics/herwig/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: bbb29d63503456863de7a523a9e260073427190b X-VCS-Branch: master Date: Thu, 27 Jun 2024 12:21:32 +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: 1ce4da14-d0f5-4327-96ee-b9c5ebd6b66c X-Archives-Hash: 962051c51ea6ec12188ffdcfda8f70e2 commit: bbb29d63503456863de7a523a9e260073427190b Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Tue May 7 20:32:02 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Thu Jun 27 12:20:46 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bbb29d63 sci-physics/herwig: new package, add 7.3.0 Co-authored-by: Andrew Nowa Ammerlaan gentoo.org> Closes: https://github.com/gentoo/sci/pull/1271 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/herwig/herwig-7.3.0.ebuild | 65 ++++++++++++++++++++++++++++++++++ sci-physics/herwig/metadata.xml | 26 ++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/sci-physics/herwig/herwig-7.3.0.ebuild b/sci-physics/herwig/herwig-7.3.0.ebuild new file mode 100644 index 000000000..5576f3cf7 --- /dev/null +++ b/sci-physics/herwig/herwig-7.3.0.ebuild @@ -0,0 +1,65 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit fortran-2 python-single-r1 autotools + +MY_PN="Herwig" +MY_PF=${MY_PN}-${PV} + +DESCRIPTION="Herwig is a multi-purpose particle physics event generator." +HOMEPAGE="https://herwig.hepforge.org/" +SRC_URI="https://herwig.hepforge.org/downloads?f=${MY_PF}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${MY_PF}" + +LICENSE="GPL-3+" +SLOT="7" +KEYWORDS="~amd64" +IUSE="+pythia" # madgraph openloops gosam vbfnlo njet +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +RDEPEND=" + >=dev-libs/boost-1.62 + >=sci-libs/gsl-2.6 + sci-physics/fastjet + sci-physics/lhapdf-sets[lhapdf_sets_ct14lo,lhapdf_sets_ct14nlo] + >=sci-physics/lhapdf-6.1.6[python(+),${PYTHON_SINGLE_USEDEP}] + >=sci-physics/thepeg-2.1.0[lhapdf,fastjet,-hepmc2(-),hepmc3(-),rivet(-)] + >=sci-physics/evtgen-02.02.00[pythia] + pythia? ( sci-physics/pythia:8= ) + ${PYTHON_DEPS} +" +# madgraph? ( sci-physics/madgraph5 ) +# openloops? ( sci-physics/openloops ) +# gosam? ( sci-physics/gosam ) +# vbfnlo? ( sci-physics/vbfnlo ) +# njet? ( sci-physics/njet ) +DEPEND="${RDEPEND}" + +src_prepare() { + default + eautoreconf +} + +# https://herwig.hepforge.org/tutorials/installation/manual.html +# Minimal installation for now +src_configure() { + CONFIG_SHELL=${ESYSROOT}/bin/bash \ + econf \ + --with-evtgen="${EPREFIX}"/usr \ + --with-fastjet="${EPREFIX}"/usr \ + --with-thepeg="${EPREFIX}"/usr \ + --with-boost="${EPREFIX}"/usr \ + $(use_with pythia pythia "${EPREFIX}"/usr) \ + # $(use_with madgraph madgraph "${EPREFIX}"/opt/MadGraph5/ ) \ + # $(use_with openloops openloops "${EPREFIX}"/opt/OpenLoops2/ ) \ + # $(use_with gosam gosam "${EPREFIX}"/usr) \ + # $(use_with vbfnlo vbfnlo "${EPREFIX}"/usr) \ + # $(use_with njet njet "${EPREFIX}"/usr) +} + +src_install() { + default +} diff --git a/sci-physics/herwig/metadata.xml b/sci-physics/herwig/metadata.xml new file mode 100644 index 000000000..804bc3361 --- /dev/null +++ b/sci-physics/herwig/metadata.xml @@ -0,0 +1,26 @@ + + + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + + Herwig provides significantly improved and extended physics capabilities when compared to both its predecessors, HERWIG 6 and Herwig++ 2, while keeping the key model motivations such as coherent parton showers (including angular-ordered and dipole-based evolution), the cluster hadronization model, an eikonal multiple-interaction model, highly flexible BSM capabilities and improved perturbative input using next-to-leading order QCD. + + + Build with pythia support + + +