commit:     b549080ecaecd46fa1d185ffe59096876b0a4bbe
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Aug 22 17:04:43 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 23 12:30:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b549080e

sci-physics/vgm: Restrict test-suite to what upstream supports.

Also, drop unused versionator inheritance.

Package-Manager: Portage-2.3.48, Repoman-2.3.10

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

diff --git a/sci-physics/vgm/vgm-4.4.ebuild b/sci-physics/vgm/vgm-4.4.ebuild
index c7202c3244e..ebf37d44fd6 100644
--- a/sci-physics/vgm/vgm-4.4.ebuild
+++ b/sci-physics/vgm/vgm-4.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils versionator
+inherit cmake-utils
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -27,6 +27,9 @@ RDEPEND="
        geant4? ( >=sci-physics/geant-4.10.03 )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )"
+RESTRICT="
+       !geant4? ( test )
+       !root? ( test )"
 
 DOCS=(
        doc/README

diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
index c7202c3244e..ebf37d44fd6 100644
--- a/sci-physics/vgm/vgm-9999.ebuild
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils versionator
+inherit cmake-utils
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -27,6 +27,9 @@ RDEPEND="
        geant4? ( >=sci-physics/geant-4.10.03 )"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )"
+RESTRICT="
+       !geant4? ( test )
+       !root? ( test )"
 
 DOCS=(
        doc/README

Reply via email to