mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/easygui: Updated for version 0.95.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
b323e61539
commit
0758cf3335
3 changed files with 15 additions and 11 deletions
|
@ -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.
|
||||
|
||||
A tutorial and more complete documentation can be found on easygui homepage.
|
||||
|
||||
It can display all image-file formats supported by Python Imaging Library.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for easygui
|
||||
|
||||
# Copyright 2007-2009 LukenShiro <lukenshiro@ngi.it>
|
||||
# Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,16 +23,14 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=easygui
|
||||
VERSION=${VERSION:-0.93}
|
||||
VERSION=${VERSION:-0.95}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -56,11 +54,11 @@ else
|
|||
fi
|
||||
|
||||
# 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"
|
||||
DOCFILES="*.txt *.html"
|
||||
|
||||
set -e # Exit on most errors
|
||||
set -e # Exit on most errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -70,11 +68,15 @@ mkdir -p $PRGNAM-$VERSION
|
|||
cd $PRGNAM-$VERSION
|
||||
tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz
|
||||
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
|
||||
python ./setup.py build install --root=$PKG
|
||||
mkdir -p $PKG/$PYTHONDIR
|
||||
install -m 0644 $PRGNAM.py $PKG/$PYTHONDIR
|
||||
cp -a $SAMPLEFILE $PKG/$PYTHONDIR
|
||||
|
||||
# Copy documentation files
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="easygui"
|
||||
VERSION="0.93"
|
||||
VERSION="0.95"
|
||||
HOMEPAGE="http://easygui.sourceforge.net/"
|
||||
DOWNLOAD="http://easygui.sourceforge.net/current_version/easygui_v0.93.tar.gz"
|
||||
MD5SUM="764af8a7121751289284957133244867"
|
||||
DOWNLOAD="http://easygui.sourceforge.net/download/current_version/easygui_v0.95.tar.gz"
|
||||
MD5SUM="45aac917f91d1378b4e74027dbf21b75"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="LukenShiro"
|
||||
|
|
Loading…
Reference in a new issue