dev-python/PyQt5: add several missing REQUIRED_USE

Apparently configure.py does not list all these dependencies, and
does not check if they are satisfied at build time. But their lack
causes ImportErrors at runtime.

Gentoo-Bug: 567394

Package-Manager: portage-2.2.26
This commit is contained in:
Davide Pesavento
2015-12-03 19:38:50 +01:00
parent d81fa5bf2a
commit 333a65ec47
2 changed files with 16 additions and 0 deletions

View File

@@ -29,14 +29,28 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia
network opengl positioning printsupport sensors serialport sql svg
testlib webchannel webkit websockets widgets x11extras xmlpatterns"
# The requirements below were extracted from configure.py
# and from the output of 'grep -r "%Import " "${S}"/sip'
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
declarative? ( gui network )
designer? ( widgets )
help? ( gui widgets )
multimedia? ( gui network )
opengl? ( gui widgets )
positioning? ( gui )
printsupport? ( widgets )
sensors? ( gui )
serialport? ( gui )
sql? ( widgets )
svg? ( gui widgets )
testlib? ( widgets )
webchannel? ( network )
webkit? ( gui network printsupport widgets )
websockets? ( network )
widgets? ( gui )
xmlpatterns? ( network )
"
# Minimal supported version of Qt.

View File

@@ -29,6 +29,8 @@ KEYWORDS="amd64 arm ~x86"
IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia
network opengl positioning printsupport sensors serialport sql svg
testlib webchannel webkit websockets widgets x11extras xmlpatterns"
# The requirements below were extracted from configure.py
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
positioning? ( gui )