summaryrefslogtreecommitdiffstats
path: root/development/MySQL-python/MySQL-python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/MySQL-python/MySQL-python.SlackBuild')
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index c367b99dc9..cee8fa2899 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -6,8 +6,8 @@
# Modified by the Slackbuilds.org project
PRGNAM=MySQL-python
-VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.2.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,12 +52,7 @@ 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/patches/no_distribute_download.patch
-# Include my_config.h first
-patch -p1 < $CWD/patches/MySQL-python-1.2.4-include-my_config-first.patch
-
-python setup.py install --root=$PKG
+CPPFLAGS="-I/usr/include/mysql/server" python setup.py install --root=$PKG
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