From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <20161208212027.GE2621@macbook42.flashner.co.il> References: <1480698614-20481-1-git-send-email-h.goebel@crazy-compilers.com> <1480929178-6383-4-git-send-email-h.goebel@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3O1VwFp74L81IIeR" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF67F-0001cb-O5 for guix-devel@gnu.org; Thu, 08 Dec 2016 16:20:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF67B-0006l4-Ly for guix-devel@gnu.org; Thu, 08 Dec 2016 16:20:33 -0500 Received: from flashner.co.il ([178.62.234.194]:40974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF67B-0006ks-9P for guix-devel@gnu.org; Thu, 08 Dec 2016 16:20:29 -0500 Content-Disposition: inline In-Reply-To: <1480929178-6383-4-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel@gnu.org --3O1VwFp74L81IIeR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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(-) >=20 > 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 automati= cally 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-o= nly. > + "--stubsdir" stubs > "--sipdir" sip)))))))) > (home-page "https://www.riverbankcomputing.com/software/pyqt/intro") > (synopsis "Python bindings for Qt") > --=20 > 2.7.4 >=20 python-pyqt-5.6 built successfully for me with these changes --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --3O1VwFp74L81IIeR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAlhJzpoACgkQ9MHTkX6s 7pMGgw/+NiO/hMyyRsyPzYV0ilS9TMHwrjOY8w49SVKFAmF1DeJmDFWHxqJj0bhP er2QHoeoE6RfefMljBf7Z8fkMZwk+CyEhvDrlDQM4DgCt6Inziufm1Vyx9RMDpa8 8Q9drGg+vY3xYZR/oPtu4T/7BL0EI2SKXft845zP/KQqQaiBI+8mhUIDOQJKjiey 1elsipyqW7bapX72GDgk0Q8BfMTcA1ZUjQ2KshoAsZ1Tm21Al4WJNyyYgnFf7QFA kMaqZ5kdGBXrG35s+OFaDMXgKm1SyQn1wHvDM4KIP9n3whd6g9+uRP8xRDTzy30p ECiCUsieFEV/KaTtMy4t+3/hHchVl0AfyjQsNecf+w+T2quoDNkWCQQ/Ga1nZGbN kgjdT6xVclmAGmhLdOR5XVGitUvaVRKQTtTi9JPvjrFUhwhc8x4TfFAQmhJMHhro B1CqDRCHNHdoUV9tXY41Hb6NyhNcjmxjJABDjz0fS2SmRpFj+KvGzQ1XL14iqtoa iAsI+v03Tvu2bxn3tCUj/+BDxuiOh5urZXZRgM+n1nNbyjvwwUpU+LVsYvTKddSD YHXH8pBfK4eXoVwhhCbZ0TKKE1S+GBNb6XlwVW9kqsREv9Gg1+RykFQFyfqOuzrz 7WGWoT9nVt+hxzYypyMHA9gyJIfg0sSCimoBufkVAoRYGVGEliY= =946b -----END PGP SIGNATURE----- --3O1VwFp74L81IIeR--