diff options
author | LukenShiro <lukenshiro@ngi.it> | 2012-12-29 16:27:20 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-29 16:27:37 +0100 |
commit | 5b4d7565250281b9d9da048bdf72be57ba520da7 (patch) | |
tree | ab58dd4b978a77303fd9505d8ba374144da0639b /python | |
parent | 3e168c3203aa81e5f4991d6d935053cc3498fca9 (diff) | |
download | slackbuilds-5b4d7565250281b9d9da048bdf72be57ba520da7.tar.gz |
python/python-pmw: Updated for version 1.3.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python-pmw/python-pmw.SlackBuild | 24 | ||||
-rw-r--r-- | python/python-pmw/python-pmw.info | 6 |
2 files changed, 13 insertions, 17 deletions
diff --git a/python/python-pmw/python-pmw.SlackBuild b/python/python-pmw/python-pmw.SlackBuild index a51bad8cc3..ba335975fd 100644 --- a/python/python-pmw/python-pmw.SlackBuild +++ b/python/python-pmw/python-pmw.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-pmw -# Copyright 2007-2012 LukenShiro, Italy +# Copyright 2007-2013 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-pmw -VERSION=${VERSION:-1.3.2} -BUILD=${BUILD:-4} +VERSION=${VERSION:-1.3.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -41,7 +41,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRC_PRGNAM=Pmw -SRC_SUBDIR=Pmw_1_3 +SRC_SUBDIR=Pmw_1_3_3 if [ "$ARCH" = "i486" ]; then LIBDIRSUFFIX="" @@ -54,17 +54,16 @@ else LIBDIRSUFFIX="" fi -# Python site-packages directory -PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRC_PRGNAM.$VERSION +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION tar xvf $CWD/$SRC_PRGNAM.$VERSION.tar.gz -cd $SRC_PRGNAM.$VERSION/src/$SRC_PRGNAM +cd src/$SRC_PRGNAM chown -R root:root . || true find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -78,11 +77,8 @@ mv README $PKG/usr/doc/$PRGNAM-$VERSION mv $SRC_SUBDIR/doc $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Manual installation because python setup.py install seems to not be working -mkdir -p $PKG/$PYTHONDIR/$SRC_PRGNAM/$SRC_SUBDIR -cp -a $SRC_SUBDIR/{bin,contrib,demos,lib,tests,__init__.py} \ - $PKG/$PYTHONDIR/$SRC_PRGNAM/$SRC_SUBDIR -cp -a __init__.py Alpha_99_9_example $PKG/$PYTHONDIR/$SRC_PRGNAM +cd .. +python ./setup.py install --root=$PKG mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python-pmw/python-pmw.info b/python/python-pmw/python-pmw.info index 0493dac83a..2a5eb59055 100644 --- a/python/python-pmw/python-pmw.info +++ b/python/python-pmw/python-pmw.info @@ -1,8 +1,8 @@ PRGNAM="python-pmw" -VERSION="1.3.2" +VERSION="1.3.3" HOMEPAGE="http://pmw.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw.1.3.2.tar.gz" -MD5SUM="7f30886fe9885ab3cf85dac6ce1fbda5" +DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw.1.3.3.tar.gz" +MD5SUM="82ced4e353c7ca56b45b01d6f65ba94e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |