Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyQt5/
Date: Thu, 03 Dec 2015 18:39:44
Message-Id: 1449167974.333a65ec4744d0d64362756ea88ec0f3b855d603.pesa@gentoo
1 commit: 333a65ec4744d0d64362756ea88ec0f3b855d603
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 18:38:50 2015 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 18:39:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333a65ec
7
8 dev-python/PyQt5: add several missing REQUIRED_USE
9
10 Apparently configure.py does not list all these dependencies, and
11 does not check if they are satisfied at build time. But their lack
12 causes ImportErrors at runtime.
13
14 Gentoo-Bug: 567394
15
16 Package-Manager: portage-2.2.26
17
18 dev-python/PyQt5/PyQt5-5.5.1.ebuild | 14 ++++++++++++++
19 dev-python/PyQt5/PyQt5-5.5.ebuild | 2 ++
20 2 files changed, 16 insertions(+)
21
22 diff --git a/dev-python/PyQt5/PyQt5-5.5.1.ebuild b/dev-python/PyQt5/PyQt5-5.5.1.ebuild
23 index 24b724f..b0d903d 100644
24 --- a/dev-python/PyQt5/PyQt5-5.5.1.ebuild
25 +++ b/dev-python/PyQt5/PyQt5-5.5.1.ebuild
26 @@ -29,14 +29,28 @@ KEYWORDS="~amd64 ~arm ~x86"
27 IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia
28 network opengl positioning printsupport sensors serialport sql svg
29 testlib webchannel webkit websockets widgets x11extras xmlpatterns"
30 +
31 +# The requirements below were extracted from configure.py
32 +# and from the output of 'grep -r "%Import " "${S}"/sip'
33 REQUIRED_USE="
34 ${PYTHON_REQUIRED_USE}
35 + declarative? ( gui network )
36 + designer? ( widgets )
37 + help? ( gui widgets )
38 + multimedia? ( gui network )
39 + opengl? ( gui widgets )
40 positioning? ( gui )
41 + printsupport? ( widgets )
42 sensors? ( gui )
43 serialport? ( gui )
44 sql? ( widgets )
45 + svg? ( gui widgets )
46 testlib? ( widgets )
47 webchannel? ( network )
48 + webkit? ( gui network printsupport widgets )
49 + websockets? ( network )
50 + widgets? ( gui )
51 + xmlpatterns? ( network )
52 "
53
54 # Minimal supported version of Qt.
55
56 diff --git a/dev-python/PyQt5/PyQt5-5.5.ebuild b/dev-python/PyQt5/PyQt5-5.5.ebuild
57 index 6ce5a51..f7a2f64 100644
58 --- a/dev-python/PyQt5/PyQt5-5.5.ebuild
59 +++ b/dev-python/PyQt5/PyQt5-5.5.ebuild
60 @@ -29,6 +29,8 @@ KEYWORDS="amd64 arm ~x86"
61 IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia
62 network opengl positioning printsupport sensors serialport sql svg
63 testlib webchannel webkit websockets widgets x11extras xmlpatterns"
64 +
65 +# The requirements below were extracted from configure.py
66 REQUIRED_USE="
67 ${PYTHON_REQUIRED_USE}
68 positioning? ( gui )