summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-29 23:14:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-29 23:15:26 +0100
commit228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11 (patch)
tree0ed6d8cfa25c66ee4efdcf797a55279b649c7886 /dev-util/kdevelop-php
parentsys-kernel/linux-headers: stable 4.13 for ia64, bug #640080 (diff)
downloadgentoo-228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11.tar.gz
gentoo-228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11.tar.bz2
gentoo-228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11.zip
dev-util/kdevelop-php: Restrict tests
Unfortunately, kdevelop[test] installs headers that we need here. Closes: https://bugs.gentoo.org/642662 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util/kdevelop-php')
-rw-r--r--dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild
index f6d4bf8fd219..8b45c88c5835 100644
--- a/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild
+++ b/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild
@@ -17,7 +17,7 @@ LICENSE="GPL-2 LGPL-2"
IUSE=""
[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
-DEPEND="
+COMMON_DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfig)
@@ -35,6 +35,11 @@ DEPEND="
dev-util/kdevelop-pg-qt:5
dev-util/kdevelop:5
"
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
!dev-util/kdevelop-php-docs
"
+DEPEND="${COMMON_DEPEND}
+ test? ( dev-util/kdevelop:5[test] )
+"
+
+RESTRICT+=" test"