summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-25 00:31:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-25 00:31:50 +0000
commit85e7fcfe5631986ad1144ea54fc179d8658571d3 (patch)
tree70367139217a01e21c28e5d820dfa70782261ab7 /sci-physics
parent72e4c0bc86eea366d063d15b3d5611e8f82ffd05 (diff)
gentoo auto-resync : 25:03:2025 - 00:31:49
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin4205 -> 4211 bytes
-rw-r--r--sci-physics/hepmc/Manifest4
-rw-r--r--sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch74
-rw-r--r--sci-physics/hepmc/hepmc-3.3.0-r1.ebuild3
-rw-r--r--sci-physics/hepmc/hepmc-3.3.0.ebuild64
5 files changed, 79 insertions, 66 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index 7833420a2a2e..415d7aebfd36 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 3c467b8686b4..dc3016b67a17 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -1,3 +1,4 @@
+AUX hepmc-3.3.0-cmake.patch 2665 BLAKE2B c69f890022d8b87e8c98c397803a7be9e199d318e35cdff952d03bfdc0d6d64fb7e592af553826e07a3d192fe797db2a5a2010abf5d47323294c99b0802bc274 SHA512 d66f82e9ef538acfbaa1e354c8443f01470679cb8169f091b9a7d7d3dc28a72e9c49090933eec86fa05fc960d02b488770e9dc914eac3fd3109f288cedaf7fb9
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
@@ -7,7 +8,6 @@ EBUILD hepmc-2.06.11.ebuild 2116 BLAKE2B 1cc75cf1577b38386720025ed5feb75b19a3a85
EBUILD hepmc-3.2.5_p20230225-r1.ebuild 1488 BLAKE2B 65054613cb8d829c75cdadf5880f17c1127e8817dbf4189f8d1bd3b0105a2ff4d7fcc4790a3c1eb2d48c8047d2ca84f4b0931a5452e066447db254c65914fd84 SHA512 5281c1a6c6fdcd3e9c22b806730b71d96f8215071554d590114579f7cd9f4391a56902548798cd9608342308e9a5390d09f9ad0037dac68fabf637dece660f7f
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 1854 BLAKE2B 800b35050494a4daec081ea3fbcdab01d2ca85188d545daaa4dc31a26783671ce7a4752e1d1cf093b7f0308a2af7c9cd1b18c097a3f20a6bb5b19b1522726a38 SHA512 04a106d7b1739a7820de9e855f5d04f9772ca23a0a94d9c14e25bdee0dfc5e23d43a85f9682d6427d4f8c9713c26666a3270968230a98183fe0966eff27a10be
-EBUILD hepmc-3.3.0.ebuild 1428 BLAKE2B 7662171f943d8709838d2b52b8963d3112d78030e30bc27a24178a394ae73cf3cd68ba53a029327b3622a70040384d6b9c331a87926a6668e2fe0d78ac47d34a SHA512 a2bb830dbda33377c4983b692bedad9eab2e6d9438e3a1f8688819f945a69864c02962b21e48711b6ccbd5d0e15f7418374355e22b53019fb7ae63110ed4b8f3
+EBUILD hepmc-3.3.0-r1.ebuild 1949 BLAKE2B 8a1e33541bae1d942ae960731293c1d8aa10c41c3e39ee01d351a81cf808e5da12df4e033e774c402d3bdc0e1f33c1a6e9e70dffc32cada22278cf1d51713ff9 SHA512 5cd159dfa083359ff6576650cd0cd1e8deb8c9d909832a6bbb085c24976a4659da196f21be1d511eecc0a958de5769af7a19650776c076c8d4177a6cb7576096
EBUILD hepmc-9999.ebuild 1854 BLAKE2B 800b35050494a4daec081ea3fbcdab01d2ca85188d545daaa4dc31a26783671ce7a4752e1d1cf093b7f0308a2af7c9cd1b18c097a3f20a6bb5b19b1522726a38 SHA512 04a106d7b1739a7820de9e855f5d04f9772ca23a0a94d9c14e25bdee0dfc5e23d43a85f9682d6427d4f8c9713c26666a3270968230a98183fe0966eff27a10be
MISC metadata.xml 1781 BLAKE2B cccdb7413e435e9815f9c2da3674af27532e3fd54375f33da59fe92e1b569a1efefdb4acacb3a799d5ed26c4dc2c550e634909095beaf7b13bf3e2698e864c56 SHA512 a7b1a7d2202ab6be45796478b077036b9614b2bc2d6fe99566120099462af27d9c1b2a73eb41dc95458950a79f5b6ba73dcd854843a5f35580b668bc50ac0bb3
diff --git a/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch b/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch
new file mode 100644
index 000000000000..32f883a19040
--- /dev/null
+++ b/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch
@@ -0,0 +1,74 @@
+From ece7b601ce77ead73c071e02c729e9cd9b2a1202 Mon Sep 17 00:00:00 2001
+From: Andrii Verbytskyi <you@example.com>
+Date: Thu, 27 Feb 2025 09:40:41 +0100
+Subject: [PATCH 01/11] Update minimal cmake version
+
+---
+ CMakeLists.txt | 2 +-
+ ChangeLog | 3 +++
+ examples/BasicExamples/CMakeLists.txt | 2 +-
+ examples/CMakeLists.txt | 2 +-
+ examples/SearchExample/CMakeLists.txt | 2 +-
+ python/CMakeLists.txt | 2 +-
+ 6 files changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 674d6198..80e8506e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
+ #----------------------------------------------------------------------------
+ project(HepMC3 LANGUAGES CXX)
+ set(PROJECT_VERSION 3.03.00)
+diff --git a/examples/BasicExamples/CMakeLists.txt b/examples/BasicExamples/CMakeLists.txt
+index acebb57a..4c51845a 100644
+--- a/examples/BasicExamples/CMakeLists.txt
++++ b/examples/BasicExamples/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ # building tests
+ #------------------
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
+ #
+ if (${CMAKE_VERSION} VERSION_GREATER "3.8")
+ cmake_policy(SET CMP0069 NEW)
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 3a3c75c6..fdf78337 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ # building examples
+ #------------------
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
+ include_directories(${PROJECT_SOURCE_DIR}/include )
+ if (${CMAKE_VERSION} VERSION_GREATER "3.8")
+ cmake_policy(SET CMP0069 NEW)
+diff --git a/examples/SearchExample/CMakeLists.txt b/examples/SearchExample/CMakeLists.txt
+index b32029b8..36f39b09 100644
+--- a/examples/SearchExample/CMakeLists.txt
++++ b/examples/SearchExample/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ # building tests
+ #------------------
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
+ #
+ if (${CMAKE_VERSION} VERSION_GREATER "3.8")
+ cmake_policy(SET CMP0069 NEW)
+diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
+index bf9691d0..c0ae3093 100644
+--- a/python/CMakeLists.txt
++++ b/python/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ #project(pyHepMC3 CXX)
+ #Should be fixed
+-cmake_minimum_required(VERSION 3.5.0)
++cmake_minimum_required(VERSION 3.10.0)
+ if(${CMAKE_VERSION} VERSION_LESS "3.14.00")
+ SET_PROPERTY (GLOBAL PROPERTY CMAKE_ROLE "PROJECT")
+ endif()
+--
+GitLab
diff --git a/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild b/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild
index 0f34ec376a72..3daf3f3c4a15 100644
--- a/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild
+++ b/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild
@@ -59,6 +59,9 @@ BDEPEND="
app-arch/zstd
)
"
+PATCHES=(
+ "${FILESDIR}"/${P}-cmake.patch # gitlab.cern.ch/hepmc/HepMC3/-/merge_requests/377
+)
src_configure() {
filter-lto # 941937 941936
diff --git a/sci-physics/hepmc/hepmc-3.3.0.ebuild b/sci-physics/hepmc/hepmc-3.3.0.ebuild
deleted file mode 100644
index c5cb24ef7a3f..000000000000
--- a/sci-physics/hepmc/hepmc-3.3.0.ebuild
+++ /dev/null
@@ -1,64 +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 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"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- root? ( sci-physics/root:= )
- doc? (
- app-text/doxygen[dot]
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-latexrecommended
- )
-"
-
-src_configure() {
- filter-lto # 941937 941936
- local mycmakeargs=(
- -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)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- use examples && docompress -x /usr/share/doc/${PF}/examples
- use python && python_optimize
-}