commit:     c737484eafc3f6905c1b70f8757c5606fa28a6cb
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Aug 23 15:38:03 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 06:01:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c737484e

sci-physics/vgm: Add missing dependency for test.

Package-Manager: Portage-2.3.48, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9677

 sci-physics/vgm/vgm-4.4.ebuild  | 6 ++++--
 sci-physics/vgm/vgm-9999.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-physics/vgm/vgm-4.4.ebuild b/sci-physics/vgm/vgm-4.4.ebuild
index 71ee86decf4..831f0cc0c4a 100644
--- a/sci-physics/vgm/vgm-4.4.ebuild
+++ b/sci-physics/vgm/vgm-4.4.ebuild
@@ -27,10 +27,12 @@ RDEPEND="
        root? ( sci-physics/root:=[-root7] )
        geant4? ( >=sci-physics/geant-4.10.03 )"
 DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen[dot] )"
+       doc? ( app-doc/doxygen[dot] )
+       test? ( sci-physics/geant-vmc[g4root] )"
 RESTRICT="
        !geant4? ( test )
-       !root? ( test )"
+       !root? ( test )
+       !test? ( test )"
 
 DOCS=(
        doc/README

diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
index ebf37d44fd6..b303e23a06c 100644
--- a/sci-physics/vgm/vgm-9999.ebuild
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -26,10 +26,12 @@ RDEPEND="
        root? ( sci-physics/root:= )
        geant4? ( >=sci-physics/geant-4.10.03 )"
 DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen[dot] )"
+       doc? ( app-doc/doxygen[dot] )
+       test? ( sci-physics/geant-vmc[g4root] )"
 RESTRICT="
        !geant4? ( test )
-       !root? ( test )"
+       !root? ( test )
+       !test? ( test )"
 
 DOCS=(
        doc/README

Reply via email to