dev-util/pkgconf: enable testing
authorMike Gilbert <floppym@gentoo.org>
Sun, 7 May 2017 18:26:18 +0000 (14:26 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 7 May 2017 18:39:40 +0000 (14:39 -0400)
Package-Manager: Portage-2.3.5_p31, Repoman-2.3.2_p61

dev-util/pkgconf/pkgconf-1.3.5.ebuild
dev-util/pkgconf/pkgconf-9999.ebuild

index 8161648cd17a2278a50a13439c54ca8d1fc58687..e616d6b2b7ca03a1dde82147151d879a0580c355 100644 (file)
@@ -18,18 +18,24 @@ HOMEPAGE="https://github.com/pkgconf/pkgconf"
 
 LICENSE="BSD-1"
 SLOT="0"
-IUSE="+pkg-config"
+IUSE="+pkg-config test"
 
 # tests require 'kyua'
-RESTRICT="test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
-RDEPEND="${DEPEND}
+DEPEND="
+       test? (
+               dev-libs/atf
+               dev-util/kyua
+       )
+"
+RDEPEND="
        pkg-config? (
                !dev-util/pkgconfig
                !dev-util/pkg-config-lite
                !dev-util/pkgconfig-openbsd[pkg-config]
-       )"
+       )
+"
 
 MULTILIB_CHOST_TOOLS=(
        /usr/bin/pkgconf
index 8161648cd17a2278a50a13439c54ca8d1fc58687..e616d6b2b7ca03a1dde82147151d879a0580c355 100644 (file)
@@ -18,18 +18,24 @@ HOMEPAGE="https://github.com/pkgconf/pkgconf"
 
 LICENSE="BSD-1"
 SLOT="0"
-IUSE="+pkg-config"
+IUSE="+pkg-config test"
 
 # tests require 'kyua'
-RESTRICT="test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
-RDEPEND="${DEPEND}
+DEPEND="
+       test? (
+               dev-libs/atf
+               dev-util/kyua
+       )
+"
+RDEPEND="
        pkg-config? (
                !dev-util/pkgconfig
                !dev-util/pkg-config-lite
                !dev-util/pkgconfig-openbsd[pkg-config]
-       )"
+       )
+"
 
 MULTILIB_CHOST_TOOLS=(
        /usr/bin/pkgconf