diff options
-rw-r--r-- | python/easygui/easygui.SlackBuild | 21 | ||||
-rw-r--r-- | python/easygui/easygui.info | 6 |
2 files changed, 11 insertions, 16 deletions
diff --git a/python/easygui/easygui.SlackBuild b/python/easygui/easygui.SlackBuild index 665f600ed0..3e96772d63 100644 --- a/python/easygui/easygui.SlackBuild +++ b/python/easygui/easygui.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for easygui -# Copyright 2007-2011 LukenShiro, Italy +# Copyright 2007-2015 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=easygui -VERSION=${VERSION:-0.96} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.97.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,8 +40,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SRC_VERSION=version_${VERSION}_docs - if [ "$ARCH" = "i486" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -55,30 +53,27 @@ fi # directory for python packages PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") -DOCFILES="cookbook faq epydoc pydoc tutorial" -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -mkdir -p $PRGNAM-$VERSION +unzip $CWD/${PRGNAM}-${VERSION}.zip cd $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # install .py source file and sample file python ./setup.py build install --root=$PKG # Copy documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -for docdir in $DOCFILES ; do mv $docdir $PKG/usr/doc/$PRGNAM-$VERSION/ ; done cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/easygui/easygui.info b/python/easygui/easygui.info index 9b5c5fd618..93703c5428 100644 --- a/python/easygui/easygui.info +++ b/python/easygui/easygui.info @@ -1,8 +1,8 @@ PRGNAM="easygui" -VERSION="0.96" +VERSION="0.97.4" HOMEPAGE="http://easygui.sourceforge.net/" -DOWNLOAD="http://easygui.sourceforge.net/download/version_0.96/easygui_version_0.96_docs.tar.gz" -MD5SUM="2b97ebdee114e8723e84ef542506ddf2" +DOWNLOAD="http://downloads.sourceforge.net/project/easygui/0.97.4/easygui-0.97.4.zip" +MD5SUM="94627fed6574c3a6c704789854db1804" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |