From d1d9c420a240452ed7061987923c3a1472bf7309 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 19:45:25 +0200 Subject: [PATCH] libraries/pygtk: Updated for version 2.10.5 --- libraries/pygtk/README | 1 - libraries/pygtk/pygtk.SlackBuild | 12 ++++++------ libraries/pygtk/pygtk.info | 8 ++++---- libraries/pygtk/slack-desc | 11 ++++++++++- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/libraries/pygtk/README b/libraries/pygtk/README index 4a77ba7a98..28dbdc604f 100644 --- a/libraries/pygtk/README +++ b/libraries/pygtk/README @@ -4,4 +4,3 @@ managing memory and type casting. This requires pygobject and pycairo, both of which are also available at SlackBuilds.org - diff --git a/libraries/pygtk/pygtk.SlackBuild b/libraries/pygtk/pygtk.SlackBuild index 9a5fc7c135..45b0e2182d 100644 --- a/libraries/pygtk/pygtk.SlackBuild +++ b/libraries/pygtk/pygtk.SlackBuild @@ -2,18 +2,20 @@ # Slackware build script for pygtk # Written by Erik Hanson erik@slackbuilds.org -# Modified by the SlackBuilds.org project +# Updated by Andrew Brouwers, abrouwers@gmail.com PRGNAM=pygtk -VERSION=2.10.3 +VERSION=2.10.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DOCS="MAPPING PKG-INFO ChangeLog INSTALL TODO AUTHORS COPYING NEWS README" + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -40,13 +42,11 @@ make || exit 1 make install-strip DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a MAPPING PKG-INFO ChangeLog INSTALL TODO AUTHORS COPYING NEWS README \ - ChangeLog.pre-2-0 examples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION ln -s ../../share/gtk-doc/html/pygtk html ) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -name "Makefile*" -exec rm {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/pygtk/pygtk.info b/libraries/pygtk/pygtk.info index ba6d965a86..c3cb5bf818 100644 --- a/libraries/pygtk/pygtk.info +++ b/libraries/pygtk/pygtk.info @@ -1,8 +1,8 @@ PRGNAM="pygtk" -VERSION="2.10.3" +VERSION="2.10.5" HOMEPAGE="http://www.pygtk.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.10/pygtk-2.10.3.tar.bz2" -MD5SUM="57cd2b7e6e383b58ce145199d03e40b7" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.10/pygtk-2.10.5.tar.bz2" +MD5SUM="8ee5964785b24302305c7ff3109eb3e5" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="elohim,robw810" +APPROVED="rworkman" diff --git a/libraries/pygtk/slack-desc b/libraries/pygtk/slack-desc index 9cf1d95204..88e9367d16 100644 --- a/libraries/pygtk/slack-desc +++ b/libraries/pygtk/slack-desc @@ -1,4 +1,12 @@ -pygtk: pygtk - GTK Bindings for Python +# 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------------------------------------------------------| +pygtk: pygtk (GTK Bindings for Python) pygtk: pygtk: PyGTK provides a convenient wrapper for the GTK+ library for use in pygtk: Python programs, taking care of many of the boring details such as @@ -8,3 +16,4 @@ pygtk: http://www.pygtk.org/ pygtk: pygtk: pygtk: +pygtk: