guix-commits
[Top][All Lists]
Advanced

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

15/22: gnu: python-pyside-2: Clarify the package inputs.


From: guix-commits
Subject: 15/22: gnu: python-pyside-2: Clarify the package inputs.
Date: Wed, 7 Sep 2022 16:04:15 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 39647c97418f5527ed14f82144dac4172148fc4d
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Wed Aug 24 22:54:46 2022 +0800

    gnu: python-pyside-2: Clarify the package inputs.
    
    The module "PySide.PyQtUiTools" depends on "qttools-5", it should be an 
input,
    not a native input.
    
    libxml2, libxslt, clang-toolchain is only used by python-shiboken-2.
    
    cmake-minimal is not used.
    
    * gnu/packages/qt.scm (python-pyside-2): [inputs]: Remove libxml2, libxslt,
    clang-toolchain. Add qttools-5.
    [native-inputs]: Remove cmake-minimal, qttools-5.
    [arguments]<#:phases>: Remove phase "set-clang-dir".
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/qt.scm | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index d496f69107..d92f4ef852 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3851,10 +3851,7 @@ color-related widgets.")
     (source (package-source python-shiboken-2))
     (build-system cmake-build-system)
     (inputs
-     (list libxml2
-           libxslt
-           clang-toolchain
-           qtbase-5
+     (list qtbase-5
            qtdatavis3d
            qtdeclarative-5
            qtlocation
@@ -3866,6 +3863,7 @@ color-related widgets.")
            qtsensors
            qtspeech
            qtsvg-5
+           qttools-5
            qtwebchannel-5
            qtwebengine-5
            qtwebsockets-5
@@ -3874,7 +3872,7 @@ color-related widgets.")
     (propagated-inputs
      (list python-shiboken-2))
     (native-inputs
-     (list cmake-minimal python-wrapper qttools-5 which))
+     (list python-wrapper))
     (arguments
      (list
       #:tests? #f
@@ -3928,12 +3926,7 @@ color-related widgets.")
                 (setenv "CXXFLAGS" (fold (lambda (dir paths)
                                            (string-append paths " -I" dir))
                                          ""
-                                         dirs)))))
-          (add-before 'configure 'set-clang-dir
-            (lambda* (#:key inputs #:allow-other-keys)
-              (let ((clang (assoc-ref inputs "clang-toolchain")))
-                (setenv "CLANG_INSTALL_DIR" clang)
-                #t))))))
+                                         dirs))))))))
     (home-page "https://wiki.qt.io/Qt_for_Python";)
     (synopsis
      "The Qt for Python product enables the use of Qt5 APIs in Python 
applications")



reply via email to

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