summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin4211 -> 4204 bytes
-rw-r--r--sci-physics/hepmc/Manifest4
-rw-r--r--sci-physics/hepmc/hepmc-3.3.1.ebuild81
-rw-r--r--sci-physics/hepmc/hepmc-9999.ebuild2
4 files changed, 85 insertions, 2 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index 415d7aebfd36..c264a9067f56 100644
--- a/sci-physics/Manifest.gz
+++ b/sci-physics/Manifest.gz
Binary files differ
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index dc3016b67a17..3e1b74e7d7c7 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -2,6 +2,7 @@ AUX hepmc-3.3.0-cmake.patch 2665 BLAKE2B c69f890022d8b87e8c98c397803a7be9e199d31
DIST HepMC3-3.2.6.tar.gz 9344806 BLAKE2B da478157ad73915d77851e9da7b236a052cb32e98103c2701f874a81ed62cbc4397489e3a2f64cd25a46c9704ccfcaac4d854357251d8bbb4120cbc1f5149374 SHA512 d8a50f081db109c9c18e4aaee60230be062eaa2947dadfb14759649eb1c504975802b2c822b1fe024d4e73f703e9f399161fa4fe38b526722dda33c2ff2e8fab
DIST HepMC3-3.2.7.tar.gz 9345591 BLAKE2B e053b9d91552e1e969742a4e3295e233afba1a9f37bc33474f9b8faeda69f3dccddf3fa0aa7d23e6620df1a321c2d8eab51fce08da6fb8f68de130fc5f90ece9 SHA512 c4072fe4e3d80b90f5e5437781d2c7e1439b777318eecd1202cf7611d1ba2910394d72280873c6f897c43f2dd274ebb7cb77f43b223efb13c823aeaef6ba0e71
DIST HepMC3-3.3.0.tar.gz 9341637 BLAKE2B ce02d0c3b103c634bcde80040ae82682a8f0b622c6dd0ed97cf915ef0b026976ed852c69a469d7a27a39746ab9fb660b307c2fe11b4844a42973f8590e828296 SHA512 2d99880a99ec028013622460580409ecc99e3395cb2acef51fa4c6d629f42ee4044e78048314fd21be6a8b462ea01a4e161bc65fa279d6468325fc9e5ef110fb
+DIST HepMC3-3.3.1.tar.gz 9354477 BLAKE2B c20756b35ca8acdd343b4365709ad666ed4643bb6e2e8d0cb3093403adab7ccc44dfab6d678594dea1734c452ebc47f42fe7bd401ca8ba363332df9807bde95d SHA512 20859ac84a7ef5fa5555d992e4f70bf614320f0ccb8c4ecac2317d52d0f4a7f0096c0e75fa5651a64e40bc101238af538bdee61254b0ca0d424010e8a163bb22
DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55
DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2
EBUILD hepmc-2.06.11.ebuild 2116 BLAKE2B 1cc75cf1577b38386720025ed5feb75b19a3a8531927dffc134d9b6847141338252d264412b5c59ee718986867b9fef0fa9cd5bcc3c47fbd8addbcaee3d07aa9 SHA512 f04112c914c519fa630afdfead10961a45805f20863f62f8132b985900865bef28e11310a96a7ca259884baa9a6484a220b44d5a8365dbcdbf1d1021d1057792
@@ -9,5 +10,6 @@ EBUILD hepmc-3.2.5_p20230225-r1.ebuild 1488 BLAKE2B 65054613cb8d829c75cdadf5880f
EBUILD hepmc-3.2.6.ebuild 1400 BLAKE2B a23c3da80c1961c7a3cf7b81b2debe14f061247c8a5d41ea295d03d90103f55adb730d0a797ee9a913a9029de5acb82168994220f6d54e63ea8a0a90324ff4ce SHA512 508d7945a8499753ecb1c4131c1d5a5fb59a2b686217a4b909371ac410d9f8dd88adbe5f601e16bea94ac863d839520853e9ce7cca6a19f3a9adea1592c469f9
EBUILD hepmc-3.2.7.ebuild 1441 BLAKE2B 10d31b17108b70871470fc4a02e6ad4bb66ce281310e6219f3115e8702bc045a4b874b4df97d3f2198dd8f0cc9e1c1b0fd0eba7bed7620b613946f7e5580d5c0 SHA512 f530e6f2e4283b9472347971f18ed971d56d2b0cc1b09ac929183d6b625921976a2957e4b02d1eeb75708e02ead63ab18121e199db194efc2a920871d908c6ec
EBUILD hepmc-3.3.0-r1.ebuild 1949 BLAKE2B 8a1e33541bae1d942ae960731293c1d8aa10c41c3e39ee01d351a81cf808e5da12df4e033e774c402d3bdc0e1f33c1a6e9e70dffc32cada22278cf1d51713ff9 SHA512 5cd159dfa083359ff6576650cd0cd1e8deb8c9d909832a6bbb085c24976a4659da196f21be1d511eecc0a958de5769af7a19650776c076c8d4177a6cb7576096
-EBUILD hepmc-9999.ebuild 1854 BLAKE2B 800b35050494a4daec081ea3fbcdab01d2ca85188d545daaa4dc31a26783671ce7a4752e1d1cf093b7f0308a2af7c9cd1b18c097a3f20a6bb5b19b1522726a38 SHA512 04a106d7b1739a7820de9e855f5d04f9772ca23a0a94d9c14e25bdee0dfc5e23d43a85f9682d6427d4f8c9713c26666a3270968230a98183fe0966eff27a10be
+EBUILD hepmc-3.3.1.ebuild 1854 BLAKE2B 7f4a32dced1f7d80d1427a17b97f69bc86a6b5a92e34310ec032bc5a85e9f61640900725326f95154f63fea605e413e7b4f804c5eb49ec4a91aa6a7f4fc73362 SHA512 c2bf82b77ccd8f4de0894e88491cad9a4282b0dedbd0e9af91cdd83d0bad25c922c2ebdd81f0889cab870fa031985812bd82986bbddcca2648d35dcee6ec8475
+EBUILD hepmc-9999.ebuild 1854 BLAKE2B 7f4a32dced1f7d80d1427a17b97f69bc86a6b5a92e34310ec032bc5a85e9f61640900725326f95154f63fea605e413e7b4f804c5eb49ec4a91aa6a7f4fc73362 SHA512 c2bf82b77ccd8f4de0894e88491cad9a4282b0dedbd0e9af91cdd83d0bad25c922c2ebdd81f0889cab870fa031985812bd82986bbddcca2648d35dcee6ec8475
MISC metadata.xml 1781 BLAKE2B cccdb7413e435e9815f9c2da3674af27532e3fd54375f33da59fe92e1b569a1efefdb4acacb3a799d5ed26c4dc2c550e634909095beaf7b13bf3e2698e864c56 SHA512 a7b1a7d2202ab6be45796478b077036b9614b2bc2d6fe99566120099462af27d9c1b2a73eb41dc95458950a79f5b6ba73dcd854843a5f35580b668bc50ac0bb3
diff --git a/sci-physics/hepmc/hepmc-3.3.1.ebuild b/sci-physics/hepmc/hepmc-3.3.1.ebuild
new file mode 100644
index 000000000000..717ff88c7db3
--- /dev/null
+++ b/sci-physics/hepmc/hepmc-3.3.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit fortran-2 cmake flag-o-matic python-single-r1
+
+MYP=HepMC3-${PV}
+
+DESCRIPTION="Event Record for Monte Carlo Generators"
+HOMEPAGE="https://hepmc.web.cern.ch/hepmc/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.cern.ch/hepmc/HepMC3"
+else
+ SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz"
+ S="${WORKDIR}/${MYP}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="3"
+IUSE="doc test examples python root static-libs"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+DEPEND="${RDEPEND}"
+# Automagic compression dependencies in test and example.
+# https://gitlab.cern.ch/hepmc/HepMC3/-/issues/99
+# For now we install all of them...
+BDEPEND="
+ root? ( sci-physics/root:= )
+ doc? (
+ app-text/doxygen[dot]
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+ )
+ test? (
+ sys-libs/zlib
+ app-arch/xz-utils
+ app-arch/bzip2
+ app-arch/zstd
+ )
+ examples? (
+ sys-libs/zlib
+ app-arch/xz-utils
+ app-arch/bzip2
+ app-arch/zstd
+ )
+"
+
+src_configure() {
+ filter-lto # 941937 941936
+ local mycmakeargs=(
+ -DHEPMC3_PYTHON_VERSIONS="${EPYTHON/python/}"
+ -DHEPMC3_ENABLE_ROOTIO=$(usex root ON OFF)
+ -DHEPMC3_ENABLE_PYTHON=$(usex python ON OFF)
+ -DHEPMC3_ENABLE_TEST=$(usex test ON OFF)
+ -DHEPMC3_BUILD_DOCS=$(usex doc ON OFF)
+ -DHEPMC3_BUILD_EXAMPLES=$(usex examples ON OFF)
+ -DHEPMC3_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+ use python && python_optimize
+}
diff --git a/sci-physics/hepmc/hepmc-9999.ebuild b/sci-physics/hepmc/hepmc-9999.ebuild
index 0f34ec376a72..717ff88c7db3 100644
--- a/sci-physics/hepmc/hepmc-9999.ebuild
+++ b/sci-physics/hepmc/hepmc-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit fortran-2 cmake flag-o-matic python-single-r1
MYP=HepMC3-${PV}