mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: python-pyqt: Fix build by explicitly setting the stubsdir.
* gnu/packages.qt.scm (python-pyqt, python2-pyqt)[arguments]: In phase 'configure' pass option --stubsdir.
This commit is contained in:
parent
931eaeaad9
commit
43e8824d3c
1 changed files with 7 additions and 1 deletions
|
@ -1015,13 +1015,19 @@ (define-public python-pyqt
|
||||||
"."))
|
"."))
|
||||||
(lib (string-append out "/lib/python"
|
(lib (string-append out "/lib/python"
|
||||||
python-major+minor
|
python-major+minor
|
||||||
"/site-packages")))
|
"/site-packages"))
|
||||||
|
(stubs (string-append lib "/PyQt5")))
|
||||||
(zero? (system* "python" "configure.py"
|
(zero? (system* "python" "configure.py"
|
||||||
"--confirm-license"
|
"--confirm-license"
|
||||||
"--bindir" bin
|
"--bindir" bin
|
||||||
"--destdir" lib
|
"--destdir" lib
|
||||||
"--designer-plugindir" designer
|
"--designer-plugindir" designer
|
||||||
"--qml-plugindir" qml
|
"--qml-plugindir" qml
|
||||||
|
; Where to install the PEP 484 Type Hints stub
|
||||||
|
; files. Without this the stubs are tried to be
|
||||||
|
; installed into the python package's
|
||||||
|
; site-package directory, which is read-only.
|
||||||
|
"--stubsdir" stubs
|
||||||
"--sipdir" sip))))))))
|
"--sipdir" sip))))))))
|
||||||
(home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
|
(home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
|
||||||
(synopsis "Python bindings for Qt")
|
(synopsis "Python bindings for Qt")
|
||||||
|
|
Loading…
Reference in a new issue