aboutsummaryrefslogtreecommitdiff
path: root/python/python2-sip
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
parentc649319a6414e5fb7a5a56f7ea383efa87711b2f (diff)
python/python2-sip: Updated for version 4.19.20.
Diffstat (limited to 'python/python2-sip')
-rw-r--r--python/python2-sip/README2
-rw-r--r--python/python2-sip/python2-sip.SlackBuild11
-rw-r--r--python/python2-sip/python2-sip.info8
3 files changed, 10 insertions, 11 deletions
diff --git a/python/python2-sip/README b/python/python2-sip/README
index 8580dd29b542..10c01de44b8f 100644
--- a/python/python2-sip/README
+++ b/python/python2-sip/README
@@ -12,4 +12,4 @@ tell your application the binary name and/or include path:
/usr/bin/python2-sip
/usr/include/python2.7/python2-sip/
-To use the module in your python2 projects, it is named python2_sip.
+To use the module in your python2 projects, it is named PyQt5.sip.
diff --git a/python/python2-sip/python2-sip.SlackBuild b/python/python2-sip/python2-sip.SlackBuild
index 0e31375c23e3..5ffe8425f3be 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 \
diff --git a/python/python2-sip/python2-sip.info b/python/python2-sip/python2-sip.info
index 87d87f01df29..d3efa4dc723f 100644
--- a/python/python2-sip/python2-sip.info
+++ b/python/python2-sip/python2-sip.info
@@ -1,8 +1,8 @@
PRGNAM="python2-sip"
-VERSION="4.19.6"
-HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro/"
-DOWNLOAD="https://downloads.sourceforge.net/project/pyqt/sip/sip-4.19.6/sip-4.19.6.tar.gz"
-MD5SUM="6be5cb2c43915ed450a9f74ec110dada"
+VERSION="4.19.20"
+HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro/"
+DOWNLOAD="https://www.riverbankcomputing.com/static/Downloads/sip/4.19.20/sip-4.19.20.tar.gz"
+MD5SUM="b91e29300cbee7b8e3b1f4412eac615c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""