public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/evtgen/
@ 2024-06-27 12:21 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2024-06-27 12:21 UTC (permalink / raw
  To: gentoo-commits

commit:     3ae32aae9627d1e379da3e3a6cec9063ff54f67f
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Tue May  7 20:16:00 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Jun 27 12:20:40 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3ae32aae

sci-physics/evtgen: new package, 02.02.01

Co-authored-by: Andrew Nowa Ammerlaan <andrewammerlaan <AT> gentoo.org>
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/evtgen/evtgen-02.02.01.ebuild | 39 +++++++++++++++++++++++++++++++
 sci-physics/evtgen/metadata.xml           | 23 ++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sci-physics/evtgen/evtgen-02.02.01.ebuild b/sci-physics/evtgen/evtgen-02.02.01.ebuild
new file mode 100644
index 000000000..32c0ab3a8
--- /dev/null
+++ b/sci-physics/evtgen/evtgen-02.02.01.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+MY_PN="EvtGen"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="EvtGen is a Monte Carlo event generator that simulates the decays"
+HOMEPAGE="https://evtgen.hepforge.org/"
+SRC_URI="https://evtgen.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}/R$(ver_rs 1-2 '-')"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 pythia photos tauola"
+
+RDEPEND="
+	!hepmc3? ( sci-physics/hepmc:2= )
+	hepmc3? ( sci-physics/hepmc:3= )
+	pythia? ( >=sci-physics/pythia-8.3.0:= )
+	photos? ( >=sci-physics/photos-3.64:= )
+	tauola? ( >=sci-physics/tauola-1.1.8:= )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DEVTGEN_HEPMC3=$(usex hepmc3 ON OFF)
+		-DHEPMC3_ROOT_DIR="${ESYSROOT}/usr"
+		-DEVTGEN_PYTHIA=$(usex pythia ON OFF)
+		$(usex pythia -DPYTHIA8_ROOT_DIR="${ESYSROOT}/usr")
+		-DEVTGEN_PHOTOS=$(usex photos ON OFF)
+		-DEVTGEN_TAUOLA=$(usex tauola ON OFF)
+	)
+	cmake_src_configure
+}

diff --git a/sci-physics/evtgen/metadata.xml b/sci-physics/evtgen/metadata.xml
new file mode 100644
index 000000000..08f4b4aec
--- /dev/null
+++ b/sci-physics/evtgen/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>alexander@neuwirth-informatik.de</email>
+		<name>Alexander Puck Neuwirth</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci-physics@gentoo.org</email>
+		<name>Gentoo Physics Project</name>
+	</maintainer>
+
+	<longdescription lang="en">
+	EvtGen is a Monte Carlo event generator that simulates the decays of heavy flavour particles, primarily B and D mesons. It contains a range of decay models for intermediate and final states containing scalar, vector and tensor mesons or resonances, as well as leptons, photons and baryons. Decay amplitudes are used to generate each branch of a given full decay tree, taking into account angular and time-dependent correlations which allows for the simulation of CP-violating processes. Originally written by Anders Ryd and David Lange, this package is used by many particle physics experiments worldwide, including ATLAS, BaBar, Belle(-II), BES III, CDF, CLEO(-c), CMS, D0, and LHCb. The maintenance and development of the package is now performed by the particle physics group at the University of Warwick (in particular by John Back, Michal Kreps, and Thomas Latham).
+	</longdescription>
+
+	<use>
+		<flag name="pythia">Build with pythia</flag>
+		<flag name="photos">Build with photos</flag>
+		<flag name="tauola">Build with tauola</flag>
+		<flag name="hepmc3">Build with hepmc version 3 support, else hepmc version2 is used</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/evtgen/
@ 2025-01-10 14:48 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2025-01-10 14:48 UTC (permalink / raw
  To: gentoo-commits

commit:     d36e7094bdd10e1361475ab7a109295e99d15113
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Jan  8 15:56:24 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Fri Jan 10 14:48:21 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d36e7094

sci-physics/evtgen: add 02.02.03

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/evtgen/evtgen-02.02.03.ebuild | 39 +++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/sci-physics/evtgen/evtgen-02.02.03.ebuild b/sci-physics/evtgen/evtgen-02.02.03.ebuild
new file mode 100644
index 000000000..a8ca9fde7
--- /dev/null
+++ b/sci-physics/evtgen/evtgen-02.02.03.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+MY_PN="EvtGen"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="EvtGen is a Monte Carlo event generator that simulates the decays"
+HOMEPAGE="https://evtgen.hepforge.org/"
+SRC_URI="https://evtgen.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}/R$(ver_rs 1-2 '-')"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 pythia photos tauola"
+
+RDEPEND="
+	!hepmc3? ( sci-physics/hepmc:2= )
+	hepmc3? ( sci-physics/hepmc:3= )
+	pythia? ( >=sci-physics/pythia-8.3.0:= )
+	photos? ( >=sci-physics/photos-3.64:=[hepmc3?] )
+	tauola? ( >=sci-physics/tauola-1.1.8:=[hepmc3?] )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DEVTGEN_HEPMC3=$(usex hepmc3 ON OFF)
+		-DHEPMC3_ROOT_DIR="${ESYSROOT}/usr"
+		-DEVTGEN_PYTHIA=$(usex pythia ON OFF)
+		$(usex pythia -DPYTHIA8_ROOT_DIR="${ESYSROOT}/usr")
+		-DEVTGEN_PHOTOS=$(usex photos ON OFF)
+		-DEVTGEN_TAUOLA=$(usex tauola ON OFF)
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-10 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 14:48 [gentoo-commits] proj/sci:master commit in: sci-physics/evtgen/ Alexander Puck Neuwirth
  -- strict thread matches above, loose matches on Subject: below --
2024-06-27 12:21 Alexander Puck Neuwirth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox