Browse Source

l/PyQt5: Upgraded to PyQt5-5.13.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
bbf0400252
  1. 32
      l/PyQt5/PyQt5.SlackBuild
  2. 1
      l/PyQt5/PyQt5_gpl-5.13.1.tar.gz.sha256
  3. 1
      l/PyQt5/PyQt5_gpl-5.9.2.tar.gz.sha256

32
l/PyQt5/PyQt5.SlackBuild

@ -25,13 +25,13 @@
# Latest PyQt5 sourcecode is available at:
# <https://riverbankcomputing.com/software/pyqt/intro/>.
#
# Depends: l/python-enum34, l/python2-sip, l/qt5-webkit
# Depends: l/python-enum34, l/qt5-webkit
# Source package infos
NAMESRC=${NAMESRC:-PyQt5}
VERSION=${VERSION:-5.9.2}
VERSION=${VERSION:-5.13.1}
ARCHIVE=${ARCHIVE:-${NAMESRC}_gpl-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/pyqt/$ARCHIVE}
WGET=${WGET:-https://www.riverbankcomputing.com/static/Downloads/PyQt5/$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-PyQt5}
@ -86,13 +86,32 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# We install for Python 3 first so that the Python 2 version,
# compiled later, will end up being the default. This is for
# consistency with what Pat has done for PyQt4.
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python configure.py \
python3 configure.py \
--confirm-license \
--verbose \
--sip=/usr/bin/python2-sip \
--sip-incdir=/usr/include/python2.7/python2-sip \
--sip=/usr/bin/sip3 \
--sip-incdir=/usr/include/python3.7m \
--qmake /usr/bin/qmake-qt5
make -j $JOBS
make install INSTALL_ROOT=$PKG
make clean
for f in pyrcc5 pyuic5 pylupdate5 ; do
mv $PKG/usr/bin/$f $PKG/usr/bin/$f-py3
done
# And now for Python 2
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python2 configure.py \
--confirm-license \
--verbose \
--sip=/usr/bin/sip2 \
--sip-incdir=/usr/include/python2.7 \
--qmake /usr/bin/qmake-qt5
make -j $JOBS
make install INSTALL_ROOT=$PKG
@ -111,7 +130,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-enum34
python2-sip
qt5-webkit
EOF

1
l/PyQt5/PyQt5_gpl-5.13.1.tar.gz.sha256

@ -0,0 +1 @@
54b7f456341b89eeb3930e786837762ea67f235e886512496c4152ebe106d4af PyQt5_gpl-5.13.1.tar.gz

1
l/PyQt5/PyQt5_gpl-5.9.2.tar.gz.sha256

@ -1 +0,0 @@
c190dac598c97b0113ca5e7a37c71c623f02d1d713088addfacac4acfa4b8394 PyQt5_gpl-5.9.2.tar.gz
Loading…
Cancel
Save