commit:     6612332362789e82e70209b83f9b682c8567f4e1
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 13:59:46 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:15:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66123323

sci-physics/vgm: remove C++ USE flags, use C++17 as default

Geant4 11.0 and onwards will only support C++17 and above,
so this is in preparation to remove C++ USE flags altogether
in favor of coordinated settings in all packages that currently
depend on such USE flags.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/vgm/metadata.xml                          | 3 ---
 sci-physics/vgm/{vgm-4.8.ebuild => vgm-4.8-r1.ebuild} | 8 +++-----
 sci-physics/vgm/{vgm-4.9.ebuild => vgm-4.9-r1.ebuild} | 8 +++-----
 sci-physics/vgm/vgm-9999.ebuild                       | 8 +++-----
 4 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/sci-physics/vgm/metadata.xml b/sci-physics/vgm/metadata.xml
index b5b1b3c1755..70819ee2ad2 100644
--- a/sci-physics/vgm/metadata.xml
+++ b/sci-physics/vgm/metadata.xml
@@ -14,9 +14,6 @@
     <name>Proxy Maintainers</name>
   </maintainer>
   <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="geant4">Enable interaction with 
Geant4(<pkg>sci-physics/geant</pkg>:4)</flag>
     <flag name="root">Enable interaction with ROOT 
(<pkg>sci-physics/root</pkg>)</flag>
   </use>

diff --git a/sci-physics/vgm/vgm-4.8.ebuild b/sci-physics/vgm/vgm-4.8-r1.ebuild
similarity index 87%
rename from sci-physics/vgm/vgm-4.8.ebuild
rename to sci-physics/vgm/vgm-4.8-r1.ebuild
index c99ae4840d2..db8bf0661fc 100644
--- a/sci-physics/vgm/vgm-4.8.ebuild
+++ b/sci-physics/vgm/vgm-4.8-r1.ebuild
@@ -20,14 +20,12 @@ HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+c++11 c++14 c++17 doc examples +geant4 +root test"
-
-REQUIRED_USE="^^ ( c++11 c++14 c++17 )"
+IUSE="doc examples +geant4 +root test"
 
 RDEPEND="
        sci-physics/clhep:=
-       geant4? ( >=sci-physics/geant-4.10.6[c++11?,c++14?,c++17?] )
-       root? ( >=sci-physics/root-6.14:=[c++11?,c++14?,c++17?] )"
+       geant4? ( sci-physics/geant[c++17] )
+       root? ( sci-physics/root:=[c++17] )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (

diff --git a/sci-physics/vgm/vgm-4.9.ebuild b/sci-physics/vgm/vgm-4.9-r1.ebuild
similarity index 88%
rename from sci-physics/vgm/vgm-4.9.ebuild
rename to sci-physics/vgm/vgm-4.9-r1.ebuild
index ede9e854018..1d116e9ae85 100644
--- a/sci-physics/vgm/vgm-4.9.ebuild
+++ b/sci-physics/vgm/vgm-4.9-r1.ebuild
@@ -20,14 +20,12 @@ HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html 
https://github.com/vmc-projec
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+c++11 c++14 c++17 doc examples +geant4 +root test"
-
-REQUIRED_USE="^^ ( c++11 c++14 c++17 )"
+IUSE="doc examples +geant4 +root test"
 
 RDEPEND="
        sci-physics/clhep:=
-       geant4? ( >=sci-physics/geant-4.10.6[c++11?,c++14?,c++17?] )
-       root? ( >=sci-physics/root-6.14:=[c++11?,c++14?,c++17?] )"
+       geant4? ( sci-physics/geant[c++17] )
+       root? ( sci-physics/root:=[c++17] )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (

diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
index eb9ce1b27be..fd992406f6e 100644
--- a/sci-physics/vgm/vgm-9999.ebuild
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -20,14 +20,12 @@ HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html 
https://github.com/vmc-projec
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+c++11 c++14 c++17 doc examples +geant4 +root test"
-
-REQUIRED_USE="^^ ( c++11 c++14 c++17 )"
+IUSE="doc examples +geant4 +root test"
 
 RDEPEND="
        sci-physics/clhep:=
-       geant4? ( >=sci-physics/geant-4.10.6[c++11?,c++14?,c++17?] )
-       root? ( >=sci-physics/root-6.14:=[c++11?,c++14?,c++17?] )"
+       geant4? ( sci-physics/geant[c++17] )
+       root? ( sci-physics/root:=[c++17] )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (

Reply via email to