diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-11 20:00:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:00:23 +0200 |
commit | 6503b265d62bb9198e16fb767a97c877ac070bda (patch) | |
tree | 2dd3b606519ef78a9aa7169e26c5c71d384cb694 /development/easygui | |
parent | e5e53d4c75f4df315bec8ff761a67dea1b002d98 (diff) |
development/easygui: Added to 12.0 repository
Diffstat (limited to 'development/easygui')
-rw-r--r-- | development/easygui/LICENSE | 10 | ||||
-rw-r--r-- | development/easygui/README | 17 | ||||
-rw-r--r-- | development/easygui/easygui.SlackBuild | 65 | ||||
-rw-r--r-- | development/easygui/easygui.info | 8 | ||||
-rw-r--r-- | development/easygui/slack-desc | 19 |
5 files changed, 119 insertions, 0 deletions
diff --git a/development/easygui/LICENSE b/development/easygui/LICENSE new file mode 100644 index 0000000000000..6299f3550c0bf --- /dev/null +++ b/development/easygui/LICENSE @@ -0,0 +1,10 @@ +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 new file mode 100644 index 0000000000000..535fac7ea5054 --- /dev/null +++ b/development/easygui/README @@ -0,0 +1,17 @@ +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. +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. diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild new file mode 100644 index 0000000000000..12bd57a836ff4 --- /dev/null +++ b/development/easygui/easygui.SlackBuild @@ -0,0 +1,65 @@ +#!/bin/sh + +# Slackware build script for easygui + +# Copyright 2007 LukenShiro <lukenshiro@ngi.it> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +PYTHON_DIR="/usr/lib/python2.5/site-packages/" + +# SLKCFLAGS are not used + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +unzip $CWD/$PRGNAM.zip +chown -R root:root . || true +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 +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/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/development/easygui/easygui.info b/development/easygui/easygui.info new file mode 100644 index 0000000000000..46d6d36e6ec50 --- /dev/null +++ b/development/easygui/easygui.info @@ -0,0 +1,8 @@ +PRGNAM="easygui" +VERSION="0.72" +HOMEPAGE="http://www.ferg.org/easygui/" +DOWNLOAD="http://www.ferg.org/easygui/easygui.zip" +MD5SUM="32aefe99d98aaea41576038da0513e07" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="rworkman" diff --git a/development/easygui/slack-desc b/development/easygui/slack-desc new file mode 100644 index 0000000000000..55692adb03d9b --- /dev/null +++ b/development/easygui/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# 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) +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: +easygui: http://www.ferg.org/easygui/ +easygui: |