Archived
1
0
Fork 0

gnu: python-pyside-2: Use G-expressions.

* gnu/packages/qt.scm (python-pyside-2)[native-inputs]: Use label-less input
style.
[arguments]: Use G-expressions.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Zhu Zihao 2022-08-24 19:25:26 +08:00 committed by Marius Bakke
parent a69581f17c
commit 00652ce2ee
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -3874,23 +3874,21 @@ color-related widgets.")
(propagated-inputs (propagated-inputs
(list python-shiboken-2)) (list python-shiboken-2))
(native-inputs (native-inputs
`(("cmake" ,cmake-minimal) (list cmake-minimal python-wrapper qttools-5 which))
("python" ,python-wrapper)
("qttools-5" ,qttools-5)
("which" ,which)))
(arguments (arguments
`(#:tests? #f (list
#:tests? #f
;; FIXME: Building tests fail. ;; FIXME: Building tests fail.
#:configure-flags #:configure-flags
(list "-DBUILD_TESTS=FALSE" #~(list "-DBUILD_TESTS=FALSE"
(string-append "-DPYTHON_EXECUTABLE=" (string-append "-DPYTHON_EXECUTABLE="
(assoc-ref %build-inputs "python") (assoc-ref %build-inputs "python")
"/bin/python")) "/bin/python"))
#:modules ((guix build cmake-build-system) #:modules '((guix build cmake-build-system)
(guix build utils) (guix build utils)
(srfi srfi-1)) (srfi srfi-1))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'go-to-source-dir (add-after 'unpack 'go-to-source-dir
(lambda _ (chdir "sources/pyside2") #t)) (lambda _ (chdir "sources/pyside2") #t))
(add-after 'go-to-source-dir 'fix-qt-module-detection (add-after 'go-to-source-dir 'fix-qt-module-detection
@ -3915,7 +3913,7 @@ color-related widgets.")
"qtsensors" "qtsensors"
"qtspeech" "qtspeech"
"qtsvg" "qtsvg"
"qttools-5" "qttools"
"qtwebchannel" "qtwebchannel"
"qtwebengine" "qtwebengine"
"qtwebsockets" "qtwebsockets"