1 |
commit: 228ff0df7ba6a2bda7c69e7575be9eb2d34b8b11 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 22:14:34 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 22:15:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228ff0df |
7 |
|
8 |
dev-util/kdevelop-php: Restrict tests |
9 |
|
10 |
Unfortunately, kdevelop[test] installs headers that we need here. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/642662 |
13 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
14 |
|
15 |
dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild | 9 +++++++-- |
16 |
1 file changed, 7 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild |
19 |
index f6d4bf8fd21..8b45c88c583 100644 |
20 |
--- a/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild |
21 |
+++ b/dev-util/kdevelop-php/kdevelop-php-5.2.1.ebuild |
22 |
@@ -17,7 +17,7 @@ LICENSE="GPL-2 LGPL-2" |
23 |
IUSE="" |
24 |
[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86" |
25 |
|
26 |
-DEPEND=" |
27 |
+COMMON_DEPEND=" |
28 |
$(add_frameworks_dep karchive) |
29 |
$(add_frameworks_dep kcmutils) |
30 |
$(add_frameworks_dep kconfig) |
31 |
@@ -35,6 +35,11 @@ DEPEND=" |
32 |
dev-util/kdevelop-pg-qt:5 |
33 |
dev-util/kdevelop:5 |
34 |
" |
35 |
-RDEPEND="${DEPEND} |
36 |
+RDEPEND="${COMMON_DEPEND} |
37 |
!dev-util/kdevelop-php-docs |
38 |
" |
39 |
+DEPEND="${COMMON_DEPEND} |
40 |
+ test? ( dev-util/kdevelop:5[test] ) |
41 |
+" |
42 |
+ |
43 |
+RESTRICT+=" test" |