diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-05-08 07:36:58 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:25 -0500 |
commit | bc04d974ab7a9b7ed240f880ba447d49ea3f8420 (patch) | |
tree | c92fa13d2f7a0da2a4c06f463a8712edebe7480d /development/MySQL-python/MySQL-python.SlackBuild | |
parent | 11d0e8aa163fa48596960c0afe0e2d11aa65f0ec (diff) | |
download | slackbuilds-bc04d974ab7a9b7ed240f880ba447d49ea3f8420.tar.gz |
development/MySQL-python: Updated for version 1.2.3.
This commit also fixes dep info in README (rworkman)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/MySQL-python/MySQL-python.SlackBuild')
-rw-r--r-- | development/MySQL-python/MySQL-python.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild index 190207434b..9b2ed4fcb1 100644 --- a/development/MySQL-python/MySQL-python.SlackBuild +++ b/development/MySQL-python/MySQL-python.SlackBuild @@ -5,7 +5,7 @@ # Written by Jick Nan (jick.nan@gmail.com) PRGNAM=MySQL-python -VERSION=1.2.3c1 +VERSION=1.2.3 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,13 +49,16 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# patch MANIFEST.in +patch -p1 < $CWD/docs.patch + python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog GPL HISTORY PKG-INFO README doc/*.txt \ +cp -a HISTORY PKG-INFO README doc/*.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |