summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-01-28 13:19:55 +0000
committerDave Woodfall <dave@slackbuilds.org>2020-04-05 16:23:14 +0100
commit443d2ef9f372f3b1b943b0c7636dfbc3d81e60fa (patch)
tree2afd20434e71cba4d18e4913252d5f0dc67d78fc
parente62bd66ce73e15a9f7526e2f417727e517b5f0a0 (diff)
downloadslackbuilds-443d2ef9f372f3b1b943b0c7636dfbc3d81e60fa.tar.gz
libraries/python3-PyQt5: Updated for version 5.13.2.
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild13
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.info12
2 files changed, 12 insertions, 13 deletions
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
index 759fbffc7b..c577da540d 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
@@ -32,7 +32,7 @@
PRGNAM=python3-PyQt5
SRCNAM=PyQt5
-VERSION=${VERSION:-5.9.2}
+VERSION=${VERSION:-5.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${SRCNAM}_gpl-$VERSION
-tar xvf $CWD/${SRCNAM}_gpl-$VERSION.tar.gz
-cd ${SRCNAM}_gpl-$VERSION
+rm -rf ${SRCNAM}-$VERSION
+tar xvf $CWD/${SRCNAM}-$VERSION.tar.gz
+cd ${SRCNAM}-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,8 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# This is needed or an include from dbus is missed (thanks, Archlinux)
-sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
@@ -92,12 +90,13 @@ export CXXFLAGS="$SLKCFLAGS"
python3 configure.py \
--confirm-license \
--verbose \
+ --qsci-api \
-q /usr/bin/qmake-qt5 \
--sip=/usr/bin/python3-sip \
--sip-incdir=/usr/include/python$PYTHONVER
make
-make install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/python3-PyQt5/python3-PyQt5.info b/libraries/python3-PyQt5/python3-PyQt5.info
index 78476ae3ba..d53dbc301e 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.info
+++ b/libraries/python3-PyQt5/python3-PyQt5.info
@@ -1,10 +1,10 @@
PRGNAM="python3-PyQt5"
-VERSION="5.9.2"
+VERSION="5.13.2"
HOMEPAGE="https://riverbankcomputing.com/software/pyqt/intro/"
-DOWNLOAD="https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz"
-MD5SUM="33d6d2ab8183da17ac18b8132a4b278e"
+DOWNLOAD="https://www.riverbankcomputing.com/static/Downloads/PyQt5/5.13.2/PyQt5-5.13.2.tar.gz"
+MD5SUM="c1023cb9c3d29a89fc109b163a0175c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-sip qt5-webkit"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
+REQUIRES="qt5-webkit python2-sip enum34"
+MAINTAINER="Dave Woodfall"
+EMAIL="dave@slackbuilds.org"