app-admin/setools: Add dependency on PyQt5 with USE set to widgets and gui
authorSven Vermeulen <swift@gentoo.org>
Wed, 1 Feb 2017 17:18:09 +0000 (18:18 +0100)
committerSven Vermeulen <swift@gentoo.org>
Wed, 1 Feb 2017 17:18:48 +0000 (18:18 +0100)
Without this dependency set, launching apol fails with:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/apol", line 24, in <module>
    from PyQt5.QtWidgets import QApplication
ImportError: No module named QtWidgets

Package-Manager: portage-2.3.3

app-admin/setools/setools-9999.ebuild

index 98ac8a5f918e5492e506015a7a6f26f3585397f9..5a1f0d61ead6e6bccad8091817d5727c3cfc3fe3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,7 +28,7 @@ RDEPEND="${PYTHON_DEPS}
        app-arch/bzip2:=
        dev-libs/libpcre:=
        X? (
-               dev-python/PyQt5
+               dev-python/PyQt5[gui,widgets]
        )"
 
 DEPEND="${RDEPEND}