summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-05-07 14:26:18 -0400
committerMike Gilbert <floppym@gentoo.org>2017-05-07 14:39:40 -0400
commit080246df65f36207c60eff54397bf432a860e73d (patch)
treef83bae25ec2d25ec7fd64d9e358f1feb8b790888 /dev-util/pkgconf
parentprofiles: mask dev-util/pkgconf[test] for keywording (diff)
downloadgentoo-080246df65f36207c60eff54397bf432a860e73d.tar.gz
gentoo-080246df65f36207c60eff54397bf432a860e73d.tar.bz2
gentoo-080246df65f36207c60eff54397bf432a860e73d.zip
dev-util/pkgconf: enable testing
Package-Manager: Portage-2.3.5_p31, Repoman-2.3.2_p61
Diffstat (limited to 'dev-util/pkgconf')
-rw-r--r--dev-util/pkgconf/pkgconf-1.3.5.ebuild16
-rw-r--r--dev-util/pkgconf/pkgconf-9999.ebuild16
2 files changed, 22 insertions, 10 deletions
diff --git a/dev-util/pkgconf/pkgconf-1.3.5.ebuild b/dev-util/pkgconf/pkgconf-1.3.5.ebuild
index 8161648cd17a..e616d6b2b7ca 100644
--- a/dev-util/pkgconf/pkgconf-1.3.5.ebuild
+++ b/dev-util/pkgconf/pkgconf-1.3.5.ebuild
@@ -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
diff --git a/dev-util/pkgconf/pkgconf-9999.ebuild b/dev-util/pkgconf/pkgconf-9999.ebuild
index 8161648cd17a..e616d6b2b7ca 100644
--- a/dev-util/pkgconf/pkgconf-9999.ebuild
+++ b/dev-util/pkgconf/pkgconf-9999.ebuild
@@ -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