development/easygui: Updated for version 0.95.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
LukenShiro 2010-06-20 08:21:40 -04:00 committed by Erik Hanson
parent b323e61539
commit 0758cf3335
3 changed files with 15 additions and 11 deletions

View file

@ -18,3 +18,5 @@ easygui is there just to do very basic stuff. More elaborate stuff should
be done with more powerful tools. easygui is built on top of Tkinter. be done with more powerful tools. easygui is built on top of Tkinter.
A tutorial and more complete documentation can be found on easygui homepage. A tutorial and more complete documentation can be found on easygui homepage.
It can display all image-file formats supported by Python Imaging Library.

View file

@ -2,7 +2,7 @@
# Slackware build script for easygui # Slackware build script for easygui
# Copyright 2007-2009 LukenShiro <lukenshiro@ngi.it> # Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=easygui PRGNAM=easygui
VERSION=${VERSION:-0.93} VERSION=${VERSION:-0.95}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -56,11 +54,11 @@ else
fi fi
# directory for python packages # directory for python packages
PYTHONDIR="/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages" PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
SAMPLEFILE="python_and_check_logo.gif" SAMPLEFILE="python_and_check_logo.gif"
DOCFILES="*.txt *.html" DOCFILES="*.txt *.html"
set -e # Exit on most errors set -e # Exit on most errors
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -70,11 +68,15 @@ mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# install .py source file and sample file # install .py source file and sample file
python ./setup.py build install --root=$PKG
mkdir -p $PKG/$PYTHONDIR mkdir -p $PKG/$PYTHONDIR
install -m 0644 $PRGNAM.py $PKG/$PYTHONDIR
cp -a $SAMPLEFILE $PKG/$PYTHONDIR cp -a $SAMPLEFILE $PKG/$PYTHONDIR
# Copy documentation files # Copy documentation files

View file

@ -1,8 +1,8 @@
PRGNAM="easygui" PRGNAM="easygui"
VERSION="0.93" VERSION="0.95"
HOMEPAGE="http://easygui.sourceforge.net/" HOMEPAGE="http://easygui.sourceforge.net/"
DOWNLOAD="http://easygui.sourceforge.net/current_version/easygui_v0.93.tar.gz" DOWNLOAD="http://easygui.sourceforge.net/download/current_version/easygui_v0.95.tar.gz"
MD5SUM="764af8a7121751289284957133244867" MD5SUM="45aac917f91d1378b4e74027dbf21b75"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="LukenShiro" MAINTAINER="LukenShiro"