From e77eb6aafa29ea9e5c25229032f5cfd672f3f3e7 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Mon, 28 Jun 2021 15:58:12 +0200 Subject: [PATCH] sci-physics/geant-vmc: remove C++ USE flags, use C++17 as default Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Guilherme Amadio --- ...4.5.3.ebuild => geant-vmc-4.5.3-r1.ebuild} | 19 +++++-------------- sci-physics/geant-vmc/geant-vmc-9999.ebuild | 19 +++++-------------- sci-physics/geant-vmc/metadata.xml | 4 ---- 3 files changed, 10 insertions(+), 32 deletions(-) rename sci-physics/geant-vmc/{geant-vmc-4.5.3.ebuild => geant-vmc-4.5.3-r1.ebuild} (78%) diff --git a/sci-physics/geant-vmc/geant-vmc-4.5.3.ebuild b/sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild similarity index 78% rename from sci-physics/geant-vmc/geant-vmc-4.5.3.ebuild rename to sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild index a4e3263f8afa2..d31a6e26d16db 100644 --- a/sci-physics/geant-vmc/geant-vmc-4.5.3.ebuild +++ b/sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild @@ -20,22 +20,13 @@ HOMEPAGE="https://github.com/vmc-project/vmc" LICENSE="GPL-3" SLOT="4" -IUSE="+c++11 c++14 c++17 doc examples geant3 +g4root +mtroot rootvmc vgm test" - -REQUIRED_USE="^^ ( c++11 c++14 c++17 )" +IUSE="doc examples geant3 +g4root +mtroot vgm test" RDEPEND=" - rootvmc? ( - >=sci-physics/root-6.18:=[vmc] - !!sci-physics/vmc - ) - !rootvmc? ( - >=sci-physics/root-6.18:=[-vmc] - sci-physics/vmc:=[c++11?,c++14?,c++17?] - ) - >=sci-physics/geant-4.10.6[c++11?,c++14?,c++17?,opengl,geant3?] - >=sci-physics/root-6.18:=[c++11?,c++14?,c++17?] - vgm? ( >=sci-physics/vgm-4.8:=[c++11?,c++14?,c++17?] )" + sci-physics/geant[c++17,opengl,geant3?] + sci-physics/root:=[c++17,-vmc] + sci-physics/vmc:=[c++17] + vgm? ( sci-physics/vgm:= )" DEPEND="${RDEPEND}" BDEPEND="doc? ( app-doc/doxygen )" RESTRICT=" diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild b/sci-physics/geant-vmc/geant-vmc-9999.ebuild index a4e3263f8afa2..d31a6e26d16db 100644 --- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild +++ b/sci-physics/geant-vmc/geant-vmc-9999.ebuild @@ -20,22 +20,13 @@ HOMEPAGE="https://github.com/vmc-project/vmc" LICENSE="GPL-3" SLOT="4" -IUSE="+c++11 c++14 c++17 doc examples geant3 +g4root +mtroot rootvmc vgm test" - -REQUIRED_USE="^^ ( c++11 c++14 c++17 )" +IUSE="doc examples geant3 +g4root +mtroot vgm test" RDEPEND=" - rootvmc? ( - >=sci-physics/root-6.18:=[vmc] - !!sci-physics/vmc - ) - !rootvmc? ( - >=sci-physics/root-6.18:=[-vmc] - sci-physics/vmc:=[c++11?,c++14?,c++17?] - ) - >=sci-physics/geant-4.10.6[c++11?,c++14?,c++17?,opengl,geant3?] - >=sci-physics/root-6.18:=[c++11?,c++14?,c++17?] - vgm? ( >=sci-physics/vgm-4.8:=[c++11?,c++14?,c++17?] )" + sci-physics/geant[c++17,opengl,geant3?] + sci-physics/root:=[c++17,-vmc] + sci-physics/vmc:=[c++17] + vgm? ( sci-physics/vgm:= )" DEPEND="${RDEPEND}" BDEPEND="doc? ( app-doc/doxygen )" RESTRICT=" diff --git a/sci-physics/geant-vmc/metadata.xml b/sci-physics/geant-vmc/metadata.xml index ed5c44ec6a378..7fc023bcb29af 100644 --- a/sci-physics/geant-vmc/metadata.xml +++ b/sci-physics/geant-vmc/metadata.xml @@ -17,13 +17,9 @@ vmc-project/geant4_vmc - Build using the C++11 standard - Build using the C++14 standard - Build using the C++17 standard Enable the Virtual Geometry Model (sci-physics/vgm) Build G4Root (interface for GEANT4 simulation with a ROOT geometry) Build with Geant4 G3toG4 library Build MTRoot (provides ROOT IO manager classes with multi-threading support) - Use sci-physics/root[vmc] (deprecated) instead of sci-physics/vmc as VMC provider