aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-12 17:38:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:38:22 +0200
commitebeebd47d7437c30791c01e71f5b8b78522be855 (patch)
tree3659c6ba24651679ab3f02b90505763be3fb303d
parentd487978acc977bde4249a5ad186c987bde9ae9de (diff)
development/easygui: Updated for version 0.91
-rw-r--r--development/easygui/README27
-rw-r--r--development/easygui/easygui.SlackBuild24
-rw-r--r--development/easygui/easygui.info8
3 files changed, 31 insertions, 28 deletions
diff --git a/development/easygui/README b/development/easygui/README
index fa883e35d1585..0e7b2c558c65b 100644
--- a/development/easygui/README
+++ b/development/easygui/README
@@ -1,19 +1,20 @@
-easygui is a module for very simple, very easy GUI programming in Python.
+easygui is a module for very simple, very easy GUI programming
+in Python.
Experienced Pythonistas need support for quick and dirty GUI features.
New Python programmers need GUI capabilities that don't require any
-knowledge of Tkinter, frames, widgets, callbacks or lambda. This is what
-easygui provides. Using it, all GUI interactions are invoked by simple
-function calls.
+knowledge of Tkinter, frames, widgets, callbacks or lambda. This is
+what easygui provides. Using it, all GUI interactions are invoked
+by simple function calls.
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
-dialogs for simple input and output when you need to. If you have 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 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, PythonCard, Tkinter, wxPython, etc. 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.
+dialogs for simple input and output when you need to. If you have 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
+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,
+PythonCard, Tkinter, wxPython, etc.
+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.
-It is released under Creative Commons Attribution 2.0 License.
+A tutorial and more complete documentation can be found on easygui homepage.
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild
index dd595a912c298..17a2ac5742ed4 100644
--- a/development/easygui/easygui.SlackBuild
+++ b/development/easygui/easygui.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for easygui
-# Copyright 2007-8 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2007-2009 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=easygui
-VERSION=0.83
-SRC_VERSION=83
-ARCH=${ARCH:-noarch}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.91}
+ARCH=noarch
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -34,9 +33,11 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRC_VERSION=v$VERSION
# directory for python packages
PYTHONDIR=$(python -c 'import sys, os; print os.path.join("/usr/lib", "python%s" % sys.version[:3], "site-packages")')
-DOCFILES="*.png *.gif *.css *.html"
+SAMPLEFILE="python_and_check_logo.gif"
+DOCFILES="*.txt *.html"
set -e # Exit on most errors
@@ -46,19 +47,20 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/${PRGNAM}${SRC_VERSION}.zip
+tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# install .py source file and sample file
+mkdir -p $PKG/$PYTHONDIR
+install -m 0644 $PRGNAM.py $PKG/$PYTHONDIR
+cp -a $SAMPLEFILE $PKG/$PYTHONDIR
+
# Copy documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# install .py source file
-mkdir -p $PKG/$PYTHONDIR
-install -m 0644 $PRGNAM.py $PKG/$PYTHONDIR
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/easygui/easygui.info b/development/easygui/easygui.info
index 892c95a9a846e..812d7d2f1e22b 100644
--- a/development/easygui/easygui.info
+++ b/development/easygui/easygui.info
@@ -1,8 +1,8 @@
PRGNAM="easygui"
-VERSION="0.83"
+VERSION="0.91"
HOMEPAGE="http://easygui.sourceforge.net/"
-DOWNLOAD="http://easygui.sourceforge.net/easygui83.zip"
-MD5SUM="364b635b98619fc9677ffc63f3ed38ce"
+DOWNLOAD="http://easygui.sourceforge.net/current_version/easygui_v0.91.tar.gz"
+MD5SUM="a3c4e74d95ac8d32b8c9bcfeed964190"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="David Somero"
+APPROVED="dsomero"