commit:     e77eb6aafa29ea9e5c25229032f5cfd672f3f3e7
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 13:58:12 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:15:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e77eb6aa

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 <amadio <AT> gentoo.org>

 ...ant-vmc-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(-)

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 a4e3263f8af..d31a6e26d16 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 a4e3263f8af..d31a6e26d16 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 ed5c44ec6a3..7fc023bcb29 100644
--- a/sci-physics/geant-vmc/metadata.xml
+++ b/sci-physics/geant-vmc/metadata.xml
@@ -17,13 +17,9 @@
     <remote-id type="github">vmc-project/geant4_vmc</remote-id>
   </upstream>
   <use>
-    <flag name="c++11">Build using the C++11 standard</flag>
-    <flag name="c++14">Build using the C++14 standard</flag>
-    <flag name="c++17">Build using the C++17 standard</flag>
     <flag name="vgm">Enable the Virtual Geometry Model 
(<pkg>sci-physics/vgm</pkg>)</flag>
     <flag name="g4root">Build G4Root (interface for GEANT4 simulation with a 
ROOT geometry)</flag>
     <flag name="geant3">Build with Geant4 G3toG4 library</flag>
     <flag name="mtroot">Build MTRoot (provides ROOT IO manager classes with 
multi-threading support)</flag>
-    <flag name="rootvmc">Use sci-physics/root[vmc] (deprecated) instead of 
sci-physics/vmc as VMC provider</flag>
   </use>
 </pkgmetadata>

Reply via email to