1 |
commit: 5f3839bf69b8280610a712f4a7272bf78b01d160 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Nov 22 00:13:15 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 22 01:03:09 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5f3839bf |
7 |
|
8 |
kde-apps/analitza: Tests optional |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
kde-apps/analitza/analitza-15.08.3.ebuild | 14 ++++++++++++-- |
13 |
kde-apps/analitza/analitza-15.12.49.9999.ebuild | 14 ++++++++++++-- |
14 |
kde-apps/analitza/analitza-9999.ebuild | 14 ++++++++++++-- |
15 |
3 files changed, 36 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/kde-apps/analitza/analitza-15.08.3.ebuild b/kde-apps/analitza/analitza-15.08.3.ebuild |
18 |
index a7d1dc9..5ee7c64 100644 |
19 |
--- a/kde-apps/analitza/analitza-15.08.3.ebuild |
20 |
+++ b/kde-apps/analitza/analitza-15.08.3.ebuild |
21 |
@@ -4,7 +4,8 @@ |
22 |
|
23 |
EAPI=5 |
24 |
|
25 |
-KDE_PUNT_BOGUS_DEPS="true" |
26 |
+KDE_TEST="forceoptional" |
27 |
+VIRTUALX_REQUIRED="test" |
28 |
inherit kde5 |
29 |
|
30 |
DESCRIPTION="KDE library for mathematical features" |
31 |
@@ -26,7 +27,16 @@ DEPEND=" |
32 |
RDEPEND="${DEPEND}" |
33 |
|
34 |
src_prepare() { |
35 |
- sed -e "/add_subdirectory(examples)/d" -i analitzaplot/CMakeLists.txt || die |
36 |
+ # Nothing is installed |
37 |
+ sed -i \ |
38 |
+ -e "/add_subdirectory(examples)/ s/^/#DONT/" \ |
39 |
+ analitzaplot/CMakeLists.txt || die |
40 |
+ |
41 |
+ if ! use test ; then |
42 |
+ sed -i \ |
43 |
+ -e "/add_subdirectory(tests)/ s/^/#DONT/" \ |
44 |
+ analitza{,gui,plot}/CMakeLists.txt || die |
45 |
+ fi |
46 |
|
47 |
kde5_src_prepare |
48 |
} |
49 |
|
50 |
diff --git a/kde-apps/analitza/analitza-15.12.49.9999.ebuild b/kde-apps/analitza/analitza-15.12.49.9999.ebuild |
51 |
index 1b1dfad..9545a82 100644 |
52 |
--- a/kde-apps/analitza/analitza-15.12.49.9999.ebuild |
53 |
+++ b/kde-apps/analitza/analitza-15.12.49.9999.ebuild |
54 |
@@ -4,7 +4,8 @@ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
-KDE_PUNT_BOGUS_DEPS="true" |
59 |
+KDE_TEST="forceoptional" |
60 |
+VIRTUALX_REQUIRED="test" |
61 |
inherit kde5 |
62 |
|
63 |
DESCRIPTION="KDE library for mathematical features" |
64 |
@@ -26,7 +27,16 @@ DEPEND=" |
65 |
RDEPEND="${DEPEND}" |
66 |
|
67 |
src_prepare() { |
68 |
- sed -e "/add_subdirectory(examples)/d" -i analitzaplot/CMakeLists.txt || die |
69 |
+ # Nothing is installed |
70 |
+ sed -i \ |
71 |
+ -e "/add_subdirectory(examples)/ s/^/#DONT/" \ |
72 |
+ analitzaplot/CMakeLists.txt || die |
73 |
+ |
74 |
+ if ! use test ; then |
75 |
+ sed -i \ |
76 |
+ -e "/add_subdirectory(tests)/ s/^/#DONT/" \ |
77 |
+ analitza{,gui,plot}/CMakeLists.txt || die |
78 |
+ fi |
79 |
|
80 |
kde5_src_prepare |
81 |
} |
82 |
|
83 |
diff --git a/kde-apps/analitza/analitza-9999.ebuild b/kde-apps/analitza/analitza-9999.ebuild |
84 |
index 1b1dfad..9545a82 100644 |
85 |
--- a/kde-apps/analitza/analitza-9999.ebuild |
86 |
+++ b/kde-apps/analitza/analitza-9999.ebuild |
87 |
@@ -4,7 +4,8 @@ |
88 |
|
89 |
EAPI=5 |
90 |
|
91 |
-KDE_PUNT_BOGUS_DEPS="true" |
92 |
+KDE_TEST="forceoptional" |
93 |
+VIRTUALX_REQUIRED="test" |
94 |
inherit kde5 |
95 |
|
96 |
DESCRIPTION="KDE library for mathematical features" |
97 |
@@ -26,7 +27,16 @@ DEPEND=" |
98 |
RDEPEND="${DEPEND}" |
99 |
|
100 |
src_prepare() { |
101 |
- sed -e "/add_subdirectory(examples)/d" -i analitzaplot/CMakeLists.txt || die |
102 |
+ # Nothing is installed |
103 |
+ sed -i \ |
104 |
+ -e "/add_subdirectory(examples)/ s/^/#DONT/" \ |
105 |
+ analitzaplot/CMakeLists.txt || die |
106 |
+ |
107 |
+ if ! use test ; then |
108 |
+ sed -i \ |
109 |
+ -e "/add_subdirectory(tests)/ s/^/#DONT/" \ |
110 |
+ analitza{,gui,plot}/CMakeLists.txt || die |
111 |
+ fi |
112 |
|
113 |
kde5_src_prepare |
114 |
} |