[PyQt] Packaging with sip5

Phil Thompson phil at riverbankcomputing.com
Sat Dec 14 10:48:22 GMT 2019


On 14/12/2019 08:29, Antonio Rojas wrote:
> El viernes, 13 de diciembre de 2019 19:23:40 (CET) Antonio Rojas 
> escribió:
>> El viernes, 13 de diciembre de 2019 17:08:34 (CET) Antonio Rojas 
>> escribió:
>> 
>> > Also, create_distinfo seems to not honor DESTDIR or INSTALL_ROOT, so make install fails at the end with
>> >
>> > PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages/PyQt5-5.13.2.dist-info'
>> >
>> 
>> Indeed, in 
>> https://www.riverbankcomputing.com/hg/sip/file/a596f1813d4a/sipbuild/distinfo/distinfo.py#l71 
>> real_distinfo_dir is defined which takes DESTDIR into account, but 
>> then distinfo_dir is used everywhere instead.
>> 
> 
> Managed to get everything working with this patch in sip:
> 
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/sip5-destdir.patch?h=packages/sip5
> 
> and this one in pyqt5:
> 
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/pyqt5-no-write-check.patch?h=packages/pyqt5

Thanks, I'll look at these before PyQt v5.14 is released. That will 
depend on a SIP v5.0.1 anyway as Qt v5.14 tickles a different SIP bug.

Phil


More information about the PyQt mailing list