From f365d48909156ad754a2ade45375f45b54b06bbc Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 26 Apr 2021 13:51:43 +0200 Subject: gnu: python-pyside-2: Propagate python-shiboken-2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Importing PySide2 failed, because shiboken was not propagated. Testcase: > guix environment --ad-hoc python python-pyside-2 -- python -c 'import PySide2' PySide2/__init__.py: Unable to import shiboken2 from , /gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages, /usr/lib/python38.zip, /usr/lib/python3.8, /usr/lib/python3.8/lib-dynload, /usr/lib/python3.8/site-packages Traceback (most recent call last): File "", line 1, in File "/gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages/PySide2/__init__.py", line 91, in _setupQtDirectories() File "/gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages/PySide2/__init__.py", line 57, in _setupQtDirectories import shiboken2 ModuleNotFoundError: No module named 'shiboken2' * gnu/packages/qt.scm (python-pyside-2) [native-inputs]: Move from here… [propagated-inputs]: …to here. --- gnu/packages/qt.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index c89d85884e..b206deaeba 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2687,9 +2687,10 @@ color-related widgets.") ("qtwebsockets" ,qtwebsockets) ("qtx11extras" ,qtx11extras) ("qtxmlpatterns" ,qtxmlpatterns))) + (propagated-inputs + `(("python-shiboken-2" ,python-shiboken-2))) (native-inputs `(("cmake" ,cmake-minimal) - ("python-shiboken-2" ,python-shiboken-2) ("python" ,python-wrapper) ("qttools" ,qttools) ("which" ,which))) -- cgit v1.2.3