media-libs/gexiv2: restrict !test
authorBernardo Meurer <meurerbernardo@gmail.com>
Fri, 27 Sep 2019 20:37:36 +0000 (13:37 -0700)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Sep 2019 08:13:04 +0000 (10:13 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo@standard.ai>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-libs/gexiv2/gexiv2-0.10.10-r1.ebuild
media-libs/gexiv2/gexiv2-0.12.0.ebuild
media-libs/gexiv2/gexiv2-9999.ebuild

index c9cf2f6ea763bb787d4b5e0b69566542aff3c385..950c3961be4ce3649c9f3922fecdf2c55bd15066 100644 (file)
@@ -21,12 +21,12 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="gtk-doc +introspection python static-libs test +vala"
-
 REQUIRED_USE="
        python? ( introspection ${PYTHON_REQUIRED_USE} )
        test? ( python introspection )
        vala? ( introspection )
 "
+RESTRICT="!test? ( test )"
 
 RDEPEND="${PYTHON_DEPS}
        >=dev-libs/glib-2.38.0:2
index 13a90876ae8e7f29ca12cc7f4f190bee85b21617..e49aff132e66d4a9c876cacb369cb0967adfd8cf 100644 (file)
@@ -21,12 +21,12 @@ fi
 LICENSE="LGPL-2.1+ GPL-2"
 SLOT="0"
 IUSE="gtk-doc +introspection python static-libs test +vala"
-
 REQUIRED_USE="
        python? ( introspection ${PYTHON_REQUIRED_USE} )
        test? ( python introspection )
        vala? ( introspection )
 "
+RESTRICT="!test? ( test )"
 
 BDEPEND="
        dev-util/glib-utils
index 8748d1cf4fe8d05b15b1f89a2d53da72d326a41e..e49aff132e66d4a9c876cacb369cb0967adfd8cf 100644 (file)
@@ -21,19 +21,13 @@ fi
 LICENSE="LGPL-2.1+ GPL-2"
 SLOT="0"
 IUSE="gtk-doc +introspection python static-libs test +vala"
-
 REQUIRED_USE="
        python? ( introspection ${PYTHON_REQUIRED_USE} )
        test? ( python introspection )
        vala? ( introspection )
 "
+RESTRICT="!test? ( test )"
 
-RDEPEND="${PYTHON_DEPS}
-       >=dev-libs/glib-2.38.0:2
-       >=media-gfx/exiv2-0.21:=
-       introspection? ( >=dev-libs/gobject-introspection-1.54:= )
-"
-DEPEND="${RDEPEND}"
 BDEPEND="
        dev-util/glib-utils
        virtual/pkgconfig
@@ -44,6 +38,12 @@ BDEPEND="
        )
        vala? ( $(vala_depend) )
 "
+RDEPEND="${PYTHON_DEPS}
+       >=dev-libs/glib-2.38.0:2
+       >=media-gfx/exiv2-0.21:=
+       introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+DEPEND="${RDEPEND}"
 
 src_prepare() {
        default