guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-pyside-2: Propagate python-shiboken-2


From: guix-commits
Subject: branch master updated: gnu: python-pyside-2: Propagate python-shiboken-2.
Date: Mon, 26 Apr 2021 07:54:16 -0400

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f365d48  gnu: python-pyside-2: Propagate python-shiboken-2.
f365d48 is described below

commit f365d48909156ad754a2ade45375f45b54b06bbc
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Mon Apr 26 13:51:43 2021 +0200

    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.
---
 gnu/packages/qt.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c89d858..b206dea 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]