[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3 v2] gnu: python-pyqt: Fix build by explicitly setting the
From: |
Efraim Flashner |
Subject: |
Re: [PATCH 3/3 v2] gnu: python-pyqt: Fix build by explicitly setting the stubsdir. |
Date: |
Thu, 8 Dec 2016 23:20:27 +0200 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Mon, Dec 05, 2016 at 10:12:58AM +0100, Hartmut Goebel wrote:
> * gnu/packages.qt.scm (python-pyqt, python2-pyqt)[arguments]: In phase
> 'configure' pass option --stubsdir.
> ---
> gnu/packages/qt.scm | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
> index aaa7e1c..4a8fb6c 100644
> --- a/gnu/packages/qt.scm
> +++ b/gnu/packages/qt.scm
> @@ -1015,13 +1015,19 @@ module provides support functions to the
> automatically generated code.")
> "."))
> (lib (string-append out "/lib/python"
> python-major+minor
> - "/site-packages")))
> + "/site-packages"))
> + (stubs (string-append lib "/PyQt5")))
> (zero? (system* "python" "configure.py"
> "--confirm-license"
> "--bindir" bin
> "--destdir" lib
> "--designer-plugindir" designer
> "--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))))))))
> (home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
> (synopsis "Python bindings for Qt")
> --
> 2.7.4
>
python-pyqt-5.6 built successfully for me with these changes
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
- [PATCH] gnu: python-pyqt: Fix build by explicitly setting the stubsdir., Hartmut Goebel, 2016/12/02
- Re: [PATCH] gnu: python-pyqt: Fix build by explicitly setting the stubsdir., Ricardo Wurmus, 2016/12/03
- [PATCH 1/3] gnu: python2-pyqt-4: Change package name to python2-pyqt., Hartmut Goebel, 2016/12/05
- [PATCH 0/3] Fixes for python-pyqt, Hartmut Goebel, 2016/12/05
- [PATCH 3/3 v2] gnu: python-pyqt: Fix build by explicitly setting the stubsdir., Hartmut Goebel, 2016/12/05
- Re: [PATCH 3/3 v2] gnu: python-pyqt: Fix build by explicitly setting the stubsdir.,
Efraim Flashner <=
- [PATCH 2/3] gnu: python-pyqt-5.5: Use non-inherited "configure" phase., Hartmut Goebel, 2016/12/05