diff options
Diffstat (limited to 'development/MySQL-python/MySQL-python.SlackBuild')
-rw-r--r-- | development/MySQL-python/MySQL-python.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild index d006af0263a7b..7c68cb94ca412 100644 --- a/development/MySQL-python/MySQL-python.SlackBuild +++ b/development/MySQL-python/MySQL-python.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=MySQL-python VERSION=1.2.4 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,6 +52,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Avoid downloading distribute +patch -p1 < $CWD/no_distribute_download.patch + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |