sci-physics/vgm: Restrict test-suite to what upstream supports.
authorOliver Freyermuth <o.freyermuth@googlemail.com>
Wed, 22 Aug 2018 17:04:43 +0000 (19:04 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 23 Aug 2018 12:30:30 +0000 (14:30 +0200)
Also, drop unused versionator inheritance.

Package-Manager: Portage-2.3.48, Repoman-2.3.10

sci-physics/vgm/vgm-4.4.ebuild
sci-physics/vgm/vgm-9999.ebuild

index c7202c3244e6942f4db71a8226e49682d2a10727..ebf37d44fd6032ee43a65240e3c64da4afcc33f1 100644 (file)
@@ -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
index c7202c3244e6942f4db71a8226e49682d2a10727..ebf37d44fd6032ee43a65240e3c64da4afcc33f1 100644 (file)
@@ -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