From 52e91d6099920187b6768ec7b3313e714209ffe5 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Wed, 8 Jan 2025 16:52:27 +0100 Subject: [PATCH 1/4] sci-physics/photos: use hepmc3 default Signed-off-by: Alexander Puck Neuwirth --- sci-physics/photos/photos-3.64.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-physics/photos/photos-3.64.ebuild b/sci-physics/photos/photos-3.64.ebuild index 32c09af6446..5b920400e42 100644 --- a/sci-physics/photos/photos-3.64.ebuild +++ b/sci-physics/photos/photos-3.64.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_PN}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="doc examples hepmc2 hepmc3 pythia tauola" +IUSE="+hepmc3 doc examples hepmc2 pythia tauola" RDEPEND=" hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] ) From 969aa1e445034fe1114c9829882bcec4e8888f40 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Wed, 8 Jan 2025 16:54:55 +0100 Subject: [PATCH 2/4] sci-physics/tauola: drop 1.1.8 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/tauola/tauola-1.1.8.ebuild | 68 -------------------------- 1 file changed, 68 deletions(-) delete mode 100644 sci-physics/tauola/tauola-1.1.8.ebuild diff --git a/sci-physics/tauola/tauola-1.1.8.ebuild b/sci-physics/tauola/tauola-1.1.8.ebuild deleted file mode 100644 index 4d4742dd15d..00000000000 --- a/sci-physics/tauola/tauola-1.1.8.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MYPN=TAUOLA - -DESCRIPTION="Tau decay Monte Carlo generator" -HOMEPAGE="https://tauolapp.web.cern.ch/tauolapp/" -SRC_URI="https://tauolapp.web.cern.ch/tauolapp/resources/${MYPN}.${PV}/${MYPN}.${PV}.tar.gz" - -#HepMC interface is licensed under GPL, other code under CPC -LICENSE="CPC GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples hepmc tau-spinner" - -RDEPEND=" - hepmc? ( sci-physics/hepmc ) - tau-spinner? ( sci-physics/lhapdf ) -" -DEPEND="${RDEPEND} - doc? ( - app-text/doxygen[dot] - app-text/ghostscript-gpl - app-text/texlive - ) -" - -S="${WORKDIR}/${MYPN}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.3-tau-spinner-makefile.patch -) - -src_configure() { - econf \ - --without-mc-tester \ - --without-pythia8 \ - $(use_with hepmc hepmc "${EPREFIX}/usr") \ - --without-hepmc3 \ - $(use_with tau-spinner) \ - $(use_with tau-spinner lhapdf "${EPREFIX}/usr") -} - -src_compile() { - emake -j1 - if use doc; then - cd "${S}/documentation/doxy_documentation" || die - default - cd "${S}/documentation/latex_documentation" || die - default - fi -} - -src_install() { - emake DESTDIR="${ED}" install - - if use doc; then - dodoc documentation/doxy_documentation/html/* - dodoc documentation/latex_documentation/Tauola_interface_design.pdf - fi - - if use examples; then - dodoc -r examples - use tau-spinner && docinto tau-spinner && dodoc -r TauSpinner/examples - fi -} From 4b94e8567941153e6b699397b2e9437801430ece Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Wed, 8 Jan 2025 16:55:44 +0100 Subject: [PATCH 3/4] sci-physics/tauola: rm unused local hepmc use flag Signed-off-by: Alexander Puck Neuwirth --- sci-physics/tauola/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/sci-physics/tauola/metadata.xml b/sci-physics/tauola/metadata.xml index fcbc9de7704..86d6c941825 100644 --- a/sci-physics/tauola/metadata.xml +++ b/sci-physics/tauola/metadata.xml @@ -14,7 +14,6 @@ TAUOLA is a program that simulates the decays of polarized tau leptons, which are elementary particles that belong to the lepton family. Tau leptons are heavier than electrons and muons, and they can decay into various final states, such as hadrons, leptons, and neutrinos. TAUOLA can generate Monte Carlo events for tau lepton decays, taking into account the polarization, spin correlations, and radiative corrections. TAUOLA can also model anomalous and lepton flavor violating decays, which are beyond the standard model of particle physics. - Compile with sci-physics/hepmc version 2 interface Compile with sci-physics/hepmc version 2 interface Compile with sci-physics/hepmc version 3 interface Compile with sci-physics/pythia connection From 524a226460970ecbca6524b47c8da11c58e4b678 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Wed, 8 Jan 2025 16:56:24 +0100 Subject: [PATCH 4/4] sci-physics/evtgen: add 02.02.03 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/evtgen/Manifest | 1 + sci-physics/evtgen/evtgen-02.02.03.ebuild | 39 +++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 sci-physics/evtgen/evtgen-02.02.03.ebuild diff --git a/sci-physics/evtgen/Manifest b/sci-physics/evtgen/Manifest index 174d163496b..7f76952ab6b 100644 --- a/sci-physics/evtgen/Manifest +++ b/sci-physics/evtgen/Manifest @@ -1 +1,2 @@ DIST evtgen-02.02.01.tar.gz 2941525 BLAKE2B 8672f2d2e7452ba2330180a7e385d020372bdb436d22b12507ee22344f5013b439f68817e70ed50afbc3585beb15f01b0c29ee35dcbbaac8ec1ee0f8d573b3e2 SHA512 652424dae1d3e3d69c19fa946cd00e61ca5117e38eee20a41a98972374d79261fe7267311c06ecab497729f31e5842e340d6739434f09e5088972c95d2ce9c17 +DIST evtgen-02.02.03.tar.gz 2940937 BLAKE2B e136442f1d41bf528c292d60e1869b38a6569fa8be494d64c7cc2b7916da1b8682622715d755801efb30eeb819479210fa93d250b3b72d67afbbb45251c6d9dc SHA512 761028e0b20dcc1db0eabf212af5c06090b5ea6aa5c69398aacf72099b229f1fbc83b0b197032e157a70fe10affab92f57e8d7926d99d1144f5bfe190ab1d4d8 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 00000000000..a8ca9fde728 --- /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 +}