python/python2-sip: Updated for version 4.19.20.

This commit is contained in:
Dave Woodfall 2020-01-27 10:22:25 +00:00
parent c649319a64
commit 1eb5faf1f9
3 changed files with 10 additions and 11 deletions

View file

@ -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.

View file

@ -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 \

View file

@ -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=""