summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-09-29 17:51:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-06 07:25:28 +0700
commitfa749a3a4df86ad32c6314cd03fc3793e830d787 (patch)
treec74c3d78f3ace448f30dea048065fe718f389404 /python
parent08758de12f3f18dacb4fd2a6544f68bb8206b1ec (diff)
downloadslackbuilds-fa749a3a4df86ad32c6314cd03fc3793e830d787.tar.gz
python/python2-sip: Fix previously auto-renamed files
Diffstat (limited to 'python')
-rw-r--r--python/python2-sip/python2-sip.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/python2-sip/python2-sip.SlackBuild b/python/python2-sip/python2-sip.SlackBuild
index a174c6ab8c..0edfad4e99 100644
--- a/python/python2-sip/python2-sip.SlackBuild
+++ b/python/python2-sip/python2-sip.SlackBuild
@@ -33,7 +33,7 @@
PRGNAM=python2-sip
SRCNAM=sip
VERSION=${VERSION:-4.19.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -100,11 +100,8 @@ 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
- mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
- $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
-done
+mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/sip.pyi \
+ $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_sip.pyi
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