diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index fcdd6c6799f3..cd224955c301 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,6 +1,3 @@ -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 diff --git a/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch b/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch deleted file mode 100644 index 32f883a19040..000000000000 --- a/sci-physics/hepmc/files/hepmc-3.3.0-cmake.patch +++ /dev/null @@ -1,74 +0,0 @@ -From ece7b601ce77ead73c071e02c729e9cd9b2a1202 Mon Sep 17 00:00:00 2001 -From: Andrii Verbytskyi -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.2.5_p20230225-r1.ebuild b/sci-physics/hepmc/hepmc-3.2.5_p20230225-r1.ebuild deleted file mode 100644 index 76e42d904847..000000000000 --- a/sci-physics/hepmc/hepmc-3.2.5_p20230225-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit fortran-2 cmake python-single-r1 - -MYPN=HepMC3 -MYP=${MYPN}-${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 - COMMIT="e05d32ebac8705c0097e9e7d00ce815a205110db" - SRC_URI="https://gitlab.cern.ch/${PN}/${MYPN}/-/archive/${COMMIT}/${MYPN}-${COMMIT}.tar.gz" - S="${WORKDIR}/${MYPN}-${COMMIT}" - 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() { - 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 -} diff --git a/sci-physics/hepmc/hepmc-3.2.6.ebuild b/sci-physics/hepmc/hepmc-3.2.6.ebuild deleted file mode 100644 index 2c4ebb116007..000000000000 --- a/sci-physics/hepmc/hepmc-3.2.6.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 python-single-r1 - -MYPN=HepMC3 -MYP=${MYPN}-${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() { - 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 -} diff --git a/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild b/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild deleted file mode 100644 index 1f41f20bbcd4..000000000000 --- a/sci-physics/hepmc/hepmc-3.3.0-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..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 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? ( - virtual/zlib:= - app-arch/xz-utils - app-arch/bzip2 - app-arch/zstd - ) - examples? ( - virtual/zlib:= - app-arch/xz-utils - app-arch/bzip2 - app-arch/zstd - ) -" -PATCHES=( - "${FILESDIR}"/${P}-cmake.patch # gitlab.cern.ch/hepmc/HepMC3/-/merge_requests/377 -) - -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 -}