summaryrefslogtreecommitdiff
path: root/development/easygui
diff options
context:
space:
mode:
Diffstat (limited to 'development/easygui')
-rw-r--r--development/easygui/LICENSE10
-rw-r--r--development/easygui/README30
-rw-r--r--development/easygui/easygui.SlackBuild29
-rw-r--r--development/easygui/easygui.info10
-rw-r--r--development/easygui/slack-desc18
5 files changed, 45 insertions, 52 deletions
diff --git a/development/easygui/LICENSE b/development/easygui/LICENSE
deleted file mode 100644
index 6299f3550c..0000000000
--- a/development/easygui/LICENSE
+++ /dev/null
@@ -1,10 +0,0 @@
-Copyright (c) 2002-2004, Stephen Ferg
-
-This work is licensed under the Creative Commons Attribution 2.0
-License. You are free to copy, distribute, and display the work,
-and to make derivative works (including translations). If you do,
-you must give the original author credit. The author specifically
-permits (and encourages) teachers to post, reproduce, and distribute
-some or all of this material for use in their classes or by their
-students.
-http://creativecommons.org/licenses/by/2.0/
diff --git a/development/easygui/README b/development/easygui/README
index 535fac7ea5..fa883e35d1 100644
--- a/development/easygui/README
+++ b/development/easygui/README
@@ -1,17 +1,19 @@
-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 EasyGUI, all GUI interactions are invoked
-by simple function calls.
-EasyGUI is different from other GUIs in that EasyGUI is NOT event-driven.
+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.
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild
index 12bd57a836..dd595a912c 100644
--- a/development/easygui/easygui.SlackBuild
+++ b/development/easygui/easygui.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for easygui
-# Copyright 2007 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2007-8 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,22 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Exit on most errors
-set -e
-
PRGNAM=easygui
-VERSION=0.72
-ARCH=i486
-BUILD=${BUILD:-1}
+VERSION=0.83
+SRC_VERSION=83
+ARCH=${ARCH:-noarch}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-PYTHON_DIR="/usr/lib/python2.5/site-packages/"
+# 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"
-# SLKCFLAGS are not used
+set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -45,18 +46,18 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM.zip
-chown -R root:root . || true
+unzip $CWD/${PRGNAM}${SRC_VERSION}.zip
+chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Copy documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 644 easygui.txt $CWD/LICENSE $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/$PYTHON_DIR
-install -m 644 $PRGNAM.py $PKG/$PYTHON_DIR
+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 46d6d36e6e..892c95a9a8 100644
--- a/development/easygui/easygui.info
+++ b/development/easygui/easygui.info
@@ -1,8 +1,8 @@
PRGNAM="easygui"
-VERSION="0.72"
-HOMEPAGE="http://www.ferg.org/easygui/"
-DOWNLOAD="http://www.ferg.org/easygui/easygui.zip"
-MD5SUM="32aefe99d98aaea41576038da0513e07"
+VERSION="0.83"
+HOMEPAGE="http://easygui.sourceforge.net/"
+DOWNLOAD="http://easygui.sourceforge.net/easygui83.zip"
+MD5SUM="364b635b98619fc9677ffc63f3ed38ce"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="rworkman"
+APPROVED="David Somero"
diff --git a/development/easygui/slack-desc b/development/easygui/slack-desc
index 55692adb03..282bd5ccd1 100644
--- a/development/easygui/slack-desc
+++ b/development/easygui/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
-easygui: EasyGui (very easy GUI programming in python on top of Tkinter)
+ |-----handy-ruler-------------------------------------------------------|
+easygui: easygui (very easy GUI programming in python on top of Tkinter)
easygui:
-easygui: It provides an easy-to-use interface for simple GUI interaction
-easygui: with a user. It does not require the programmer to know anything
-easygui: about tkinter, frames, widgets, callbacks or lambda. All GUI
-easygui: interactions are invoked by simple function calls that return
-easygui: results. It is written by Stephen Ferg and is released under
-easygui: Creative Commons Attribution 2.0 License.
+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: tkinter, frames, widgets, callbacks or lambda.
+easygui: All GUI interactions are invoked by simple function calls that return
+easygui: results. It is written by Stephen Ferg.
easygui:
-easygui: http://www.ferg.org/easygui/
+easygui:
+easygui: Homepage: http://easygui.sourceforge.net
easygui: