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

commit:     c3ee0bf6659bb881b68b85a576ef98c85ec65c9d
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Jun 27 12:56:00 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Jun 27 14:31:06 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c3ee0bf6

sci-physics/sherpa: new package, add 3.0.0_beta1, 9999

Closes: https://github.com/gentoo/sci/pull/1279
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/sherpa/metadata.xml              | 27 ++++++++
 sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild | 94 ++++++++++++++++++++++++++++
 sci-physics/sherpa/sherpa-9999.ebuild        | 94 ++++++++++++++++++++++++++++
 3 files changed, 215 insertions(+)

diff --git a/sci-physics/sherpa/metadata.xml b/sci-physics/sherpa/metadata.xml
new file mode 100644
index 000000000..8018d7c68
--- /dev/null
+++ b/sci-physics/sherpa/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>APN-Pucky@users.noreply.github.com</email>
+		<name>APN-Pucky</name>
+	</maintainer>
+	<longdescription lang="en">
+	Sherpa is a Monte Carlo event generator for the Simulation of High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, photon-photon, lepton-hadron and hadron-hadron collisions. Simulation programs - also dubbed event generators - like Sherpa are indispensable work horses for current particle physics phenomenology and are (at) the interface between theory and experiment.
+	</longdescription>
+	<upstream>
+		<remote-id type="gitlab">sherpa-team/sherpa</remote-id>
+	</upstream>
+	<use>
+		<flag name="hepmc2">Build with HepMC2</flag>
+		<flag name="fastjet">Build with FastJet</flag>
+		<flag name="pythia6">Build with Pythia6</flag>
+		<flag name="pythia8">Build with Pythia8</flag>
+		<flag name="rivet">Build with Rivet</flag>
+		<flag name="root">Build with Root</flag>
+		<flag name="ufo">UFO python interface</flag>
+		<flag name="lhole">lhole support</flag>
+		<flag name="analysis">analysis support</flag>
+		<flag name="openloops">Openloops support</flag>
+	</use>
+
+</pkgmetadata>

diff --git a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild b/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild
new file mode 100644
index 000000000..79f0efccd
--- /dev/null
+++ b/sci-physics/sherpa/sherpa-3.0.0_beta1.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
+}

diff --git a/sci-physics/sherpa/sherpa-9999.ebuild b/sci-physics/sherpa/sherpa-9999.ebuild
new file mode 100644
index 000000000..79f0efccd
--- /dev/null
+++ b/sci-physics/sherpa/sherpa-9999.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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-physics/sherpa/
@ 2024-11-11 11:20 Alexander Puck Neuwirth
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Puck Neuwirth @ 2024-11-11 11:20 UTC (permalink / raw
  To: gentoo-commits

commit:     702fb141ba0e06653d8c94ca2316951c2729925e
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Mon Nov 11 06:48:40 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Mon Nov 11 06:48:40 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=702fb141

sci-physics/sherpa: add 3.0.1, drop 3.0.0_beta1

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

 sci-physics/sherpa/{sherpa-3.0.0_beta1.ebuild => sherpa-3.0.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild b/sci-physics/sherpa/sherpa-3.0.1.ebuild
similarity index 100%
rename from sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild
rename to sci-physics/sherpa/sherpa-3.0.1.ebuild


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-physics/sherpa/
@ 2024-12-12 15:20 Alexander Puck Neuwirth
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Puck Neuwirth @ 2024-12-12 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     2408436ee2ede6e2cd100151abd29b5f0e1cc52d
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Dec 12 15:08:15 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Dec 12 15:19:27 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2408436e

sci-physics/sherpa: sherpa needed ol processes

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

 sci-physics/sherpa/sherpa-3.0.1.ebuild | 2 +-
 sci-physics/sherpa/sherpa-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/sherpa/sherpa-3.0.1.ebuild b/sci-physics/sherpa/sherpa-3.0.1.ebuild
index 79f0efccd..53cae07ee 100644
--- a/sci-physics/sherpa/sherpa-3.0.1.ebuild
+++ b/sci-physics/sherpa/sherpa-3.0.1.ebuild
@@ -49,7 +49,7 @@ DEPEND="
 	root? ( sci-physics/root )
 	mpi? ( virtual/mpi[cxx,fortran] )
 	ufo? ( ${PYTHON_DEPS} )
-	openloops? ( sci-physics/openloops )
+	openloops? ( sci-physics/openloops[ppllj,pplljj] )
 "
 #	blackhat? ( sci-physics/blackhat )
 #	gosam? ( sci-physics/gosam )

diff --git a/sci-physics/sherpa/sherpa-9999.ebuild b/sci-physics/sherpa/sherpa-9999.ebuild
index 79f0efccd..53cae07ee 100644
--- a/sci-physics/sherpa/sherpa-9999.ebuild
+++ b/sci-physics/sherpa/sherpa-9999.ebuild
@@ -49,7 +49,7 @@ DEPEND="
 	root? ( sci-physics/root )
 	mpi? ( virtual/mpi[cxx,fortran] )
 	ufo? ( ${PYTHON_DEPS} )
-	openloops? ( sci-physics/openloops )
+	openloops? ( sci-physics/openloops[ppllj,pplljj] )
 "
 #	blackhat? ( sci-physics/blackhat )
 #	gosam? ( sci-physics/gosam )


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

end of thread, other threads:[~2024-12-12 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 14:32 [gentoo-commits] proj/sci:master commit in: sci-physics/sherpa/ Alexander Puck Neuwirth
  -- strict thread matches above, loose matches on Subject: below --
2024-11-11 11:20 Alexander Puck Neuwirth
2024-12-12 15:20 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