mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/python2-sip: Fix previously auto-renamed files
This commit is contained in:
parent
08758de12f
commit
fa749a3a4d
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue