commit:     2acec32e7fff3d46567f29fd49506541148a96ef
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Jul 15 19:42:38 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 15:45:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acec32e

sci-physics/geant-vmc: Ebuild fixes and updates.

- Bump to EAPI 7 (revbump).
- Block >=sci-physics/geant-4.10.05 for
  =geant-vmc-4.3.6.
- Correct dependency on sci-physics/root[c++11].
- Add missing dependency on sci-physics/root[vmc].

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{geant-vmc-9999.ebuild => geant-vmc-4.3.6-r1.ebuild} | 13 +++++++------
 sci-physics/geant-vmc/geant-vmc-9999.ebuild              | 16 ++++++++--------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild 
b/sci-physics/geant-vmc/geant-vmc-4.3.6-r1.ebuild
similarity index 88%
copy from sci-physics/geant-vmc/geant-vmc-9999.ebuild
copy to sci-physics/geant-vmc/geant-vmc-4.3.6-r1.ebuild
index 2156a04588f..b92483ba721 100644
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.3.6-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils eapi7-ver
+inherit cmake-utils
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -23,11 +23,11 @@ LICENSE="GPL-2"
 SLOT="4"
 IUSE="doc examples geant3 +g4root +mtroot vgm test"
 
-# sci-physics/root[root7] flag activates std=c++14, which we could only 
support if also Geant is built with it.
-# Disable for now.
+# sci-physics/root[c++11] required to match sci-physics/geant flags.
 RDEPEND="
        >=sci-physics/geant-4.10.03:=[opengl,geant3?]
-       sci-physics/root:=[-root7]
+       <sci-physics/geant-4.10.05:=
+       sci-physics/root:=[c++11,vmc]
        vgm? ( >=sci-physics/vgm-4.4:= )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen )"
@@ -35,6 +35,7 @@ RESTRICT="
        !geant3? ( test )
        !g4root? ( test )
        !mtroot? ( test )
+       !test? ( test )
        !vgm? ( test )"
 
 DOCS=(

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild 
b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
index 2156a04588f..ae53bfcd41d 100644
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils eapi7-ver
+inherit cmake-utils
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -11,8 +11,8 @@ if [[ ${PV} == *9999* ]]; then
 else
        DOWN_PV=$(ver_cut 2-)
        SRC_URI="http://root.cern.ch/download/vmc/geant4_vmc.${DOWN_PV}.tar.gz";
-       SOURCE_PV=$(ver_rs 1- - ${DOWN_PV})
-       S="${WORKDIR}/geant4_vmc-${SOURCE_PV}"
+       SOURCE_PV=$(ver_rs 1- . ${DOWN_PV})
+       S="${WORKDIR}/geant4_vmc.${SOURCE_PV}"
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -23,11 +23,10 @@ LICENSE="GPL-2"
 SLOT="4"
 IUSE="doc examples geant3 +g4root +mtroot vgm test"
 
-# sci-physics/root[root7] flag activates std=c++14, which we could only 
support if also Geant is built with it.
-# Disable for now.
+# sci-physics/root[c++11] required to match sci-physics/geant flags.
 RDEPEND="
        >=sci-physics/geant-4.10.03:=[opengl,geant3?]
-       sci-physics/root:=[-root7]
+       sci-physics/root:=[c++11,vmc]
        vgm? ( >=sci-physics/vgm-4.4:= )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen )"
@@ -35,6 +34,7 @@ RESTRICT="
        !geant3? ( test )
        !g4root? ( test )
        !mtroot? ( test )
+       !test? ( test )
        !vgm? ( test )"
 
 DOCS=(

Reply via email to