aboutsummaryrefslogtreecommitdiff
path: root/python/python2-sip/python2-sip.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-01-27 10:22:25 +0000
committerDave Woodfall <dave@slackbuilds.org>2020-04-05 16:23:13 +0100
commit1eb5faf1f910d167631069859450856ecd86decb (patch)
tree97730d7a2dfa91c5d166fcc6cfb91c55d3d2ba40 /python/python2-sip/python2-sip.SlackBuild
parentc649319a6414e5fb7a5a56f7ea383efa87711b2f (diff)
python/python2-sip: Updated for version 4.19.20.
Diffstat (limited to 'python/python2-sip/python2-sip.SlackBuild')
-rw-r--r--python/python2-sip/python2-sip.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/python/python2-sip/python2-sip.SlackBuild b/python/python2-sip/python2-sip.SlackBuild
index 0e31375c23e38..5ffe8425f3be3 100644
--- a/python/python2-sip/python2-sip.SlackBuild
+++ b/python/python2-sip/python2-sip.SlackBuild
@@ -32,8 +32,8 @@
PRGNAM=python2-sip
SRCNAM=sip
-VERSION=${VERSION:-4.19.6}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-4.19.20}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,7 +85,7 @@ python configure.py \
-b "/usr/bin" \
-d "$PYTHONLIB" \
-e "/usr/include/python$PYTHONVER" \
- --sip-module="python2_sip" \
+ --sip-module "PyQt5.sip" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS"
@@ -99,10 +99,9 @@ mkdir -p $PKG/usr/include/python$PYTHONVER/python2-sip
mv $PKG/usr/include/python$PYTHONVER/sip.h \
$PKG/usr/include/python$PYTHONVER/python2-sip/sip.h \
-for oldf in sipdistutils.py sip.pyi sipconfig.py
-do
+for oldf in sipdistutils.py sipconfig.py; do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
- $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
+ $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5_$oldf
done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \