1 |
commit: c92bce613d36db88be8b09acaa67cb8c72a47daf |
2 |
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 28 19:30:28 2012 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 28 19:30:28 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=c92bce61 |
7 |
|
8 |
Sync pyside & shiboken with portage. |
9 |
|
10 |
--- |
11 |
dev-python/apiextractor/apiextractor-9999.ebuild | 41 -------------------- |
12 |
dev-python/apiextractor/metadata.xml | 5 -- |
13 |
.../generatorrunner/generatorrunner-9999.ebuild | 37 ------------------ |
14 |
dev-python/generatorrunner/metadata.xml | 5 -- |
15 |
dev-python/pyside/pyside-9999.ebuild | 26 ++++-------- |
16 |
dev-python/shiboken/shiboken-9999.ebuild | 33 +++++++++------- |
17 |
6 files changed, 27 insertions(+), 120 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/apiextractor/apiextractor-9999.ebuild b/dev-python/apiextractor/apiextractor-9999.ebuild |
20 |
deleted file mode 100644 |
21 |
index 2ce84a7..0000000 |
22 |
--- a/dev-python/apiextractor/apiextractor-9999.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,41 +0,0 @@ |
25 |
-# Copyright 1999-2012 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: $ |
28 |
- |
29 |
-EAPI=4 |
30 |
- |
31 |
-inherit cmake-utils git-2 |
32 |
- |
33 |
-DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings" |
34 |
-HOMEPAGE="http://www.pyside.org/" |
35 |
-EGIT_REPO_URI="git://gitorious.org/pyside/${PN}" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="" |
40 |
-IUSE="debug test" |
41 |
- |
42 |
-QT_PV="4.7.0:4" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- >=dev-libs/libxml2-2.6.32 |
46 |
- >=dev-libs/libxslt-1.1.19 |
47 |
- >=x11-libs/qt-core-${QT_PV} |
48 |
- >=x11-libs/qt-xmlpatterns-${QT_PV} |
49 |
-" |
50 |
-DEPEND="${RDEPEND} |
51 |
- test? ( |
52 |
- >=x11-libs/qt-gui-${QT_PV} |
53 |
- >=x11-libs/qt-test-${QT_PV} |
54 |
- )" |
55 |
- |
56 |
-S=${WORKDIR}/${PN} |
57 |
- |
58 |
-DOCS=( AUTHORS ) |
59 |
- |
60 |
-src_configure() { |
61 |
- local mycmakeargs=( |
62 |
- $(cmake-utils_use_build test TESTS) |
63 |
- ) |
64 |
- cmake-utils_src_configure |
65 |
-} |
66 |
|
67 |
diff --git a/dev-python/apiextractor/metadata.xml b/dev-python/apiextractor/metadata.xml |
68 |
deleted file mode 100644 |
69 |
index dc439f7..0000000 |
70 |
--- a/dev-python/apiextractor/metadata.xml |
71 |
+++ /dev/null |
72 |
@@ -1,5 +0,0 @@ |
73 |
-<?xml version="1.0" encoding="UTF-8"?> |
74 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
-<pkgmetadata> |
76 |
-<herd>qt</herd> |
77 |
-</pkgmetadata> |
78 |
|
79 |
diff --git a/dev-python/generatorrunner/generatorrunner-9999.ebuild b/dev-python/generatorrunner/generatorrunner-9999.ebuild |
80 |
deleted file mode 100644 |
81 |
index 1ae091d..0000000 |
82 |
--- a/dev-python/generatorrunner/generatorrunner-9999.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,37 +0,0 @@ |
85 |
-# Copyright 1999-2012 Gentoo Foundation |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
-# $Header: $ |
88 |
- |
89 |
-EAPI=4 |
90 |
- |
91 |
-inherit cmake-utils git-2 |
92 |
- |
93 |
-DESCRIPTION="A tool to control bindings generation" |
94 |
-HOMEPAGE="http://www.pyside.org/" |
95 |
-EGIT_REPO_URI="git://gitorious.org/pyside/${PN}" |
96 |
- |
97 |
-LICENSE="GPL-2" |
98 |
-SLOT="0" |
99 |
-KEYWORDS="" |
100 |
-IUSE="debug test" |
101 |
- |
102 |
-QT_PV="4.7.0:4" |
103 |
- |
104 |
-RDEPEND=" |
105 |
- ~dev-python/apiextractor-${PV} |
106 |
- >=x11-libs/qt-core-${QT_PV} |
107 |
-" |
108 |
-DEPEND="${RDEPEND} |
109 |
- test? ( >=x11-libs/qt-test-${QT_PV} ) |
110 |
-" |
111 |
- |
112 |
-S=${WORKDIR}/${PN} |
113 |
- |
114 |
-DOCS=( AUTHORS ) |
115 |
- |
116 |
-src_configure() { |
117 |
- local mycmakeargs=( |
118 |
- $(cmake-utils_use_build test TESTS) |
119 |
- ) |
120 |
- cmake-utils_src_configure |
121 |
-} |
122 |
|
123 |
diff --git a/dev-python/generatorrunner/metadata.xml b/dev-python/generatorrunner/metadata.xml |
124 |
deleted file mode 100644 |
125 |
index dc439f7..0000000 |
126 |
--- a/dev-python/generatorrunner/metadata.xml |
127 |
+++ /dev/null |
128 |
@@ -1,5 +0,0 @@ |
129 |
-<?xml version="1.0" encoding="UTF-8"?> |
130 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
131 |
-<pkgmetadata> |
132 |
-<herd>qt</herd> |
133 |
-</pkgmetadata> |
134 |
|
135 |
diff --git a/dev-python/pyside/pyside-9999.ebuild b/dev-python/pyside/pyside-9999.ebuild |
136 |
index d375237..64ecd83 100644 |
137 |
--- a/dev-python/pyside/pyside-9999.ebuild |
138 |
+++ b/dev-python/pyside/pyside-9999.ebuild |
139 |
@@ -4,8 +4,6 @@ |
140 |
|
141 |
EAPI=4 |
142 |
|
143 |
-CMAKE_IN_SOURCE_BUILD="1" |
144 |
- |
145 |
PYTHON_DEPEND="2:2.6 3:3.2" |
146 |
SUPPORT_PYTHON_ABIS="1" |
147 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" |
148 |
@@ -62,9 +60,7 @@ RDEPEND=" |
149 |
webkit? ( >=x11-libs/qt-webkit-${QT_PV} ) |
150 |
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} ) |
151 |
" |
152 |
-DEPEND="${RDEPEND} |
153 |
- ~dev-python/generatorrunner-${PV} |
154 |
-" |
155 |
+DEPEND="${RDEPEND}" |
156 |
|
157 |
S=${WORKDIR}/${PN} |
158 |
|
159 |
@@ -73,8 +69,6 @@ src_prepare() { |
160 |
# library suffixed with the correct python version. |
161 |
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \ |
162 |
libpyside/pyside.pc.in || die |
163 |
- |
164 |
- python_src_prepare |
165 |
} |
166 |
|
167 |
src_configure() { |
168 |
@@ -98,31 +92,29 @@ src_configure() { |
169 |
$(cmake-utils_use_disable webkit QtWebKit) |
170 |
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns) |
171 |
) |
172 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure |
173 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure |
174 |
} |
175 |
- python_execute_function -s configuration |
176 |
+ python_execute_function configuration |
177 |
} |
178 |
|
179 |
src_compile() { |
180 |
compilation() { |
181 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make |
182 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make |
183 |
} |
184 |
- python_execute_function -s compilation |
185 |
+ python_execute_function compilation |
186 |
} |
187 |
|
188 |
src_test() { |
189 |
testing() { |
190 |
- CMAKE_USE_DIR="${BUILDDIR}" virtualmake |
191 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" virtualmake |
192 |
} |
193 |
- python_enable_pyc |
194 |
- python_execute_function -s testing |
195 |
- python_disable_pyc |
196 |
+ python_execute_function testing |
197 |
} |
198 |
|
199 |
src_install() { |
200 |
installation() { |
201 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install |
202 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install |
203 |
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die |
204 |
} |
205 |
- python_execute_function -s installation |
206 |
+ python_execute_function installation |
207 |
} |
208 |
|
209 |
diff --git a/dev-python/shiboken/shiboken-9999.ebuild b/dev-python/shiboken/shiboken-9999.ebuild |
210 |
index a97f8ae..f078161 100644 |
211 |
--- a/dev-python/shiboken/shiboken-9999.ebuild |
212 |
+++ b/dev-python/shiboken/shiboken-9999.ebuild |
213 |
@@ -4,8 +4,6 @@ |
214 |
|
215 |
EAPI=4 |
216 |
|
217 |
-CMAKE_IN_SOURCE_BUILD="1" |
218 |
- |
219 |
PYTHON_DEPEND="2:2.6 3:3.2" |
220 |
SUPPORT_PYTHON_ABIS="1" |
221 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" |
222 |
@@ -22,11 +20,18 @@ KEYWORDS="" |
223 |
IUSE="test" |
224 |
|
225 |
RDEPEND=" |
226 |
- ~dev-python/apiextractor-${PV} |
227 |
- ~dev-python/generatorrunner-${PV} |
228 |
+ >=dev-libs/libxml2-2.6.32 |
229 |
+ >=dev-libs/libxslt-1.1.19 |
230 |
>=x11-libs/qt-core-4.7.0:4 |
231 |
+ >=x11-libs/qt-xmlpatterns-4.7.0:4 |
232 |
+ !dev-python/apiextractor |
233 |
+ !dev-python/generatorrunner |
234 |
" |
235 |
-DEPEND="${RDEPEND}" |
236 |
+DEPEND="${RDEPEND} |
237 |
+ test? ( |
238 |
+ >=x11-libs/qt-gui-4.7.0:4 |
239 |
+ >=x11-libs/qt-test-4.7.0:4 |
240 |
+ )" |
241 |
|
242 |
S=${WORKDIR}/${PN} |
243 |
|
244 |
@@ -35,8 +40,6 @@ src_prepare() { |
245 |
# caused by the usage of a different version suffix with python >= 3.2 |
246 |
sed -i -e "/get_config_var('SOABI')/d" \ |
247 |
cmake/Modules/FindPython3InterpWithDebug.cmake || die |
248 |
- |
249 |
- python_src_prepare |
250 |
} |
251 |
|
252 |
src_configure() { |
253 |
@@ -55,29 +58,29 @@ src_configure() { |
254 |
) |
255 |
fi |
256 |
|
257 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure |
258 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure |
259 |
} |
260 |
- python_execute_function -s configuration |
261 |
+ python_execute_function configuration |
262 |
} |
263 |
|
264 |
src_compile() { |
265 |
compilation() { |
266 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make |
267 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make |
268 |
} |
269 |
- python_execute_function -s compilation |
270 |
+ python_execute_function compilation |
271 |
} |
272 |
|
273 |
src_test() { |
274 |
testing() { |
275 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_test |
276 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_test |
277 |
} |
278 |
- python_execute_function -s testing |
279 |
+ python_execute_function testing |
280 |
} |
281 |
|
282 |
src_install() { |
283 |
installation() { |
284 |
- CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install |
285 |
+ CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install |
286 |
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die |
287 |
} |
288 |
- python_execute_function -s installation |
289 |
+ python_execute_function installation |
290 |
} |