mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/python-distutils-extra: Updated for version 2.18.
This commit is contained in:
parent
f00dc54983
commit
6ffe33dc12
2 changed files with 8 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||||
|
|
||||||
PRGNAM=python-distutils-extra
|
PRGNAM=python-distutils-extra
|
||||||
VERSION=${VERSION:-2.14}
|
VERSION=2.18
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -21,7 +21,7 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/dist-$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
|
@ -32,6 +32,9 @@ find . \
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
|
# Get rid of *.pyc files.
|
||||||
|
find $PKG -name "*.pyc" -exec rm -f {} \;
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
xargs strip --strip-unneeded 2> /dev/null || true
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="python-distutils-extra"
|
PRGNAM="python-distutils-extra"
|
||||||
VERSION="2.14"
|
VERSION="2.18"
|
||||||
HOMEPAGE="https://launchpad.net/python-distutils-extra"
|
HOMEPAGE="https://launchpad.net/python-distutils-extra"
|
||||||
DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.14/+download/python-distutils-extra-2.14.tar.gz"
|
DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.18/+download/dist-python-distutils-extra-2.18.tar.gz"
|
||||||
MD5SUM="4f56a6a2ede20c6ae219767678e5b88d"
|
MD5SUM="3d96d362ef514c2b2f8c3390c3033fae"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Larry Hajali"
|
MAINTAINER="Larry Hajali"
|
||||||
|
|
Loading…
Reference in a new issue