From 702fb141ba0e06653d8c94ca2316951c2729925e Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Mon, 11 Nov 2024 07:48:40 +0100 Subject: sci-physics/sherpa: add 3.0.1, drop 3.0.0_beta1 Signed-off-by: Alexander Puck Neuwirth --- sci-physics/sherpa/Manifest | 2 +- sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild | 94 ---------------------------- sci-physics/sherpa/sherpa-3.0.1.ebuild | 94 ++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild create mode 100644 sci-physics/sherpa/sherpa-3.0.1.ebuild diff --git a/sci-physics/sherpa/Manifest b/sci-physics/sherpa/Manifest index 6913c06e1..f62adfe61 100644 --- a/sci-physics/sherpa/Manifest +++ b/sci-physics/sherpa/Manifest @@ -1 +1 @@ -DIST sherpa-v3.0.0beta1.tar.bz2 5836616 BLAKE2B 5347b6a83b80b148740c6fbf44c4d8f547a30eb85ba70ae4ad620cb3cca3f9d8255c45502969a83dca98d2825207a192ac3cae11dc3b914afdaaf9d65f2e6932 SHA512 9c34851193227a233c962b19cdff00302608d1695841d97de09d2bd40b84ccbd2a2a9f3c89e68e288bdf522e9b4c7fb8fc52032f199014898ac6bacbf628c8ce +DIST sherpa-v3.0.1.tar.bz2 5506595 BLAKE2B 9ab272ee14145b028d8c65860394ab981b468d0fd1e0b0c236e1cb6aed668fa6c559dcb13d076d3ec345be25eef50f7e8b0367aff72aadc46904c4719ed378a5 SHA512 4ec1b5704b8b936252121ea52c6c385cef99c003aaff93f685b1ae822012eb633e26949779005546ae6d9b7aaf2f6f5e833f9ef84334598449c951d8aa65c9c5 diff --git a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild b/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild deleted file mode 100644 index 79f0efccd..000000000 --- a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit cmake fortran-2 python-single-r1 - -MY_PN="SHERPA-MC" -MY_PV=${PV//_/} -MY_P=${MY_PN}-${MY_PV} - -DESCRIPTION="Simulation of High-Energy Reactions of PArticles" -HOMEPAGE=" - https://sherpa-team.gitlab.io/ - https://gitlab.com/sherpa-team/sherpa -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/sherpa-team/sherpa" - EGIT_BRANCH="master" -else - #SRC_URI="https://www.hepforge.org/archive/sherpa/${MY_P}.tar.gz" - SRC_URI="https://gitlab.com/sherpa-team/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.bz2" - S="${WORKDIR}/${PN}-v${MY_PV}" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" - -IUSE="+fastjet +pythia6 pythia8 rivet ufo hepmc2 root gzip mpi lhole analysis openloops" # blackhat recola gosam hztool madloop pgs mcfm -REQUIRED_USE=" - ufo? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - sci-physics/lhapdf - dev-db/sqlite:3= - sci-physics/hepmc:3= - dev-libs/libzip - rivet? ( sci-physics/rivet ) - gzip? ( app-arch/gzip ) - pythia8? ( sci-physics/pythia:8= ) - hepmc2? ( sci-physics/hepmc:2= ) - fastjet? ( sci-physics/fastjet ) - root? ( sci-physics/root ) - mpi? ( virtual/mpi[cxx,fortran] ) - ufo? ( ${PYTHON_DEPS} ) - openloops? ( sci-physics/openloops ) -" -# blackhat? ( sci-physics/blackhat ) -# gosam? ( sci-physics/gosam ) -# recola? ( sci-physics/recola ) -RDEPEND="${DEPEND}" - -pkg_setup() { - use ufo && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DSHERPA_ENABLE_THREADING=ON - -DSHERPA_ENABLE_ANALYSIS=$(usex analysis ON OFF) - -DSHERPA_ENABLE_GZIP=$(usex gzip ON OFF) - -DSHERPA_ENABLE_HEPMC2=$(usex hepmc2 ON OFF) - -DSHERPA_ENABLE_HEPMC3=ON - -DSHERPA_ENABLE_LHAPDF=ON - -DSHERPA_ENABLE_LHOLE=$(usex lhole ON OFF) - -DSHERPA_ENABLE_MPI=$(usex mpi ON OFF) - $(usex mpi -DCMAKE_C_COMPILER=mpicc) - $(usex mpi -DCMAKE_CXX_COMPILER=mpic++) - $(usex mpi -DCMAKE_Fortran_COMPILER=mpif90) - -DSHERPA_ENABLE_PYTHIA6=$(usex pythia6 ON OFF) - -DSHERPA_ENABLE_PYTHIA8=$(usex pythia8 ON OFF) - -DSHERPA_ENABLE_RIVET=$(usex rivet ON OFF) - -DSHERPA_ENABLE_ROOT=$(usex root ON OFF) - -DSHERPA_ENABLE_UFO=$(usex ufo ON OFF) - -DSHERPA_ENABLE_OPENLOOPS=$(usex openloops ON OFF) - -DOPENLOOPS_PREFIX=$(usex openloops "${ESYSROOT}/opt/OpenLoops2") - #-DSHERPA_ENABLE_GOSAM=$(usex gosam ON OFF) - #-DSHERPA_ENABLE_BLACKHAT=$(usex blackhat ON OFF) - #-DSHERPA_ENABLE_RECOLA=$(usex recola ON OFF) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - use ufo && python_optimize -} diff --git a/sci-physics/sherpa/sherpa-3.0.1.ebuild b/sci-physics/sherpa/sherpa-3.0.1.ebuild new file mode 100644 index 000000000..79f0efccd --- /dev/null +++ b/sci-physics/sherpa/sherpa-3.0.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake fortran-2 python-single-r1 + +MY_PN="SHERPA-MC" +MY_PV=${PV//_/} +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="Simulation of High-Energy Reactions of PArticles" +HOMEPAGE=" + https://sherpa-team.gitlab.io/ + https://gitlab.com/sherpa-team/sherpa +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/sherpa-team/sherpa" + EGIT_BRANCH="master" +else + #SRC_URI="https://www.hepforge.org/archive/sherpa/${MY_P}.tar.gz" + SRC_URI="https://gitlab.com/sherpa-team/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.bz2" + S="${WORKDIR}/${PN}-v${MY_PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +IUSE="+fastjet +pythia6 pythia8 rivet ufo hepmc2 root gzip mpi lhole analysis openloops" # blackhat recola gosam hztool madloop pgs mcfm +REQUIRED_USE=" + ufo? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + sci-physics/lhapdf + dev-db/sqlite:3= + sci-physics/hepmc:3= + dev-libs/libzip + rivet? ( sci-physics/rivet ) + gzip? ( app-arch/gzip ) + pythia8? ( sci-physics/pythia:8= ) + hepmc2? ( sci-physics/hepmc:2= ) + fastjet? ( sci-physics/fastjet ) + root? ( sci-physics/root ) + mpi? ( virtual/mpi[cxx,fortran] ) + ufo? ( ${PYTHON_DEPS} ) + openloops? ( sci-physics/openloops ) +" +# blackhat? ( sci-physics/blackhat ) +# gosam? ( sci-physics/gosam ) +# recola? ( sci-physics/recola ) +RDEPEND="${DEPEND}" + +pkg_setup() { + use ufo && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DSHERPA_ENABLE_THREADING=ON + -DSHERPA_ENABLE_ANALYSIS=$(usex analysis ON OFF) + -DSHERPA_ENABLE_GZIP=$(usex gzip ON OFF) + -DSHERPA_ENABLE_HEPMC2=$(usex hepmc2 ON OFF) + -DSHERPA_ENABLE_HEPMC3=ON + -DSHERPA_ENABLE_LHAPDF=ON + -DSHERPA_ENABLE_LHOLE=$(usex lhole ON OFF) + -DSHERPA_ENABLE_MPI=$(usex mpi ON OFF) + $(usex mpi -DCMAKE_C_COMPILER=mpicc) + $(usex mpi -DCMAKE_CXX_COMPILER=mpic++) + $(usex mpi -DCMAKE_Fortran_COMPILER=mpif90) + -DSHERPA_ENABLE_PYTHIA6=$(usex pythia6 ON OFF) + -DSHERPA_ENABLE_PYTHIA8=$(usex pythia8 ON OFF) + -DSHERPA_ENABLE_RIVET=$(usex rivet ON OFF) + -DSHERPA_ENABLE_ROOT=$(usex root ON OFF) + -DSHERPA_ENABLE_UFO=$(usex ufo ON OFF) + -DSHERPA_ENABLE_OPENLOOPS=$(usex openloops ON OFF) + -DOPENLOOPS_PREFIX=$(usex openloops "${ESYSROOT}/opt/OpenLoops2") + #-DSHERPA_ENABLE_GOSAM=$(usex gosam ON OFF) + #-DSHERPA_ENABLE_BLACKHAT=$(usex blackhat ON OFF) + #-DSHERPA_ENABLE_RECOLA=$(usex recola ON OFF) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + use ufo && python_optimize +} -- cgit v1.2.3-65-gdbad