1 |
commit: ccae0ed033f48ed8f9aa29ed1736854c9e06cff9 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 23 00:45:04 2019 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 00:45:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccae0ed0 |
7 |
|
8 |
dev-python/PyQt5: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/PyQt5/Manifest | 2 - |
14 |
dev-python/PyQt5/PyQt5-5.10.1-r1.ebuild | 202 --------------------- |
15 |
dev-python/PyQt5/PyQt5-5.13.1.ebuild | 200 -------------------- |
16 |
.../PyQt5/files/PyQt5-5.10.1-fix-testlib.patch | 17 -- |
17 |
dev-python/PyQt5/files/PyQt5-5.10.1-timeline.patch | 13 -- |
18 |
dev-python/PyQt5/metadata.xml | 1 - |
19 |
6 files changed, 435 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest |
22 |
index 37fb1ef7f45..df625ed928f 100644 |
23 |
--- a/dev-python/PyQt5/Manifest |
24 |
+++ b/dev-python/PyQt5/Manifest |
25 |
@@ -1,4 +1,2 @@ |
26 |
DIST PyQt5-5.13.2.tar.gz 3162810 BLAKE2B 383aaa3f1f51ed618a3b6475432a96f6a8f89ad4d97197fe87469e0a69e1db79c762965adfacdf92cc43d1bb2eb5e2790f6bdb7e8b288f0feade828bf8e30090 SHA512 9a16450d8fe2a7e94e182ebb03cc785c6de516e356251753abfb79af3958230043f2db59750cde0a6f1fd6cf5568eb8b7ae76d5a3fbcfe9f7807e02867973b55 |
27 |
-DIST PyQt5_gpl-5.10.1.tar.gz 3110469 BLAKE2B 75e24bd8c0739d47eff6212435aa783eaa302633beb0494f099edc3f8f99600cd03dc3cba5152ed7ae703cfe445ecae06ec5d2281dd7c0640c71db041659bd6f SHA512 04cd0292f7a088f9c0d088d7c73ec96cfc40253f771dfdf194eb92be7635e6fcaf04863fa24215e9c34a096658549bb2feeb8d8fdca1e39ed87f0256ef0f790b |
28 |
DIST PyQt5_gpl-5.12.2.tar.gz 3147205 BLAKE2B ad0b09548521ceff869bb44cfceb0c2cf31338f46c76da23582f7949fdcc0e8feee3cc0dc0610e8152dfbc701c3ac765eea7898f5061775a92e2601c5b7ea8ca SHA512 dc23bb7dacb305d4f9a630f2b5c3809d5d6734ba234c9941a3c44c770af8534dd737160dbe007a1f15d5c90e2e52419dd749b3ef942b4e71917c1cea2220a666 |
29 |
-DIST PyQt5_gpl-5.13.1.tar.gz 3162737 BLAKE2B 1242069b757ef7d9532375758ab29954f216f6d8b1fa18e433ab41cf56df13b7408547dd5c58eb0417a011d834ef9301aa090a4e88a9b10d48f15267eccbf6a3 SHA512 7b7001b16a8c730d7ff2d340fa1dd118868b53519e8f75e8c2ce00b44e3637ac6a31b41a7456fc610df11ff3928b924cb54c0c3712f22ed4df5058fd8bc77281 |
30 |
|
31 |
diff --git a/dev-python/PyQt5/PyQt5-5.10.1-r1.ebuild b/dev-python/PyQt5/PyQt5-5.10.1-r1.ebuild |
32 |
deleted file mode 100644 |
33 |
index f636c196bc0..00000000000 |
34 |
--- a/dev-python/PyQt5/PyQt5-5.10.1-r1.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,202 +0,0 @@ |
37 |
-# Copyright 1999-2019 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
- |
42 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
43 |
-inherit multibuild python-r1 qmake-utils |
44 |
- |
45 |
-DESCRIPTION="Python bindings for the Qt framework" |
46 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro" |
47 |
- |
48 |
-MY_PN=PyQt5 |
49 |
-MY_P=${MY_PN}_gpl-${PV/_pre/.dev} |
50 |
-if [[ ${PV} == *_pre* ]]; then |
51 |
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
52 |
-else |
53 |
- SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" |
54 |
-fi |
55 |
- |
56 |
-LICENSE="GPL-3" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" |
59 |
- |
60 |
-# TODO: QtNetworkAuth, QtNfc |
61 |
-IUSE="bluetooth dbus debug declarative designer examples gles2 gui help location |
62 |
- multimedia network opengl positioning printsupport sensors serialport sql svg |
63 |
- testlib webchannel webengine webkit websockets widgets x11extras xmlpatterns" |
64 |
- |
65 |
-# The requirements below were extracted from configure.py |
66 |
-# and from the output of 'grep -r "%Import " "${S}"/sip' |
67 |
-REQUIRED_USE=" |
68 |
- ${PYTHON_REQUIRED_USE} |
69 |
- bluetooth? ( gui ) |
70 |
- declarative? ( gui network ) |
71 |
- designer? ( widgets ) |
72 |
- help? ( gui widgets ) |
73 |
- location? ( positioning ) |
74 |
- multimedia? ( gui network ) |
75 |
- opengl? ( gui widgets ) |
76 |
- positioning? ( gui ) |
77 |
- printsupport? ( gui widgets ) |
78 |
- sensors? ( gui ) |
79 |
- serialport? ( gui ) |
80 |
- sql? ( widgets ) |
81 |
- svg? ( gui widgets ) |
82 |
- testlib? ( widgets ) |
83 |
- webchannel? ( network ) |
84 |
- webengine? ( network widgets? ( printsupport webchannel ) ) |
85 |
- webkit? ( gui network printsupport widgets ) |
86 |
- websockets? ( network ) |
87 |
- widgets? ( gui ) |
88 |
- xmlpatterns? ( network ) |
89 |
-" |
90 |
- |
91 |
-# Minimal supported version of Qt. |
92 |
-QT_PV="5.9.4:5" |
93 |
- |
94 |
-RDEPEND=" |
95 |
- ${PYTHON_DEPS} |
96 |
- >=dev-python/sip-4.19.6:=[${PYTHON_USEDEP}] |
97 |
- !dev-python/PyQt5-sip |
98 |
- >=dev-qt/qtcore-${QT_PV} |
99 |
- >=dev-qt/qtxml-${QT_PV} |
100 |
- bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} ) |
101 |
- dbus? ( |
102 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
103 |
- >=dev-qt/qtdbus-${QT_PV} |
104 |
- ) |
105 |
- declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) |
106 |
- designer? ( >=dev-qt/designer-${QT_PV} ) |
107 |
- gui? ( >=dev-qt/qtgui-${QT_PV}[gles2=] ) |
108 |
- help? ( >=dev-qt/qthelp-${QT_PV} ) |
109 |
- location? ( >=dev-qt/qtlocation-${QT_PV} ) |
110 |
- multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] ) |
111 |
- network? ( >=dev-qt/qtnetwork-${QT_PV} ) |
112 |
- opengl? ( >=dev-qt/qtopengl-${QT_PV} ) |
113 |
- positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) |
114 |
- printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) |
115 |
- sensors? ( >=dev-qt/qtsensors-${QT_PV} ) |
116 |
- serialport? ( >=dev-qt/qtserialport-${QT_PV} ) |
117 |
- sql? ( >=dev-qt/qtsql-${QT_PV} ) |
118 |
- svg? ( >=dev-qt/qtsvg-${QT_PV} ) |
119 |
- testlib? ( >=dev-qt/qttest-${QT_PV} ) |
120 |
- webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) |
121 |
- webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets?] ) |
122 |
- webkit? ( >=dev-qt/qtwebkit-5.9:5[printsupport] ) |
123 |
- websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) |
124 |
- widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) |
125 |
- x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) |
126 |
- xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) |
127 |
-" |
128 |
-DEPEND="${RDEPEND} |
129 |
- dbus? ( virtual/pkgconfig ) |
130 |
-" |
131 |
- |
132 |
-S=${WORKDIR}/${MY_P} |
133 |
- |
134 |
-DOCS=( "${S}"/{ChangeLog,NEWS} ) |
135 |
- |
136 |
-PATCHES=( |
137 |
- "${FILESDIR}/${P}-timeline.patch" |
138 |
- "${FILESDIR}/${P}-fix-testlib.patch" |
139 |
-) |
140 |
- |
141 |
-pyqt_use_enable() { |
142 |
- use "$1" || return |
143 |
- |
144 |
- if [[ $# -eq 1 ]]; then |
145 |
- echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1} |
146 |
- else |
147 |
- shift |
148 |
- echo ${@/#/--enable=} |
149 |
- fi |
150 |
-} |
151 |
- |
152 |
-src_configure() { |
153 |
- configuration() { |
154 |
- local myconf=( |
155 |
- "${PYTHON}" |
156 |
- "${S}"/configure.py |
157 |
- $(usex debug '--debug --qml-debug --trace' '') |
158 |
- --verbose |
159 |
- --confirm-license |
160 |
- --qmake="$(qt5_get_bindir)"/qmake |
161 |
- --bindir="${EPREFIX}/usr/bin" |
162 |
- --destdir="$(python_get_sitedir)" |
163 |
- --sip-incdir="$(python_get_includedir)" |
164 |
- --qsci-api |
165 |
- --enable=QtCore |
166 |
- --enable=QtXml |
167 |
- $(pyqt_use_enable bluetooth) |
168 |
- $(pyqt_use_enable dbus QtDBus) |
169 |
- $(usex dbus '' --no-python-dbus) |
170 |
- $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets '')) |
171 |
- $(usex declarative '' --no-qml-plugin) |
172 |
- $(pyqt_use_enable designer) |
173 |
- $(usex designer '' --no-designer-plugin) |
174 |
- $(pyqt_use_enable gui) |
175 |
- $(pyqt_use_enable gui $(use gles2 && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core})) |
176 |
- $(pyqt_use_enable help) |
177 |
- $(pyqt_use_enable location) |
178 |
- $(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets '')) |
179 |
- $(pyqt_use_enable network) |
180 |
- $(pyqt_use_enable opengl QtOpenGL) |
181 |
- $(pyqt_use_enable positioning) |
182 |
- $(pyqt_use_enable printsupport QtPrintSupport) |
183 |
- $(pyqt_use_enable sensors) |
184 |
- $(pyqt_use_enable serialport QtSerialPort) |
185 |
- $(pyqt_use_enable sql) |
186 |
- $(pyqt_use_enable svg) |
187 |
- $(pyqt_use_enable testlib QtTest) |
188 |
- $(pyqt_use_enable webchannel QtWebChannel) |
189 |
- $(pyqt_use_enable webengine QtWebEngine QtWebEngineCore $(usex widgets QtWebEngineWidgets '')) |
190 |
- $(pyqt_use_enable webkit QtWebKit QtWebKitWidgets) |
191 |
- $(pyqt_use_enable websockets QtWebSockets) |
192 |
- $(pyqt_use_enable widgets) |
193 |
- $(pyqt_use_enable x11extras QtX11Extras) |
194 |
- $(pyqt_use_enable xmlpatterns QtXmlPatterns) |
195 |
- ) |
196 |
- echo "${myconf[@]}" |
197 |
- "${myconf[@]}" || die |
198 |
- |
199 |
- eqmake5 -recursive ${MY_PN}.pro |
200 |
- } |
201 |
- python_foreach_impl run_in_build_dir configuration |
202 |
-} |
203 |
- |
204 |
-src_compile() { |
205 |
- python_foreach_impl run_in_build_dir default |
206 |
-} |
207 |
- |
208 |
-src_install() { |
209 |
- installation() { |
210 |
- local tmp_root=${D%/}/${PN}_tmp_root |
211 |
- emake INSTALL_ROOT="${tmp_root}" install |
212 |
- |
213 |
- local bin_dir=${tmp_root}${EPREFIX}/usr/bin |
214 |
- local exe |
215 |
- for exe in pylupdate5 pyrcc5 pyuic5; do |
216 |
- python_doexe "${bin_dir}/${exe}" |
217 |
- rm "${bin_dir}/${exe}" || die |
218 |
- done |
219 |
- |
220 |
- local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic |
221 |
- if python_is_python3; then |
222 |
- rm -r "${uic_dir}"/port_v2 || die |
223 |
- else |
224 |
- rm -r "${uic_dir}"/port_v3 || die |
225 |
- fi |
226 |
- |
227 |
- multibuild_merge_root "${tmp_root}" "${D}" |
228 |
- python_optimize |
229 |
- } |
230 |
- python_foreach_impl run_in_build_dir installation |
231 |
- |
232 |
- einstalldocs |
233 |
- |
234 |
- if use examples; then |
235 |
- insinto /usr/share/doc/${PF} |
236 |
- doins -r examples |
237 |
- fi |
238 |
-} |
239 |
|
240 |
diff --git a/dev-python/PyQt5/PyQt5-5.13.1.ebuild b/dev-python/PyQt5/PyQt5-5.13.1.ebuild |
241 |
deleted file mode 100644 |
242 |
index fdf60501f5b..00000000000 |
243 |
--- a/dev-python/PyQt5/PyQt5-5.13.1.ebuild |
244 |
+++ /dev/null |
245 |
@@ -1,200 +0,0 @@ |
246 |
-# Copyright 1999-2019 Gentoo Authors |
247 |
-# Distributed under the terms of the GNU General Public License v2 |
248 |
- |
249 |
-EAPI=7 |
250 |
- |
251 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
252 |
-inherit multibuild python-r1 qmake-utils |
253 |
- |
254 |
-DESCRIPTION="Python bindings for the Qt framework" |
255 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro" |
256 |
- |
257 |
-MY_PN=PyQt5 |
258 |
-MY_P=${MY_PN}_gpl-${PV/_pre/.dev} |
259 |
-if [[ ${PV} == *_pre* ]]; then |
260 |
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
261 |
-else |
262 |
- SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" |
263 |
-fi |
264 |
- |
265 |
-LICENSE="GPL-3" |
266 |
-SLOT="0" |
267 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
268 |
- |
269 |
-# TODO: QtNfc, QtRemoteObjects (Qt >= 5.12) |
270 |
-IUSE="bluetooth dbus debug declarative designer examples gles2 gui help location multimedia |
271 |
- network networkauth opengl positioning printsupport sensors serialport sql +ssl svg |
272 |
- testlib webchannel webkit websockets widgets x11extras xmlpatterns" |
273 |
- |
274 |
-# The requirements below were extracted from configure.py |
275 |
-# and from the output of 'grep -r "%Import " "${S}"/sip' |
276 |
-REQUIRED_USE=" |
277 |
- ${PYTHON_REQUIRED_USE} |
278 |
- bluetooth? ( gui ) |
279 |
- declarative? ( gui network ) |
280 |
- designer? ( widgets ) |
281 |
- help? ( gui widgets ) |
282 |
- location? ( positioning ) |
283 |
- multimedia? ( gui network ) |
284 |
- networkauth? ( network ) |
285 |
- opengl? ( gui widgets ) |
286 |
- positioning? ( gui ) |
287 |
- printsupport? ( gui widgets ) |
288 |
- sensors? ( gui ) |
289 |
- serialport? ( gui ) |
290 |
- sql? ( widgets ) |
291 |
- svg? ( gui widgets ) |
292 |
- testlib? ( widgets ) |
293 |
- webchannel? ( network ) |
294 |
- webkit? ( gui network printsupport widgets ) |
295 |
- websockets? ( network ) |
296 |
- widgets? ( gui ) |
297 |
- xmlpatterns? ( network ) |
298 |
-" |
299 |
- |
300 |
-# Minimal supported version of Qt. |
301 |
-QT_PV="5.10:5" |
302 |
- |
303 |
-RDEPEND=" |
304 |
- ${PYTHON_DEPS} |
305 |
- >=dev-python/PyQt5-sip-4.19.19:=[${PYTHON_USEDEP}] |
306 |
- >=dev-qt/qtcore-${QT_PV} |
307 |
- >=dev-qt/qtxml-${QT_PV} |
308 |
- virtual/python-enum34[${PYTHON_USEDEP}] |
309 |
- bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} ) |
310 |
- dbus? ( |
311 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
312 |
- >=dev-qt/qtdbus-${QT_PV} |
313 |
- ) |
314 |
- declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) |
315 |
- designer? ( >=dev-qt/designer-${QT_PV} ) |
316 |
- gui? ( >=dev-qt/qtgui-${QT_PV}[gles2=] ) |
317 |
- help? ( >=dev-qt/qthelp-${QT_PV} ) |
318 |
- location? ( >=dev-qt/qtlocation-${QT_PV} ) |
319 |
- multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] ) |
320 |
- network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] ) |
321 |
- networkauth? ( >=dev-qt/qtnetworkauth-${QT_PV} ) |
322 |
- opengl? ( >=dev-qt/qtopengl-${QT_PV} ) |
323 |
- positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) |
324 |
- printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) |
325 |
- sensors? ( >=dev-qt/qtsensors-${QT_PV} ) |
326 |
- serialport? ( >=dev-qt/qtserialport-${QT_PV} ) |
327 |
- sql? ( >=dev-qt/qtsql-${QT_PV} ) |
328 |
- svg? ( >=dev-qt/qtsvg-${QT_PV} ) |
329 |
- testlib? ( >=dev-qt/qttest-${QT_PV} ) |
330 |
- webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) |
331 |
- webkit? ( dev-qt/qtwebkit:5[printsupport] ) |
332 |
- websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) |
333 |
- widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) |
334 |
- x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) |
335 |
- xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) |
336 |
-" |
337 |
-DEPEND="${RDEPEND} |
338 |
- >=dev-python/sip-4.19.19[${PYTHON_USEDEP}] |
339 |
- dbus? ( virtual/pkgconfig ) |
340 |
-" |
341 |
- |
342 |
-S=${WORKDIR}/${MY_P} |
343 |
- |
344 |
-pyqt_use_enable() { |
345 |
- use "$1" || return |
346 |
- |
347 |
- if [[ $# -eq 1 ]]; then |
348 |
- echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1} |
349 |
- else |
350 |
- shift |
351 |
- echo ${@/#/--enable=} |
352 |
- fi |
353 |
-} |
354 |
- |
355 |
-src_configure() { |
356 |
- configuration() { |
357 |
- local myconf=( |
358 |
- "${PYTHON}" |
359 |
- "${S}"/configure.py |
360 |
- $(usex debug '--debug --qml-debug --trace' '') |
361 |
- --verbose |
362 |
- --confirm-license |
363 |
- --qmake="$(qt5_get_bindir)"/qmake |
364 |
- --bindir="${EPREFIX}/usr/bin" |
365 |
- --qsci-api |
366 |
- --enable=QtCore |
367 |
- --enable=QtXml |
368 |
- $(pyqt_use_enable bluetooth) |
369 |
- $(pyqt_use_enable dbus QtDBus) |
370 |
- $(usex dbus '' --no-python-dbus) |
371 |
- $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets '')) |
372 |
- $(usex declarative '' --no-qml-plugin) |
373 |
- $(pyqt_use_enable designer) |
374 |
- $(usex designer '' --no-designer-plugin) |
375 |
- $(usex gles2 '--disable-feature=PyQt_Desktop_OpenGL' '') |
376 |
- $(pyqt_use_enable gui) |
377 |
- $(pyqt_use_enable gui $(use gles2 && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core})) |
378 |
- $(pyqt_use_enable help) |
379 |
- $(pyqt_use_enable location) |
380 |
- $(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets '')) |
381 |
- $(pyqt_use_enable network) |
382 |
- $(pyqt_use_enable networkauth QtNetworkAuth) |
383 |
- $(pyqt_use_enable opengl QtOpenGL) |
384 |
- $(pyqt_use_enable positioning) |
385 |
- $(pyqt_use_enable printsupport QtPrintSupport) |
386 |
- $(pyqt_use_enable sensors) |
387 |
- $(pyqt_use_enable serialport QtSerialPort) |
388 |
- $(pyqt_use_enable sql) |
389 |
- $(usex ssl '' '--disable-feature=PyQt_SSL') |
390 |
- $(pyqt_use_enable svg) |
391 |
- $(pyqt_use_enable testlib QtTest) |
392 |
- $(pyqt_use_enable webchannel QtWebChannel) |
393 |
- $(pyqt_use_enable webkit QtWebKit QtWebKitWidgets) |
394 |
- $(pyqt_use_enable websockets QtWebSockets) |
395 |
- $(pyqt_use_enable widgets) |
396 |
- $(pyqt_use_enable x11extras QtX11Extras) |
397 |
- $(pyqt_use_enable xmlpatterns QtXmlPatterns) |
398 |
- ) |
399 |
- echo "${myconf[@]}" |
400 |
- "${myconf[@]}" || die |
401 |
- |
402 |
- # Fix parallel install failure |
403 |
- sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets' ${MY_PN}.pro || die |
404 |
- |
405 |
- # Run eqmake to respect toolchain and build flags |
406 |
- eqmake5 -recursive ${MY_PN}.pro |
407 |
- } |
408 |
- python_foreach_impl run_in_build_dir configuration |
409 |
-} |
410 |
- |
411 |
-src_compile() { |
412 |
- python_foreach_impl run_in_build_dir default |
413 |
-} |
414 |
- |
415 |
-src_install() { |
416 |
- installation() { |
417 |
- local tmp_root=${D}/${MY_PN}_tmp_root |
418 |
- emake INSTALL_ROOT="${tmp_root}" install |
419 |
- |
420 |
- local bin_dir=${tmp_root}${EPREFIX}/usr/bin |
421 |
- local exe |
422 |
- for exe in pylupdate5 pyrcc5 pyuic5; do |
423 |
- python_doexe "${bin_dir}/${exe}" |
424 |
- rm "${bin_dir}/${exe}" || die |
425 |
- done |
426 |
- |
427 |
- local uic_dir=${tmp_root}$(python_get_sitedir)/${MY_PN}/uic |
428 |
- if python_is_python3; then |
429 |
- rm -r "${uic_dir}"/port_v2 || die |
430 |
- else |
431 |
- rm -r "${uic_dir}"/port_v3 || die |
432 |
- fi |
433 |
- |
434 |
- multibuild_merge_root "${tmp_root}" "${D}" |
435 |
- python_optimize |
436 |
- } |
437 |
- python_foreach_impl run_in_build_dir installation |
438 |
- |
439 |
- einstalldocs |
440 |
- |
441 |
- if use examples; then |
442 |
- insinto /usr/share/doc/${PF} |
443 |
- doins -r examples |
444 |
- fi |
445 |
-} |
446 |
|
447 |
diff --git a/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch b/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch |
448 |
deleted file mode 100644 |
449 |
index 38a20bc36d1..00000000000 |
450 |
--- a/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch |
451 |
+++ /dev/null |
452 |
@@ -1,17 +0,0 @@ |
453 |
-From: Fabian Vogt <fabian@×××××××××××.de> |
454 |
-Subject: QTest::waitForEvents() is internal only |
455 |
- |
456 |
-Must not be used, got removed with Qt 5.11. |
457 |
- |
458 |
-Index: PyQt5_gpl-5.10.1/sip/QtTest/qtestmouse.sip |
459 |
-=================================================================== |
460 |
---- a/sip/QtTest/qtestmouse.sip |
461 |
-+++ b/sip/QtTest/qtestmouse.sip |
462 |
-@@ -41,7 +41,6 @@ namespace QTest |
463 |
- void mousePress(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); |
464 |
- void mouseRelease(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); |
465 |
- void mouseEvent(QTest::MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); |
466 |
-- void waitForEvents() /ReleaseGIL/; |
467 |
- void mouseEvent(QTest::MouseAction action, QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); |
468 |
- void mousePress(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); |
469 |
- void mouseRelease(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); |
470 |
|
471 |
diff --git a/dev-python/PyQt5/files/PyQt5-5.10.1-timeline.patch b/dev-python/PyQt5/files/PyQt5-5.10.1-timeline.patch |
472 |
deleted file mode 100644 |
473 |
index 857492266e0..00000000000 |
474 |
--- a/dev-python/PyQt5/files/PyQt5-5.10.1-timeline.patch |
475 |
+++ /dev/null |
476 |
@@ -1,13 +0,0 @@ |
477 |
-diff --git a/sip/QtCore/QtCoremod.sip b/sip/QtCore/QtCoremod.sip |
478 |
-index e40d12c..4419f2b 100644 |
479 |
---- a/sip/QtCore/QtCoremod.sip |
480 |
-+++ b/sip/QtCore/QtCoremod.sip |
481 |
-@@ -22,7 +22,7 @@ |
482 |
- |
483 |
- %Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True) |
484 |
- |
485 |
--%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_99 Qt_5_10_0 Qt_5_10_1} |
486 |
-+%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_9_5 Qt_5_9_6 Qt_5_9_99 Qt_5_10_0 Qt_5_10_1} |
487 |
- |
488 |
- %Platforms {WS_X11 WS_WIN WS_MACX} |
489 |
- |
490 |
|
491 |
diff --git a/dev-python/PyQt5/metadata.xml b/dev-python/PyQt5/metadata.xml |
492 |
index a69c270de40..d337ce9c469 100644 |
493 |
--- a/dev-python/PyQt5/metadata.xml |
494 |
+++ b/dev-python/PyQt5/metadata.xml |
495 |
@@ -26,7 +26,6 @@ |
496 |
<flag name="svg">Build bindings for the QtSvg module</flag> |
497 |
<flag name="testlib">Build bindings for the QtTest module</flag> |
498 |
<flag name="webchannel">Build bindings for the QtWebChannel module</flag> |
499 |
- <flag name="webengine">Build bindings for the QtWebEngine module</flag> |
500 |
<flag name="webkit">Build bindings for the QtWebKit module</flag> |
501 |
<flag name="websockets">Build bindings for the QtWebSockets module</flag> |
502 |
<flag name="widgets">Build bindings for the QtWidgets module</flag> |