From 47f31d21c7b44346917fd1048f5a6dc31ef7f545 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 25 Apr 2020 19:23:41 +0100 Subject: libraries/python3-PyQt5: Change python3 include path. Signed-off-by: Willy Sudiarto Raharjo --- libraries/python3-PyQt5/python3-PyQt5.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild index c577da540d..9c4399e1b5 100644 --- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild +++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild @@ -33,7 +33,7 @@ PRGNAM=python3-PyQt5 SRCNAM=PyQt5 VERSION=${VERSION:-5.13.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,8 +63,6 @@ else LIBDIRSUFFIX="" fi -PYTHONVER=$(python3 -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.) - set -e rm -rf $PKG @@ -93,7 +91,7 @@ python3 configure.py \ --qsci-api \ -q /usr/bin/qmake-qt5 \ --sip=/usr/bin/python3-sip \ - --sip-incdir=/usr/include/python$PYTHONVER + --sip-incdir=$(pkg-config --cflags-only-I python3 | sed -e 's/^-I//') make make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG -- cgit v1.2.3