development/easygui: Updated for version 0.96.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
LukenShiro 2011-12-15 23:16:31 -06:00 committed by Niels Horn
parent b54cd749f7
commit b15dc64c5a
4 changed files with 19 additions and 29 deletions

View file

@ -1,22 +1,15 @@
easygui is a module for very simple, very easy GUI programming easygui is a module for very simple, very easy GUI programming in Python.
in Python.
Experienced Pythonistas need support for quick and dirty GUI features. Experienced Pythonistas need support for quick and dirty GUI features.
New Python programmers need GUI capabilities that don't require any New Python programmers need GUI capabilities that don't require any
knowledge of Tkinter, frames, widgets, callbacks or lambda. This is knowledge of Tkinter, frames, widgets, callbacks or lambda. This is
what easygui provides. Using it, all GUI interactions are invoked what easygui provides. Using it, all GUI interactions are invoked
by simple function calls. by simple function calls.
easygui is different from other GUIs in that it is NOT event-driven. easygui is different from other GUIs in that it is NOT event-driven.
It allows you to program in a traditional linear fashion, and to put up It allows you to program in a traditional linear fashion, and to put up
dialogs for simple input and output when you need to. If you have not yet dialogs for simple input and output when you need to do so. If you have
learned the event-driven paradigm for GUI programming, easygui will not yet learned the event-driven paradigm for GUI programming, easygui will
allow you to be productive with very basic tasks immediately. Later, if you allow you to be productive with very basic tasks immediately. If you later
wish to make the transition to an event-driven GUI paradigm, you can move wish to make the transition to an event-driven GUI paradigm, you can move
to an event-driven style with a more powerful GUI package such as anygui, to an event-driven style with a more powerful GUI package such as anygui,
PythonCard, Tkinter, wxPython, etc. PythonCard, Tkinter, wxPython, etcetera.
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.
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-2010 LukenShiro <lukenshiro@ngi.it> # Copyright 2007-2011 LukenShiro, Italy
# 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,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=easygui PRGNAM=easygui
VERSION=${VERSION:-0.95} VERSION=${VERSION:-0.96}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
SRC_VERSION=v$VERSION SRC_VERSION=version_${VERSION}_docs
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
@ -55,8 +55,7 @@ fi
# directory for python packages # directory for python packages
PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], '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" DOCFILES="cookbook faq epydoc pydoc tutorial"
DOCFILES="*.txt *.html"
set -e # Exit on most errors set -e # Exit on most errors
@ -76,12 +75,10 @@ find . \
# install .py source file and sample file # install .py source file and sample file
python ./setup.py build install --root=$PKG python ./setup.py build install --root=$PKG
mkdir -p $PKG/$PYTHONDIR
cp -a $SAMPLEFILE $PKG/$PYTHONDIR
# Copy documentation files # Copy documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $DOCFILES $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="easygui" PRGNAM="easygui"
VERSION="0.95" VERSION="0.96"
HOMEPAGE="http://easygui.sourceforge.net/" HOMEPAGE="http://easygui.sourceforge.net/"
DOWNLOAD="http://easygui.sourceforge.net/download/version0.95/easygui_v0.95.tar.gz" DOWNLOAD="http://easygui.sourceforge.net/download/version_0.96/easygui_version_0.96_docs.tar.gz"
MD5SUM="45aac917f91d1378b4e74027dbf21b75" MD5SUM="2b97ebdee114e8723e84ef542506ddf2"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="LukenShiro" MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it" EMAIL="lukenshiro@ngi.it"
APPROVED="dsomero" APPROVED="rworkman"

View file

@ -7,13 +7,13 @@
|-----handy-ruler-------------------------------------------------------| |-----handy-ruler-------------------------------------------------------|
easygui: easygui (very easy GUI programming in python on top of Tkinter) easygui: easygui (very easy GUI programming in python on top of Tkinter)
easygui: easygui:
easygui: It provides an easy-to-use interface for simple GUI interaction with easygui: It provides an easy-to-use interface for simple GUI interaction with
easygui: a user. It does not require the programmer to know anything about easygui: a user. It does not require the programmer to know anything about
easygui: tkinter, frames, widgets, callbacks or lambda. easygui: tkinter, frames, widgets, callbacks or lambda.
easygui: All GUI interactions are invoked by simple function calls that return easygui: All GUI interactions are invoked by simple function calls that return
easygui: results. It is written by Stephen Ferg. easygui: results. It is written by Stephen Ferg.
easygui: easygui:
easygui:
easygui: Homepage: http://easygui.sourceforge.net easygui: Homepage: http://easygui.sourceforge.net
easygui: easygui:
easygui: