me
/
guix
Archived
1
0
Fork 0

gnu: python-pyside-2: Propagate python-shiboken-2.

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 "<string>", line 1, in <module>
  File "/gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages/PySide2/__init__.py", line 91, in <module>
    _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.
master
Lars-Dominik Braun 2021-04-26 13:51:43 +02:00
parent accb9fe6ac
commit f365d48909
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 2 additions and 1 deletions

View File

@ -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)))