[Slackbuilds-users] Updates - 20180929.1

David Woodfall dave at dawoodfall.net
Sun Sep 30 01:59:50 UTC 2018


On Saturday 29 September 2018 07:59,
Willy Sudiarto Raharjo <willysr at slackbuilds.org> put forth the proposition:

> python/python2-sip: Rename sip module in accordance with newer PyQt5

Looks like this change automatically made some changes in the build
that affects some lines later in the slackbuild, and which now give
an error about files not found.

Affected packages are PyQt5 and anything needing it.

Solutions:

Change line 103 from:

for oldf in sipdistutils.py sip.pyi sipconfig.py

to:

for oldf in sip.pyi

or change ALL lines 103-107 from:

for oldf in sipdistutils.py sip.pyi sipconfig.py
do
  mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
  $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done

to:

mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/sip.pyi \
  $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_sip.pyi

Sorry about that. It built fine when I tested it. Honest.

--
Dave

Let He who taketh the Plunge Remember to return it by Tuesday.

                                                            .--.  oo
                                                           (____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180930/70bdb95b/attachment.asc>


More information about the SlackBuilds-users mailing list