summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin4198 -> 4204 bytes
-rw-r--r--sci-physics/lhapdf/Manifest5
-rw-r--r--sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch25
-rw-r--r--sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild5
-rw-r--r--sci-physics/lhapdf/lhapdf-9999.ebuild2
-rw-r--r--sci-physics/pythia/Manifest6
-rw-r--r--sci-physics/pythia/metadata.xml3
-rw-r--r--sci-physics/pythia/pythia-8.3.12.ebuild214
-rw-r--r--sci-physics/pythia/pythia-9999.ebuild82
-rw-r--r--sci-physics/thepeg/Manifest3
-rw-r--r--sci-physics/thepeg/files/thepeg-2.3.0-functional.patch10
-rw-r--r--sci-physics/thepeg/thepeg-2.3.0.ebuild1
-rw-r--r--sci-physics/yoda/Manifest10
-rw-r--r--sci-physics/yoda/metadata.xml39
-rw-r--r--sci-physics/yoda/yoda-1.9.0.ebuild39
-rw-r--r--sci-physics/yoda/yoda-1.9.6.ebuild52
-rw-r--r--sci-physics/yoda/yoda-1.9.7.ebuild52
-rw-r--r--sci-physics/yoda/yoda-1.9.9.ebuild112
18 files changed, 342 insertions, 318 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index 22375e53d073..6d84e821437d 100644
--- a/sci-physics/Manifest.gz
+++ b/sci-physics/Manifest.gz
Binary files differ
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 82010b3fc361..597d1a8b98ca 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,9 +1,10 @@
AUX lhapdf-6.3.0-egg.patch 749 BLAKE2B 6fbe8b3f9723fb45674d643b4825b0d73b6ddc3bb12502a3ff477cbb2733f7b522e9881129b65062e17b7c4d98f07567e89d895219c6dc4a3e942bd727e19ad9 SHA512 3355e16674c9c3caf51bfa5317819cd8411442d075cd35936b76e8e2926221a862437b6daf3f7ffd6030d5ae05cc83dfdada8fbab99a16e1afcdf567a9dcf15f
+AUX lhapdf-6.5.4-cxxflags.patch 658 BLAKE2B b3ea7f0c0c72daaa5ed3f99def182796737b8e446d157e7ea37f0124e271ab0c9671e35d06463b7548695f7d1e5cbd9bcb16287ddf2ebfd79d6a9f1465a71d7a SHA512 9386c362ffff5a7e41619002345a721a490fb75c1d2c80513c3e3029785c288c9696685348a553f590c8a7a1a650f8afa812cc2e9d8699c7a3feba4bb02cbd7d
AUX lhapdf-6.5.4-include-cstdint.patch 1081 BLAKE2B 7e197ae51621a0984f74530240270fa845d35a739bd36264028f1bb975c2bfb04088c93c982d3866e847c64153517a181f95c3b518fd53e5f297a325d0a76e5f SHA512 204ab268e97600e7f2cfde1842d958cbfb8e77633c341a8cde304c846e59ffa6215cfaee7e1435a26d9dec8e0f30a8744fe30f6b866b301004e593a48fc58010
DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
DIST lhapdf-6.5.4.tar.gz 869707 BLAKE2B 9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798 SHA512 0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b
EBUILD lhapdf-6.3.0-r2.ebuild 1714 BLAKE2B d800df7bdce87a40b72cf735ab6cb1c57f31385b38ee658478f08042316c1549712693a7ccc97cb119d6fc156bc4b55f89b20dd1484900843fa2e7801763a696 SHA512 b9660c65fe43c6ca0337c9faac28ae989f96845df722860f0e5c757128a98106867bd02cebbfb47b4461088c22367386d2e260104ff5c47a4b22ceb3f0b9b102
EBUILD lhapdf-6.5.4-r1.ebuild 1651 BLAKE2B 009ca7a9ead036af3cb3372329ea52f5e7f66824332b36de9922f1511d893649d8e50f537fba6c2a9a3c80a0cea904db4dea1de78fb187d49a79c647892038ea SHA512 585d8f58f3ba53ebaf6bc18dba9a2935d08f8be0536fe05b9235dacec47ac4bef773c3dd9616752df374dbeb68902a091e67774088ebf34bfa8173ef75e6b0c2
-EBUILD lhapdf-6.5.4-r2.ebuild 1669 BLAKE2B c3421a4728e22430e511494578b7313fccec9e0d2ac08e96369946fce7cfd2a368fc1db844f8cc87e02cce616199d23d37a77910e537e4a4167ef3fe8f8db598 SHA512 c6ffe32b342add9312ea0fecc806318b5866b750fac6161afd12ed1ad29f26fb0c10e5fa0b15e83864d726c3845b17cf68426f9d93edbae5ae04a7267943e028
-EBUILD lhapdf-9999.ebuild 1545 BLAKE2B ff34e9269debe214bb40206e162e98c6332da03c722a6fa7aef097651b9f7fc5ba0c6618414680151da98d5fb6be5399e4f25432fa4333091af01a45fd77ea72 SHA512 6a6d6a2c762388a14242749ab0d1020ca6bbf4fccc6839c32b0bd0579c6e1b78e40936738b9a2fdf40f3d38a2732b046786e5763dbbb814271af66e1de93276d
+EBUILD lhapdf-6.5.4-r2.ebuild 1811 BLAKE2B ebc8e21a80dff2a3304e29be96a488fca17f50b6fd7fefb5864a4f11ae9df358901e850897845f83074594df0c42f790be502996ef034d7aae067831341278e9 SHA512 a1313069e64e81f26e6129be0cc1ef26372bfe6963dd595fc0be306b25b979e38d54e1991ac030987236af76a477e1e1f3299a721ed370389fa4eea407dda136
+EBUILD lhapdf-9999.ebuild 1545 BLAKE2B 6a5602032c79b0ef7fbd0ce5f86ebc58e0918d210011836e361c3e83c0bd85f0d86f216e7a9d7f769a4f0595265bc2a0733fa3c7bdaa7703081990ed91b82d6c SHA512 b489b1ade1e82f44b31971c5ea179e24cbb646a3d1c70a71ea708748dcdcbf797878b58c7157bbb7ff67939872801c0685549f50f149167aa50887f72f62e6da
MISC metadata.xml 1234 BLAKE2B 059e7abca0dd0583b71bbc3b48c3125952c1642c4bad30d2776b2d6a5ea44eaee0ce6f1ac44e92a7c179b11d50bbe24ed2f947bf870ebee51c6c3d49a6a6b98e SHA512 2c94513c3e3287fe186b6212e48b9aa09fee0da5bee50887432a985b1466aa40b3d2086955ee0b9d03b70bdb615b72caa3e0c74ca1d0c32590f7ad1d31a45a0e
diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch b/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch
new file mode 100644
index 000000000000..8e7144c37ac9
--- /dev/null
+++ b/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch
@@ -0,0 +1,25 @@
+From ab6861f88b781b3e95ee67c01889b2c3f9f23e4d Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
+Date: Sun, 14 Apr 2024 11:18:52 +0200
+Subject: [PATCH] Fix missing quotes on CXXFLAGS
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 8bd5411..5c940ee 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -43,7 +43,7 @@ AC_CONFIG_HEADERS([config/config.h include/LHAPDF/Version.h])
+
+
+ ## Set default C++ optimisation level to -O3 and drop the -g debug flag
+-if test -z $CXXFLAGS; then
++if test -z "$CXXFLAGS"; then
+ CXXFLAGS='-O3'
+ fi
+
+--
+GitLab
+
diff --git a/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild b/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild
index fe5288384d06..24a87d0d71bd 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DOCS_BUILDER="doxygen"
DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
@@ -45,7 +45,8 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-6.5.4-include-cstdint.patch
+ "${FILESDIR}"/${P}-include-cstdint.patch # https://gitlab.com/hepcedar/lhapdf/-/merge_requests/96
+ "${FILESDIR}"/${P}-cxxflags.patch # https://gitlab.com/hepcedar/lhapdf/-/merge_requests/87
)
pkg_setup() {
diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-9999.ebuild
index fc2455e2129f..d950f1329d20 100644
--- a/sci-physics/lhapdf/lhapdf-9999.ebuild
+++ b/sci-physics/lhapdf/lhapdf-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DOCS_BUILDER="doxygen"
DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index 76c91d5ccc1d..110331748077 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -15,10 +15,12 @@ DIST pythia8245.tgz 23605527 BLAKE2B 1007c2f8b50a115d29fe1b0363a187feca717cb2147
DIST pythia8307.tgz 26016414 BLAKE2B 0253309d71ca4e46183de80396c3a226d072ea2e8aeaf87da33994b3303017a6ca567f6731902aba43c20fec2c0aeace0728f2ce725f9221f161a70055fa6043 SHA512 63e7a3e76f8bfe0cd7b34ef523d8bbcfa50ee780c8437384ef7eb208f0f682481b0166673647db98468baeb6df855fdbf0cbb1509dcc5eda39c90f3f3461fd2a
DIST pythia8309.tgz 28407620 BLAKE2B 0ef226e2e65829952d670b57c24bff2108d916ca547233041e97dabb81d9616be3e404da7225f9cb4a2c9773c0c22939d813eaed92560e01c6fbe37e4690c232 SHA512 c7d99a9a1f7bf1441532720667ab224283b866e7f3ea9e730c839ac62e3b8b9e5c01471fb94a4a48d481635544e4ed230796a710531650bfffde96f0f78590bf
DIST pythia8311.tgz 28757044 BLAKE2B 93a7cc26682bc6418f85e41def94a8cdfe39e180fa9fec2a6e47e9237fc2d42800dca2b76f54e2d56cb1d3a2b9a0008baf7b77610aabac2a6505fe08b2b4ffe2 SHA512 e0ae6cb444f11f3e3cf84d738b8c135f07ceafb28911b855bb63e3c596c5b9fd312a1f4ff78a098b707bfbb8f517a46177c4dbc57b4882cf03b12b0be49e2885
+DIST pythia8312.tgz 30218597 BLAKE2B 71efca55572a241cf369e90186b033fbcd2326de82867f3f13057fbda372885632cab3d7b34ac5b444419bba4dd8d6c4bb90e12bf2424a43ae313c21268e8d89 SHA512 683ece1bd2cfd49d9cee742ce3fab693c5bf15017a6584d33e2a00bd0f0a67d1b84ff48da75f39cb4a4b564b9a35f997ab5187fe691f1f4b724cec5a4d717a23
EBUILD pythia-6.4.28-r2.ebuild 2602 BLAKE2B 46054fa8f4303b69602c237d93ce48068b583dd4b7890c7219510346e6e11ba3a0c24bb8404fa5f0fee2eaa13aa7baa340ab1fc496318e3f27720cac73d7b781 SHA512 83775bd53db21b3e41b4bbb87fbe2e22aeca1521cd9969c0ce75f23cce2eef748eb4cdf240478f08da0a647504cfd10f91ba8c425c9df6e34f9ee49ddf78ac11
EBUILD pythia-8.2.45-r2.ebuild 5745 BLAKE2B 6ad238f95ad2e8d49f087ac56651341737f11243487ae1030667c9a5a3c12d7a7e2f32ae44286d44251504d2c46c2ec57940881888403b292c70ad5d0a2141f8 SHA512 4d1a81b53ae800ae014f6d1da9256c49878dedc98315d6808c1a2d43062d018f976e925c165c70431bd172a2353514a2db56f0455f86cb0ba92b65e51fe0fb8c
EBUILD pythia-8.3.07-r1.ebuild 5639 BLAKE2B 40557ea473da0614030ce8c727533ee6a0a02292331b053fd33dac4e6b40cddbbc26183990b2d2f5ac37c170e322b78cc0fa0d02e64814e62c39e934f51f90bc SHA512 12fa4c13fffed492ebefd9b17300202d9ea6f59b3a9c0a5ec0eca9ccb2b1a63c53cfd8dbae1e04b68239850711ea564e7225cea2c229fb6c8014276fa018f585
EBUILD pythia-8.3.09.ebuild 5646 BLAKE2B 6199b3ed46b1a11bfc5b2fb1e43d5b39a827b4675ad132b6b3411e668624bea744010a6437f0580e8f0c12fb340e8eba1062e64b0490918f77f5cbd3fe9867e8 SHA512 0863cd49173f49407cdd536f7cd1500f24512a638ef002f105f67db08db1d41209ced3eb7cc961e7b2da25d1094869c2b7aa52e75c09bff498a0dd7eaa5a0e9f
EBUILD pythia-8.3.11.ebuild 5549 BLAKE2B 98f5f9ca86fd77c680123375e573f91d5eee1126290801dd74ccc5d8fadf6adab421cdc26c3d2f6b2602d88dadd7b63a7a8291a3d4ad967ad8a5fd66e9f5b7ff SHA512 def64ba4e768e564249e6257c5d445531d47a3095a6053b0154311f25005dfd244d1f6d7379d66dac04af785937abd1fc15dde4b7da8a580df3a15ad6497d853
-EBUILD pythia-9999.ebuild 5788 BLAKE2B 4a69b1ae8196e325f4583eac4745caf7d2636f20a3f1539c6451195798f84f1843d31f63579cfcede0463640ca845ae5478f4a52c7fde117571ef14ea367b572 SHA512 5aa00a8ff91e9207fe347a96b729f595fb129ecb3a5b2b5ebeb3c1028e9a107902efc8f10f672efca1a7bcc4529a1f6e6f4bf9264b5aa2eb1b487222f973e11f
-MISC metadata.xml 1630 BLAKE2B 23311f637bde6058acc3d5840a92e101038e514c49d3a0600a7f3d484d8305e737d12e0540679ecf91aaf02168bd9e12daf90b4571db5223ad77a0ba61c3b119 SHA512 a9f8e67ee203233540316338cb63c1d37b6cb7f75b3750cfd949550ea7ce91af96bb6490cba23550a27d9a85f348b90cdaed03f320cfe1b56fc2e2b55925ddcf
+EBUILD pythia-8.3.12.ebuild 6183 BLAKE2B 9560c9aa1c69d299ad2d41730beda9391602a9c22ac171e621239d090032a92d95ff2597c1d58e3c3aafdff0a33efb655d7d50fc23af5403dd21c750ec8b43c1 SHA512 92761f84c879a2225241438f9732d8d948d5460dd87d719754e4e1aa4febe379900fa30060e75ceca99392a46b8552eaf1d0c6e96fb5c4287f7d9227170877f3
+EBUILD pythia-9999.ebuild 6183 BLAKE2B 9560c9aa1c69d299ad2d41730beda9391602a9c22ac171e621239d090032a92d95ff2597c1d58e3c3aafdff0a33efb655d7d50fc23af5403dd21c750ec8b43c1 SHA512 92761f84c879a2225241438f9732d8d948d5460dd87d719754e4e1aa4febe379900fa30060e75ceca99392a46b8552eaf1d0c6e96fb5c4287f7d9227170877f3
+MISC metadata.xml 1799 BLAKE2B 6f9886ff33ed41e6a952fe9f60c249ba1b9d1415aa0579d800195b657bdd7e0982c6267ddd57c7d54957d38b95233348a5b9f21f68dedb837b7b0b8eebeaf59f SHA512 2ed55b93f17de167714095ad8da22d4fc2f424c29e6459ec337d94a9ba2e05ea43fdb075a1ef25572b5383176dd34004ec2d651d784632462590aac360a69f95
diff --git a/sci-physics/pythia/metadata.xml b/sci-physics/pythia/metadata.xml
index fb8f9f855f2b..d46e6faf9e50 100644
--- a/sci-physics/pythia/metadata.xml
+++ b/sci-physics/pythia/metadata.xml
@@ -23,6 +23,9 @@
<flag name="hepmc3">Adds support for High Energy Physics Monte Carlo Generators 3 <pkg>sci-physics/hepmc</pkg></flag>
<flag name="lhapdf">Support the use of external PDF sets via <pkg>sci-physics/lhapdf</pkg></flag>
<flag name="root">Use <pkg>sci-physics/root</pkg> trees and histograms (in examples only)</flag>
+ <flag name="highfive">Support hdf and highfive</flag>
+ <flag name="mpich">Support mpich</flag>
+ <flag name="rivet">Support <pkg>sci-physics/rivet</pkg></flag>
</use>
<upstream>
<remote-id type="gitlab">Pythia8/releases</remote-id>
diff --git a/sci-physics/pythia/pythia-8.3.12.ebuild b/sci-physics/pythia/pythia-8.3.12.ebuild
new file mode 100644
index 000000000000..cc536ceee86e
--- /dev/null
+++ b/sci-physics/pythia/pythia-8.3.12.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit toolchain-funcs python-single-r1
+
+MV=$(ver_cut 1-2)
+MY_P="${PN}${PV//./}"
+LHA_VER="6.2.1"
+
+DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
+HOMEPAGE="https://pythia.org/"
+SRC_URI="test? ( lhapdf? (
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT10.tar.gz
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/MRST2007lomod.tar.gz
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nlo_as_0119_qed_mc.tar.gz
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/NNPDF23_nnlo_as_0119_qed_mc.tar.gz
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq66.tar.gz
+ https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq6l1.tar.gz
+ https://www.hepforge.org/downloads/lhapdf/pdfsets/v6.backup/${LHA_VER}/MRST2004qed.tar.gz
+ ) )
+"
+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}"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="GPL-2"
+SLOT="8"
+IUSE="doc examples fastjet +hepmc3 hepmc2 lhapdf root test zlib python highfive mpich rivet" # evtgen mg5mes rivet powheg
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ ?? ( hepmc3 hepmc2 )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+RDEPEND="
+ fastjet? ( sci-physics/fastjet )
+ hepmc3? ( sci-physics/hepmc:3= )
+ hepmc2? ( sci-physics/hepmc:2= )
+ lhapdf? ( sci-physics/lhapdf:= )
+ zlib? ( sys-libs/zlib )
+ highfive? (
+ sci-libs/HighFive
+ sci-libs/hdf5[cxx]
+ )
+ rivet? (
+ sci-physics/rivet:*
+ )
+ mpich? ( sys-cluster/mpich )
+ python? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
+# ROOT is used only when building related tests
+BDEPEND="
+ test? (
+ root? ( sci-physics/root:= )
+ )
+"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+pkg_pretend() {
+ if use root && ! use test; then
+ ewarn "ROOT support will only affect examples code build during test stage."
+ ewarn "Since you have tests disabled, this is a no-op."
+ fi
+}
+
+src_prepare() {
+ PYTHIADIR="/usr/share/Pythia8"
+ EPYTHIADIR="${EPREFIX}${PYTHIADIR}"
+
+ default
+ # set datadir for xmldor in include file
+ sed -i \
+ -e "s|../share/Pythia8/xmldoc|${EPYTHIADIR}/xmldoc|" \
+ include/Pythia8/Pythia.h || die
+ # respect libdir, prefix, flags
+ sed -i \
+ -e "s|/lib|/$(get_libdir)|g" \
+ -e "s|/usr|${EPREFIX}/usr|g" \
+ -e "s|-O2|${CXXFLAGS}|g" \
+ -e "s|Cint|Core|g" \
+ configure || die
+ # we use lhapdf6 instead of lhapdf5
+ # some PDFs changed, use something similar
+ sed -i \
+ -e "s|LHAPDF5|LHAPDF6|g" \
+ -e "s|\.LHgrid||g" \
+ -e "s|\.LHpdf||g" \
+ -e "s|MRST2001lo|MRST2007lomod|g" \
+ -e "s|cteq6ll|cteq6l1|g" \
+ -e "s|cteq6m|cteq66|g" \
+ examples/*.{cc,cmnd} || die
+ # After lhapdf5->6 migration PDFs are identical within ~1/1000
+ # https|//www.hepforge.org/archive/lhapdf/pdfsets/6.1/README
+ sed -i \
+ -e "s|1e-8|3e-1|g" \
+ -e "s|nlo_as_0119_qed|nlo_as_0119_qed_mc|g" \
+ -e "s|xmldoc|share/Pythia8/xmldoc|g" \
+ examples/main203.cc || die
+ # ask cflags from root
+ sed -i "s|root-config|root-config --cflags|g" examples/Makefile || die
+
+ sed -i 's|libpythia8\.a|libpythia8$(LIB_SUFFIX)|g' \
+ examples/Makefile || die
+}
+
+# TODO: the following optional packages are out of Gentoo tree:
+# - EvtGen http://atlas-computing.web.cern.ch/atlas-computing/links/externalDirectory/EvtGen/
+# - PowHEG http://powhegbox.mib.infn.it/
+# - ProMC https://github.com/Argonne-National-Laboratory/ProMC/
+src_configure() {
+ # homemade configure script
+ local -x CXX="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}"
+ ./configure \
+ --arch=Linux \
+ --prefix="${EPREFIX}/usr" \
+ --prefix-lib="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix-share="${EPYTHIADIR}" \
+ $(usex fastjet "--with-fastjet3" "") \
+ $(usex zlib "--with-gzip" "") \
+ $(use_with hepmc3) \
+ $(use_with highfive) \
+ $(usex highfive --with-hdf5 "") \
+ $(use_with python) \
+ $(use_with rivet) \
+ $(use_with mpich) \
+ $(use_with hepmc2) \
+ $(usex lhapdf "--with-lhapdf6
+ --with-lhapdf6-plugin=LHAPDF6.h
+ --with-lhapdf6-lib=${EPREFIX}/usr/$(get_libdir)" "") \
+ $(usex root "--with-root
+ --with-root-include=${EPREFIX}/usr/include/root
+ --with-root-lib=${EPREFIX}/usr/$(get_libdir)/root" "") \
+ || die
+
+ # fix pythia config script
+ sed -i \
+ -e 's|Pythia8/examples/Makefile.inc|Pythia8/Makefile.inc|' \
+ -e "s|CFG_FILE=.*|CFG_FILE=${EPYTHIADIR}/Makefile.inc|" \
+ -e 's|LINE%=|LINE%%=|' \
+ bin/pythia8-config || die
+}
+
+src_test() {
+ cd examples || die
+
+ local tests="$(echo main{{101..103},{121..127}})"
+ use hepmc3 && tests+=" $(echo main{131..135})"
+ use hepmc3 && use mpich && use highfive && tests+=" $(echo main136)"
+ use lhapdf && tests+=" $(echo main{201..204})"
+ use fastjet && tests+=" $(echo main{211..216})"
+ use root && tests+=" main143"
+ use hepmc3 && use lhapdf && tests+=" $(echo main{133,162})"
+ use fastjet && use hepmc3 && use lhapdf && tests+=" $(echo main161)"
+ # Other tests disabled due to missing dependencies
+
+ # use emake for parallel instead of long runmains
+ LD_LIBRARY_PATH="${S}/$(get_libdir):${LD_LIBRARY_PATH}" \
+ PYTHIA8DATA="../share/Pythia8/xmldoc/" \
+ LHAPDF_DATA_PATH="${WORKDIR}" \
+ emake ${tests}
+ emake clean
+}
+
+src_install() {
+ # make install is too broken, much easier to install manually
+ dobin bin/pythia8-config
+ doheader -r include/*
+ dolib.so lib/libpythia8.so
+ use lhapdf && dolib.so lib/libpythia8lhapdf6.so
+ insinto "${PYTHIADIR}"
+ doins -r share/Pythia8/xmldoc share/Pythia8/pdfdata examples/Makefile.inc
+
+ newenvd - 99pythia8 <<- _EOF_
+ PYTHIA8DATA=${EPYTHIADIR}/xmldoc
+ _EOF_
+
+ dodoc AUTHORS GUIDELINES README
+
+ if use doc; then
+ dodoc -r share/Pythia8/pdfdoc/.
+ dodoc -r share/Pythia8/htmldoc/.
+ fi
+ if use examples; then
+ # reuse system Makefile.inc
+ rm examples/Makefile.inc || die
+ sed -i "s|include Makefile.inc|include ${EPYTHIADIR}|" \
+ examples/Makefile || die
+
+ insinto /usr/share/${PN}
+ doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ if use python; then
+ local site_dir=$(python_get_sitedir)
+ insinto "${site_dir#${EPREFIX}}"
+ doins lib/pythia8.so
+ fi
+
+ # cleanup
+ unset PYTHIADIR EPYTHIADIR
+}
diff --git a/sci-physics/pythia/pythia-9999.ebuild b/sci-physics/pythia/pythia-9999.ebuild
index fa0f3f011561..cc536ceee86e 100644
--- a/sci-physics/pythia/pythia-9999.ebuild
+++ b/sci-physics/pythia/pythia-9999.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit toolchain-funcs
+PYTHON_COMPAT=( python3_{11..13} )
+inherit toolchain-funcs python-single-r1
MV=$(ver_cut 1-2)
MY_P="${PN}${PV//./}"
@@ -11,8 +12,6 @@ LHA_VER="6.2.1"
DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
HOMEPAGE="https://pythia.org/"
-
-# just data
SRC_URI="test? ( lhapdf? (
https://lhapdfsets.web.cern.ch/lhapdfsets/current/CT10.tar.gz
https://lhapdfsets.web.cern.ch/lhapdfsets/current/MRST2007lomod.tar.gz
@@ -21,24 +20,25 @@ SRC_URI="test? ( lhapdf? (
https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq66.tar.gz
https://lhapdfsets.web.cern.ch/lhapdfsets/current/cteq6l1.tar.gz
https://www.hepforge.org/downloads/lhapdf/pdfsets/v6.backup/${LHA_VER}/MRST2004qed.tar.gz
- ) )"
-
+ ) )
+"
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"
+ ${SRC_URI}"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_P}"
fi
-SLOT="8"
LICENSE="GPL-2"
-IUSE="doc examples fastjet +hepmc3 hepmc2 lhapdf root test zlib"
+SLOT="8"
+IUSE="doc examples fastjet +hepmc3 hepmc2 lhapdf root test zlib python highfive mpich rivet" # evtgen mg5mes rivet powheg
RESTRICT="!test? ( test )"
REQUIRED_USE="
?? ( hepmc3 hepmc2 )
+ python? ( ${PYTHON_REQUIRED_USE} )
"
RDEPEND="
@@ -46,16 +46,28 @@ RDEPEND="
hepmc3? ( sci-physics/hepmc:3= )
hepmc2? ( sci-physics/hepmc:2= )
lhapdf? ( sci-physics/lhapdf:= )
- zlib? ( sys-libs/zlib )"
+ zlib? ( sys-libs/zlib )
+ highfive? (
+ sci-libs/HighFive
+ sci-libs/hdf5[cxx]
+ )
+ rivet? (
+ sci-physics/rivet:*
+ )
+ mpich? ( sys-cluster/mpich )
+ python? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
# ROOT is used only when building related tests
-DEPEND="${RDEPEND}
+BDEPEND="
test? (
root? ( sci-physics/root:= )
- )"
+ )
+"
-PATCHES=(
- "${FILESDIR}"/${PN}8209-root-noninteractive.patch
-)
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
pkg_pretend() {
if use root && ! use test; then
@@ -80,9 +92,6 @@ src_prepare() {
-e "s|-O2|${CXXFLAGS}|g" \
-e "s|Cint|Core|g" \
configure || die
- sed -i 's|$(CXX) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED)|$(CXX) $(LDFLAGS) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED)|g' \
- Makefile || die
- sed -i 's|$(CXX)|$(CXX) $(LDFLAGS)|' examples/Makefile || die
# we use lhapdf6 instead of lhapdf5
# some PDFs changed, use something similar
sed -i \
@@ -99,7 +108,7 @@ src_prepare() {
-e "s|1e-8|3e-1|g" \
-e "s|nlo_as_0119_qed|nlo_as_0119_qed_mc|g" \
-e "s|xmldoc|share/Pythia8/xmldoc|g" \
- examples/main54.cc || die
+ examples/main203.cc || die
# ask cflags from root
sed -i "s|root-config|root-config --cflags|g" examples/Makefile || die
@@ -113,15 +122,20 @@ src_prepare() {
# - ProMC https://github.com/Argonne-National-Laboratory/ProMC/
src_configure() {
# homemade configure script
+ local -x CXX="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}"
./configure \
--arch=Linux \
- --cxx="$(tc-getCXX)" \
--prefix="${EPREFIX}/usr" \
--prefix-lib="${EPREFIX}/usr/$(get_libdir)" \
--prefix-share="${EPYTHIADIR}" \
$(usex fastjet "--with-fastjet3" "") \
$(usex zlib "--with-gzip" "") \
$(use_with hepmc3) \
+ $(use_with highfive) \
+ $(usex highfive --with-hdf5 "") \
+ $(use_with python) \
+ $(use_with rivet) \
+ $(use_with mpich) \
$(use_with hepmc2) \
$(usex lhapdf "--with-lhapdf6
--with-lhapdf6-plugin=LHAPDF6.h
@@ -134,6 +148,7 @@ src_configure() {
# fix pythia config script
sed -i \
-e 's|Pythia8/examples/Makefile.inc|Pythia8/Makefile.inc|' \
+ -e "s|CFG_FILE=.*|CFG_FILE=${EPYTHIADIR}/Makefile.inc|" \
-e 's|LINE%=|LINE%%=|' \
bin/pythia8-config || die
}
@@ -141,18 +156,15 @@ src_configure() {
src_test() {
cd examples || die
- local tests="$(echo main{{01..32},37,38,61,62,73,80}.out)"
- use hepmc3 && tests+=" $(echo main{41,42,85,86}.out)"
- use hepmc3 && use lhapdf && tests+=" $(echo main{43,{87..89}}.out)"
- use lhapdf && tests+=" $(echo main{51..54}.out)"
- use fastjet && tests+=" $(echo main{71,72}.out)"
- use fastjet && use hepmc3 && use lhapdf && tests+=" $(echo main{81..84}).out"
- use root && tests+=" main91.out"
- # Disabled tests:
- # 33 needs PowHEG
- # 46 needs ProMC
- # 48 needs EvtGen
- # 92 generated ROOT dictionary is badly broken
+ local tests="$(echo main{{101..103},{121..127}})"
+ use hepmc3 && tests+=" $(echo main{131..135})"
+ use hepmc3 && use mpich && use highfive && tests+=" $(echo main136)"
+ use lhapdf && tests+=" $(echo main{201..204})"
+ use fastjet && tests+=" $(echo main{211..216})"
+ use root && tests+=" main143"
+ use hepmc3 && use lhapdf && tests+=" $(echo main{133,162})"
+ use fastjet && use hepmc3 && use lhapdf && tests+=" $(echo main161)"
+ # Other tests disabled due to missing dependencies
# use emake for parallel instead of long runmains
LD_LIBRARY_PATH="${S}/$(get_libdir):${LD_LIBRARY_PATH}" \
@@ -176,6 +188,7 @@ src_install() {
_EOF_
dodoc AUTHORS GUIDELINES README
+
if use doc; then
dodoc -r share/Pythia8/pdfdoc/.
dodoc -r share/Pythia8/htmldoc/.
@@ -190,6 +203,11 @@ src_install() {
doins -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
+ if use python; then
+ local site_dir=$(python_get_sitedir)
+ insinto "${site_dir#${EPREFIX}}"
+ doins lib/pythia8.so
+ fi
# cleanup
unset PYTHIADIR EPYTHIADIR
diff --git a/sci-physics/thepeg/Manifest b/sci-physics/thepeg/Manifest
index 6417e5a074fa..aa838925ddbc 100644
--- a/sci-physics/thepeg/Manifest
+++ b/sci-physics/thepeg/Manifest
@@ -1,5 +1,6 @@
AUX thepeg-1.8.3-java.patch 922 BLAKE2B 6ecd71735f8fd13c3a8220290ee0eb7b78e66ae4712296b2621dea639952d886181290ecf0bb3f4efa0a61e0485b6afc2824b7372568dcceba0eeaf8ebfc5099 SHA512 2c2bd711e6a96e3e8ab12b313929b7e4814b69bd7f7631e137c233ec2478d4538299113c035ed94b8e58aa1195b0c8cdc21d23996fbecbb0319815b162556699
AUX thepeg-2.0.4-gcc6.patch 252 BLAKE2B 4503804e2d5f25fdc81e05bbc960e873c9f7d70d25ed6fdf1425658b2fadbf39e7d537afedf365ec1659ad268d450f5a36649726ec692fd0bb8c8cecf36f5ffb SHA512 741dc3a52fdd040b2fc0ba21c778b4e2427abd55977f3858ef8f8acedc2c3a4007a38fe0903cf89eb1c305ebbc31f527f04d52da794ac85563864c53d50c4363
+AUX thepeg-2.3.0-functional.patch 233 BLAKE2B 9ebafcbe8082c04ccad578c62e9e777c7c18db8070781f13f0dcb9e43a07555f16b1574235af141c84871ebf0aaeec9f301b0aa1923f15679c3fa06694d0563d SHA512 259fd1f0bdc11e8c892feb659d6b97a94e337133fa00a29f26a8ff8d145a70d870ebc371722482bf5c6cd0ab4d683ef241e3e70ee8f3f4d8474fb01f9081315f
AUX thepeg-2.3.0-rivet.patch 962 BLAKE2B 36688e2459755c94285d80ad0e350665479572c4abe8cf6969fb78b35fbe1133b4c5179a66bf5cea2ab158076194e3ac7d0a84e2548208df9ca04bfac4f264a7 SHA512 cbf74e54557c26d8e3725f9cc57f923c8548f0a73ec3345bffba5bbb0bbd827d6c8a0ee4907b335e8d6a527f23aa40c13209854af8388dd4ab86468d2fa6615a
DIST GRV98nlo.LHgrid 221908 BLAKE2B 01af851928bbcfae110f3f5bc2b7599f86c25adb54e979c19625cf44ce7b633639f4ab99e068f8ae5ce3d9e72289265101ec40882e4af4b4a62abb152644890d SHA512 fce5226a6eb56c9cc970d2d2bb23c5a0cde3afbb1f463e3e062825c2379213100a2d149ff6b25d9726e80ee817f9ae74eafcc85b2b30419aa7f095847dbcd8b6
DIST MRST2001nlo.LHgrid 719692 BLAKE2B 67a58bcf19857a5cee3eeac29bd2aa236f63c96acbf69b944ed14a94422a986e1579549172a2444b109f5bcfe6fd2fea4acc148c78e2e4f7258a836891ba0648 SHA512 126461ec2358e61221445483074a804c915b94be4a4dfd0330a9cf71feff9a9b981c5594a9d2a1efd236122f44891dd25182649803dccb3b383d03e85e96f930
@@ -10,5 +11,5 @@ DIST cteq5l.LHgrid 134797 BLAKE2B 1e222631ff00979abf64e95ffa3133d29eacd819325fcd
DIST cteq6ll.LHpdf 1461 BLAKE2B 66a8ebd404849a14c1240ff1c7b06e758a78ae47cc4e7818b8b7fcb6faecbb17fd8810279e54c70623a048f78e6f89706bcecca4d4b8174468ff52481da37640 SHA512 b89a87d1c1c7cc910aa4af53abc3cc6550670a5a6332989232d33c7da1ba01ce49bbbf9f3bb454e673312fb5bc1679f86eea18f95a1443d1c80d3a622e2b8728
EBUILD thepeg-2.2.2-r1.ebuild 2317 BLAKE2B fe1919848084dfcaa429ce9e380ce0d081278258c45fae03e1d4312394da1bd43fe71e665f14d436350b421fefba26ed577db50de5fdb5deb2729897b051cdcb SHA512 dd6a52ffc8be6a19b3d24289a6adafc95b71667214e4615ae776a7a7c8486044a5a5b3f9d99de045fa58938e3b734cbd9875fb279e95a951a238c5bdcfb897e6
EBUILD thepeg-2.2.3-r1.ebuild 2363 BLAKE2B e174254dc806de8ee70272066eacb847eef015d2271f25a0959fb1b2aab5f0d3edf542a69cf58306463cfea8d14168a9b02329fc836f7f463f266b07c3576c17 SHA512 dfa80a7019a684ea0ade71cdc4b26fcf25a9777b6cfbf48b66856395e56dc40ee02e8bf550021ca409df421b12519a3693aee2fbf5aeca99db7b61d27724c04d
-EBUILD thepeg-2.3.0.ebuild 2646 BLAKE2B f138f84a0be868718c892e3f2cb9ccc8df98c905b68d5bfd9239fbb372f29f95ef98bbc883c24dda18b8f2bb7e7ba1abe602b2d3d5118a38ac46f7f2e9116a8d SHA512 8b07b72cd2151639b9a73d45a2d906d8ed1b4a6b7344db26ffa504d0e161e858b9717f36c366b85da09de33c8dfaa3f4701b018bd617091086ed2f261d98f482
+EBUILD thepeg-2.3.0.ebuild 2723 BLAKE2B b3327f1c4bd33f760d20c51602f13689d6df0b540cc06cfc4d2fe47cc0e48fe4e3ff74ee8bb486e8e9ae4706a608c67b711c3c056e6cc26e4b8776f12847589d SHA512 42fbfa06995f2819f942a0d2b06b7e20bcbb99a3e911ba091eec796fb5bef603fdba9c064580899365e04e6bb6d3cdaaf1d7642d5d4edf89afa22d1025748037
MISC metadata.xml 1289 BLAKE2B 671ecee27bfb52b222ce0c657d197fc27f1c75e4bd73f1b12dc99b4db0f984d990655ccaaec0670a263e0b8a837ece7d8e15c4fc1642feac6223c946941c9cb0 SHA512 0ba9d4e56ad1dd403d2412c70a71fa26bedc9580326dc5f7db63793853bbe0a2963280e817e5240a0f5c562a8125b274bddba9fed557cb0fe838ee2f84f1d6af
diff --git a/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch b/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch
new file mode 100644
index 000000000000..4b25e3f2a188
--- /dev/null
+++ b/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch
@@ -0,0 +1,10 @@
+--- a/Config/std.h 2024-10-20 14:58:16.121021570 +0200
++++ b/Config/std.h 2024-10-20 14:58:25.804498716 +0200
+@@ -37,6 +37,7 @@
+ #include <typeinfo>
+ #include <stdexcept>
+ #include <cmath>
++#include <functional>
+
+ namespace std {
+
diff --git a/sci-physics/thepeg/thepeg-2.3.0.ebuild b/sci-physics/thepeg/thepeg-2.3.0.ebuild
index f378565e51ca..19e2855c35cb 100644
--- a/sci-physics/thepeg/thepeg-2.3.0.ebuild
+++ b/sci-physics/thepeg/thepeg-2.3.0.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.3-java.patch
"${FILESDIR}"/${PN}-2.0.4-gcc6.patch
"${FILESDIR}"/${PN}-2.3.0-rivet.patch # properly support rivet/yoda weights in thepeg, reported to upstream by mail.
+ "${FILESDIR}"/${PN}-2.3.0-functional.patch # https://bugs.gentoo.org/941477
)
src_prepare() {
diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index ec8a0ff6147c..0c555297407d 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -1,17 +1,9 @@
AUX yoda-1.9.9-configure.patch 1607 BLAKE2B 7738d68c938b76ffffa83a991da8aa6451439e6ebc526b0f965d2f881b966a90b071652c1d956a3c8323737915a6174d5867030f145d4242ecbb9ee078e53953 SHA512 b0d9e546563c80c5e3f67a42c2fce0a8e733db120d527967fe7904d232d9fb885b9955681a6b923815ad0cc5c1f217c42f9358eb9f4b2e3b5af455d39da00c99
-DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189 SHA512 eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
DIST YODA-1.9.10.tar.bz2 1278729 BLAKE2B f6ae9b579d79b6be62e9644e327f0b449882c0f1a0efaac09ac97eae90a2ced10bf2b13447d75390552b3e4d8c128e7a33184bf8b2d308236f828e611df6d7a4 SHA512 54a455a1b2772ea3201477d4dddcf0c92c85bfee8825d8726d62331ebacb37fc8d1f6e02cdfe592722f2a747a46786d2bdb3c36cc982794a30b25e718d32e998
DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a SHA512 46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
-DIST YODA-1.9.6.tar.bz2 1069530 BLAKE2B 23d782723c5b2429e9e9a70abe8dbf3d58a2204437a46b6e2e196cacc9b6ce55464d5600dd53492f43801866fc7da0e82d1e765cc04c493f40b2da95413aba25 SHA512 2433f2d685ccc97aa41e5f44e0c7ca560de01e3b746f2e4837ee6259cd142106e9aa0066aaa106e5298f8d4d9df3a09f5a2d058d6b1593792c9afe06b65d1a22
-DIST YODA-1.9.7.tar.bz2 1084794 BLAKE2B 86a1d061c6c16ceb994878d734642fe2be18dcce4391e7f8cb57df27b5944ba4edc6573915b150993c921a4a7b5eda2b3f598b7984466f6706348ca137e4981a SHA512 923e51a5783638304841bdc7aad6351c109c1806ce3f87d1ed9d965c4c95179bb1e416c9db77e39cd8f81417d08a7668cdde4f56cd893ce528b7cf9fe0e67c01
-DIST YODA-1.9.9.tar.bz2 1278231 BLAKE2B 74b759d5e152a28359ab244690a0c8e8cf10d2eb130bbf4017d602a98b28264b4f9f05842b6ef261b990e62908db6cad490aa85dde54cae3dc948eaa5f9f8440 SHA512 76e80891878712c6576cc13013b332dc48711c9b19ba1257a6c2128bdde5eb483c61f9a7d7f7946b8f0c44fd3940afe699c8dd6a45083917bf8f30351d9ce191
DIST YODA-2.0.1.tar.bz2 1842004 BLAKE2B 56c2de8acad92510a49abab0d19568f19de3442f1f941784b85c9bded9c14f82fc2cf0eb555721cedcab81e024a9d89ffcf200b54598ed87c1d6de4c7bc59824 SHA512 abd2728e4dc76474d3bf4d478143f4b2b15a596259c49080be37269386f8353cb3f961cc850718ff8fec5d73f96377d6a9103b5bf3cc7f7c703f47c91d929549
-EBUILD yoda-1.9.0.ebuild 843 BLAKE2B 94946e19f1b8f36dd4151592207d99ccf0c0d4a46e29323d3cce470dcfcb2f07fe050ce712726a12394f4388de43c5af1ccab56cbf8d4d2f861725d70c8c1634 SHA512 8aa5189d75b21b1d88b56952557c1be48ffa9b81e2ba0d292a99fbbab47f792bbcb89454c055d0c0319fe31b43243a369e6b0d88fdab792e36f15d401d49a0d5
EBUILD yoda-1.9.10.ebuild 2342 BLAKE2B 6f96d2a8cc866ed5d409cd5614a4ea20f2d10700d24a81d51fdcbce8056978b1faa95d8b319287cc24585dd1256d58cb560f9748fe9595df2abd58194a2af4bb SHA512 6e4d30b90b0965572364c763d1c9d838b6ff884221dc61a7542e711727ddf1a80044532daf9b345747672028caf687436054a739162e5d6b88cdbed9a5d179cc
EBUILD yoda-1.9.5.ebuild 884 BLAKE2B 04511d2040cc8c22d994d51653b7c0f3bc9bb38097eaa770cf28f2dcc2a365a770e3bcbc89840415ab9e13d6975f9cca474b292dd47f24f3ff917259aa0340cf SHA512 17bc971c8b57cdb7dd0823f74a5dcc24206e2ebb2c5e93e445b1babfa459c18803944a516fa01bd20cd55003710d50192a51b94721933dd26098ffe23a6194da
-EBUILD yoda-1.9.6.ebuild 1246 BLAKE2B f5a104613618e6506a05b1e943964d03adb43b60e3caae2cc170162b2f34a4849c8629e0b021d8212343368d552aca97fc25056c24e11623eff5307a83b430d6 SHA512 b8fa53023b0351c52d072070e0c5b1a6078ecd6f8be4372f5e85b322688b6bf04f7c987bfbf63505ad10bdb8f38ad7cd3ab9a75c16e9954ca751704256356f9b
-EBUILD yoda-1.9.7.ebuild 1246 BLAKE2B ba358ba36dd8906922dd78e3fd0e905dd58595d5f7a5e1422bd5b4a29dfbb1d13ea336be5b8484291a7882c3daf7edbf37efbe98830f3dbb1937a427ad0bdadc SHA512 6ed1f48251b3e185e68fb93501e9a6dd4e3c64b0c0c52a74feb8605d9f5f84e78220c2ebd6aa345debc1b6ed6475f7268ec2fabfde2a81b70b81302f87976caa
-EBUILD yoda-1.9.9.ebuild 2335 BLAKE2B 18b944660e14da1c43113ea437fb8a358b8f67b8d9308146e1d806d6d6daf8060a4f9fc2536d12c51408b8a7568a358d827bffbf4997d1f910249cc09dc799f3 SHA512 451f6a59fdb98528aac876f6ffeab1530144e2d7748973ff39fe6c733db8ccd54d52f3de10e68f1645e634b242fb4bdff50e769777dcae400cec5b1c5924e9b3
EBUILD yoda-2.0.1.ebuild 2105 BLAKE2B 34b00ff438d340bd32e48109f8879338f9aff6e1ce2ad4cef70f08445fdc3abf0fa86f20e552d5245828d2c18b6e6897ca8a95a9f5e38d80c16fa6ae17575952 SHA512 fbe4bcddbf5d0618e541382279d9a97e518bcfb95ac984a59e1d0842041c2144417c992cdf4ea81a060713574f4257744105cd2082ec8933ae502dd64868c978
EBUILD yoda-9999.ebuild 2186 BLAKE2B 31a9813a2d65b699ec741499db2ec8052960686154fdef33d8c9b6d2ecd518edaefc045a3a4552d8d3c39384994a4520de83085ea80048f2bffaa1beb4dd651a SHA512 57ceecf28cace2d63100e80ea942ecd5ec6259843d6b3c07a3c8c9089269b7bb1cd3593da627692e03366ee72704ebdae14ffd090b02fcee40b13e7f200f32f2
-MISC metadata.xml 660 BLAKE2B 7bc7ad4089af06b0a7b80028e99a551c8adf18c7066f4b9743e74bbcdb8b831b47917faa98f6183e6fd70856f385c2a45a84366cdb5b9f25ec3881efecb4a723 SHA512 64002092f2032d225f2bd4dcc4668c00cc23b9e60b58052b93a0618794f4e17104ab11a0982428ad956ca6b894e93e230523b52918bc9d41d2c01d22abe18e90
+MISC metadata.xml 1063 BLAKE2B e7d94247a06583296897d6b55c759c4499f7c83ff9c5186c014bc5134a66fd37030ca39d79d784ff79d257a327fd63a7915ad0245ca7937bf54b186571616acf SHA512 a4f9e6f39b5543853388bfd1d3c1c777f096eea2ac95aef24aabf6635a56d941cd05700e4fc68448f88a1821d12fb7664c43a9ae9485e098f74353d43998f16f
diff --git a/sci-physics/yoda/metadata.xml b/sci-physics/yoda/metadata.xml
index 6cc8731c28e0..dfbf40f5c431 100644
--- a/sci-physics/yoda/metadata.xml
+++ b/sci-physics/yoda/metadata.xml
@@ -1,18 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>sci-physics@gentoo.org</email>
- <name>Gentoo Physics Project</name>
-</maintainer>
-<longdescription>
- Yet more Objects for Data Analysis is a small set of data analysis
- (specifically histogramming) classes being developed by MCnet
- members as a lightweight common system for MC event generator
- validation analyses, particularly as the core histogramming system
- in Rivet.
-</longdescription>
-<use>
- <flag name="root">Adds support for <pkg>sci-physics/root</pkg></flag>
-</use>
+ <maintainer type="person" proxied="yes">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="person" proxied="proxy">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription>
+ Yet more Objects for Data Analysis is a small set of data analysis
+ (specifically histogramming) classes being developed by MCnet
+ members as a lightweight common system for MC event generator
+ validation analyses, particularly as the core histogramming system
+ in Rivet.
+ </longdescription>
+ <use>
+ <flag name="root">Adds support for <pkg>sci-physics/root</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="gitlab">hepcedar/yoda</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sci-physics/yoda/yoda-1.9.0.ebuild b/sci-physics/yoda/yoda-1.9.0.ebuild
deleted file mode 100644
index eccb09af10af..000000000000
--- a/sci-physics/yoda/yoda-1.9.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/"
-SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="root"
-
-RDEPEND="root? ( sci-physics/root:= )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P^^}"
-
-src_configure() {
- econf \
- --disable-pyext \
- --disable-static \
- $(use_enable root)
-}
-
-src_test() {
- # PYTESTS and SHTESTS both require python tools
- emake check PYTESTS= SHTESTS=
-}
-
-src_install() {
- default
-
- newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
- rm "${ED}"/etc/bash_completion.d/yoda-completion || die
-}
diff --git a/sci-physics/yoda/yoda-1.9.6.ebuild b/sci-physics/yoda/yoda-1.9.6.ebuild
deleted file mode 100644
index e5d0884f6eba..000000000000
--- a/sci-physics/yoda/yoda-1.9.6.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit bash-completion-r1 autotools python-single-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/"
-SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
-S="${WORKDIR}/${P^^}"
-
-LICENSE="GPL-3"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="root python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
-
-RDEPEND="
- root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- default
- # reconf due to python3_10 patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_enable root) \
- $(use_enable python pyext)
-}
-
-src_test() {
- # PYTESTS and SHTESTS both require python tools to be installed already
- emake check PYTESTS= SHTESTS=
-}
-
-src_install() {
- # prevent double installation of python library
- emake install DESTDIR="${ED}"
- find "${ED}" -name '*.la' -delete || die
- newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda
- python_optimize
- rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
-}
diff --git a/sci-physics/yoda/yoda-1.9.7.ebuild b/sci-physics/yoda/yoda-1.9.7.ebuild
deleted file mode 100644
index e812e9d72c77..000000000000
--- a/sci-physics/yoda/yoda-1.9.7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit bash-completion-r1 autotools python-single-r1
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/"
-SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
-S="${WORKDIR}/${P^^}"
-
-LICENSE="GPL-3"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="root python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
-
-RDEPEND="
- root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- default
- # reconf due to python3_10 patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_enable root) \
- $(use_enable python pyext)
-}
-
-src_test() {
- # PYTESTS and SHTESTS both require python tools to be installed already
- emake check PYTESTS= SHTESTS=
-}
-
-src_install() {
- # prevent double installation of python library
- emake install DESTDIR="${ED}"
- find "${ED}" -name '*.la' -delete || die
- newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda
- python_optimize
- rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
-}
diff --git a/sci-physics/yoda/yoda-1.9.9.ebuild b/sci-physics/yoda/yoda-1.9.9.ebuild
deleted file mode 100644
index 0294b67c3cf3..000000000000
--- a/sci-physics/yoda/yoda-1.9.9.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 autotools python-single-r1 optfeature
-
-DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
-HOMEPAGE="https://yoda.hepforge.org/"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/hepcedar/yoda"
-else
- SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
- S="${WORKDIR}/${P^^}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${PV}"
-IUSE="root test +python +zlib"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
-
-RDEPEND="
- root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- python? (
- $(python_gen_cond_dep '
- >=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
- ')
- test? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- ')
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-configure.patch
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
- # reconf due to python3_10 patch
- eautoreconf
-}
-
-src_configure() {
- # we need to use the prefix cython here
- econf --disable-static \
- $(use_enable root) \
- $(use_enable python pyext) \
- $(use_with zlib zlib "${ESYSROOT}/usr") \
- $(usex python CYTHON="${ESYSROOT}/usr/bin/cython")
-}
-
-src_test() {
- # PYTESTS and SHTESTS both require python tools
- if use python; then
- emake check
- else
- emake check PYTESTS= SHTESTS= NO_PYTHON=1
- fi
-}
-
-src_install() {
- emake install DESTDIR="${ED}"
-
- if use python ; then
- newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
- bashcomp_alias ${PN} ${PN}-config
- bashcomp_alias ${PN} ${PN}stack \
- aida2flat \
- ${PN}diff \
- ${PN}cnv \
- ${PN}hist \
- ${PN}-config \
- ${PN}2flat \
- ${PN}scale \
- ${PN}2root \
- ${PN}cmp \
- ${PN}merge \
- ${PN}plot \
- aida2${PN} \
- ${PN}ls \
- ${PN}envelope \
- ${PN}2aida
- fi
-
- rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
-
- use python && python_optimize
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- optfeature "plotting support" virtual/latex-base dev-python/matplotlib
-}