Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sci-physics/evtgen: add 02.02.03 #1311

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sci-physics/evtgen/Manifest
Original file line number Diff line number Diff line change
@@ -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
39 changes: 39 additions & 0 deletions sci-physics/evtgen/evtgen-02.02.03.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion sci-physics/photos/photos-3.64.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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(+)] )
Expand Down
1 change: 0 additions & 1 deletion sci-physics/tauola/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</longdescription>
<use>
<flag name="hepmc"> Compile with <pkg>sci-physics/hepmc</pkg> version 2 interface </flag>
<flag name="hepmc2"> Compile with <pkg>sci-physics/hepmc</pkg> version 2 interface </flag>
<flag name="hepmc3"> Compile with <pkg>sci-physics/hepmc</pkg> version 3 interface </flag>
<flag name="pythia"> Compile with <pkg>sci-physics/pythia</pkg> connection </flag>
Expand Down
68 changes: 0 additions & 68 deletions sci-physics/tauola/tauola-1.1.8.ebuild

This file was deleted.

Loading