summaryrefslogtreecommitdiff
path: root/sci-physics/pythia/pythia-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/pythia/pythia-9999.ebuild')
-rw-r--r--sci-physics/pythia/pythia-9999.ebuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/sci-physics/pythia/pythia-9999.ebuild b/sci-physics/pythia/pythia-9999.ebuild
index 2fe68d2815fd..8a91ca08476d 100644
--- a/sci-physics/pythia/pythia-9999.ebuild
+++ b/sci-physics/pythia/pythia-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
inherit toolchain-funcs python-single-r1 optfeature
-MV=$(ver_cut 1-2)
+MY_PV=$(ver_cut 1-2)
MY_P="${PN}${PV//./}"
LHA_VER="6.2.1"
@@ -26,7 +26,7 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/Pythia8/releases"
else
- SRC_URI="https://pythia.org/download/${PN}${MV//./}/${MY_P}.tgz
+ SRC_URI="https://pythia.org/download/${PN}${MY_PV//./}/${MY_P}.tgz
${SRC_URI}"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_P}"
@@ -34,29 +34,23 @@ fi
LICENSE="GPL-2"
SLOT="8"
-IUSE="doc examples fastjet +hepmc3 hepmc2 lhapdf root test zlib python highfive mpich rivet static-libs" # evtgen mg5mes rivet powheg
+IUSE="doc examples fastjet +hepmc3 lhapdf root test zlib python highfive mpich rivet static-libs" # evtgen mg5mes rivet powheg
RESTRICT="!test? ( test )"
-REQUIRED_USE="
- ?? ( hepmc3 hepmc2 )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
fastjet? ( sci-physics/fastjet )
hepmc3? ( sci-physics/hepmc:3= )
- hepmc2? ( sci-physics/hepmc:2= )
lhapdf? ( sci-physics/lhapdf:= )
zlib? ( virtual/zlib:= )
highfive? (
sci-libs/highfive
sci-libs/hdf5[cxx]
)
- rivet? (
- >=sci-physics/rivet-4:*
- )
+ rivet? ( >=sci-physics/rivet-4:* )
mpich? ( sys-cluster/mpich )
python? ( ${PYTHON_DEPS} )
- "
+"
DEPEND="${RDEPEND}"
# ROOT is used only when building related tests
BDEPEND="