Test environment: host is slackware64-13.37 with qemu, guests are
slackware{,64}-current as of Aug 4 2012.

Removals:

python/pygtksourceview:  gtksourceview 2.x does not seem to compile as
  is, and pygtksourceview is not compatible with gtksourceview 3.x.  I
  guess pygtksourceview is legacy stuff anyway: everyone should be
  switching to pygobject, which does not require separate bindings for
  each library.  Unless the maintainer of gtksourceview finds a way to
  make 2.x work, remove the pygtksourceview, please.
development/gazpacho:  gazpacho builds (well, it's python), but doesn't
  work.  There has not been an update in years, so I guess this is
  end-of-life for this SlackBuild.  Remove, please.

Requires changes:

desktop/bashrun:  Requires an updated download URL.
desktop/qtwitter:  Requires a patch to fix underlinking from upstream
  git.
development/gaphor:  Requires a new dependency (etk.docking) and a
  patch to fix zope.component usage from upstream git.
python/etk.docking:  Added (PyGTK docking widgets).

The patches against the SlackBuilds are attached, and also available
at http://github.com/vmj/slackbuilds (look for branches).  Those
mentioned above are the important ones, the rest of the attached
patches just align the SBo copy with my local copy.

Following SlackBuilds are tested to be OK as is:

desktop/bashrun2
desktop/dzen2
desktop/xmobar
desktop/xmonad
development/Sphinx
development/alex
development/darcs
development/happy
development/kiwi
development/nose
development/setuptools-git
development/zope.interface
development/zope.testing
haskell/ghc
haskell/haskell-Diff
haskell/haskell-GLURaw
haskell/haskell-GLUT
haskell/haskell-HTTP
haskell/haskell-HUnit
haskell/haskell-MonadCatchIO-mtl
haskell/haskell-ObjectName
haskell/haskell-OpenGL
haskell/haskell-OpenGLRaw
haskell/haskell-QuickCheck
haskell/haskell-StateVar
haskell/haskell-Tensor
haskell/haskell-X11
haskell/haskell-X11-xft
haskell/haskell-ansi-terminal
haskell/haskell-ansi-wl-pprint
haskell/haskell-base64-bytestring
haskell/haskell-blaze-builder
haskell/haskell-blaze-html
haskell/haskell-blaze-markup
haskell/haskell-bmp
haskell/haskell-cgi
haskell/haskell-citeproc-hs
haskell/haskell-dataenc
haskell/haskell-digest
haskell/haskell-dlist
haskell/haskell-editline
haskell/haskell-fgl
haskell/haskell-ghc-paths
haskell/haskell-gloss
haskell/haskell-hashed-storage
haskell/haskell-haskeline
haskell/haskell-haskell-src
haskell/haskell-highlighting-kate
haskell/haskell-hinotify
haskell/haskell-hostname
haskell/haskell-html
haskell/haskell-json
haskell/haskell-lcs
haskell/haskell-mmap
haskell/haskell-mtl
haskell/haskell-network
haskell/haskell-pandoc-types
haskell/haskell-parallel
haskell/haskell-parsec
haskell/haskell-primitive
haskell/haskell-random
haskell/haskell-regex-base
haskell/haskell-regex-compat
haskell/haskell-regex-pcre-builtin
haskell/haskell-regex-posix
haskell/haskell-stm
haskell/haskell-syb
haskell/haskell-tagsoup
haskell/haskell-tar
haskell/haskell-temporary
haskell/haskell-terminfo
haskell/haskell-test-framework
haskell/haskell-test-framework-hunit
haskell/haskell-test-framework-quickcheck2
haskell/haskell-texmath
haskell/haskell-text
haskell/haskell-transformers
haskell/haskell-utf8-string
haskell/haskell-vector
haskell/haskell-xhtml
haskell/haskell-xml
haskell/haskell-zip-archive
haskell/haskell-zlib
haskell/xmonad-contrib
libraries/FormEncode
libraries/Jinja2
libraries/SQLObject
libraries/ZConfig
libraries/ZODB3
libraries/decorator
libraries/gaphas
libraries/libedit
libraries/qoauth
libraries/simplegeneric
libraries/zc.lockfile
libraries/zdaemon
libraries/zope.component
libraries/zope.configuration
libraries/zope.event
libraries/zope.hookable
libraries/zope.i18nmessageid
libraries/zope.location
libraries/zope.proxy
libraries/zope.schema
libraries/zope.security
network/canto
network/vde2
perl/perl-Config-Find
perl/perl-File-HomeDir
perl/perl-File-Which
perl/perl-IPC-Run3
perl/perl-Probe-Perl
perl/perl-Regexp-Common
perl/perl-Sort-Naturally
perl/perl-Test-Script
python/python2-chardet
python/subvertpy
>From a0b9efca360548fe6ba2f0e407be9b31eb0a5400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Fri, 6 Jan 2012 12:18:45 +0200
Subject: [PATCH 1/2] desktop/bashrun: Update copyright year.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/bashrun/bashrun.SlackBuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/bashrun/bashrun.SlackBuild b/desktop/bashrun/bashrun.SlackBuild
index ccd3056..b900bdf 100644
--- a/desktop/bashrun/bashrun.SlackBuild
+++ b/desktop/bashrun/bashrun.SlackBuild
@@ -2,7 +2,7 @@
 
 # Slackware build script for bashrun
 
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2012 Mikko Värri, Finland
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
-- 
1.7.4.4

>From b1f8396588994c2c65be2f2907dcf6cf37913afd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Wed, 8 Aug 2012 14:18:54 +0300
Subject: [PATCH 2/2] desktop/bashrun: Update download URL.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/bashrun/bashrun.info |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/bashrun/bashrun.info b/desktop/bashrun/bashrun.info
index f5ece1f..1d2d1f7 100644
--- a/desktop/bashrun/bashrun.info
+++ b/desktop/bashrun/bashrun.info
@@ -1,7 +1,7 @@
 PRGNAM="bashrun"
 VERSION="0.16.1"
 HOMEPAGE="http://bashrun.sourceforge.net/";
-DOWNLOAD="http://ovh.dl.sourceforge.net/project/bashrun/Bashrun/bashrun-0.16.1/bashrun-0.16.1.tar.gz";
+DOWNLOAD="http://downloads.sourceforge.net/bashrun/bashrun-0.16.1.tar.gz";
 MD5SUM="cfc3b503fed6c2553f9e385617a9d1d1"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-- 
1.7.4.4

>From 13cf6a2f7df0cb21f254d5450c9e2f2b1044e3af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Mon, 21 Jun 2010 02:47:32 +0300
Subject: [PATCH 1/5] =?UTF-8?q?desktop/qtwitter:=20s/Varri/V=C3=A4rri/.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/qtwitter/qtwitter.info |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/qtwitter/qtwitter.info b/desktop/qtwitter/qtwitter.info
index 5a4a6cd..d64a1b3 100644
--- a/desktop/qtwitter/qtwitter.info
+++ b/desktop/qtwitter/qtwitter.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://files.ayoy.net/qtwitter/release/0.10.0/src/qtwitter-0.10.0-src.
 MD5SUM="cf91c87e29ab87d1043056a263c3af56"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-MAINTAINER="Mikko Varri"
+MAINTAINER="Mikko Värri"
 EMAIL="[email protected]"
 APPROVED="dsomero"
-- 
1.7.4.4

>From 8b76fe41dd2a97cc3c4dcb0ae0fdbc3dc5a9dac1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Thu, 23 Dec 2010 00:40:42 +0200
Subject: [PATCH 2/5] desktop/qtwitter: README cleanup.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/qtwitter/README |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/desktop/qtwitter/README b/desktop/qtwitter/README
index 7b90e5d..1492650 100644
--- a/desktop/qtwitter/README
+++ b/desktop/qtwitter/README
@@ -1,5 +1,3 @@
-qtwitter (microblogging client for StatusNet sites and Twitter)
-
 qTwitter is an application interacting with microblogging services,
 such as Twitter, Identi.ca and others based on StatusNet application
 (former laconica).  It aims to be as compact as possible still
-- 
1.7.4.4

>From 16ff642f167297b82f800190be46392c7aec812f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Fri, 6 Jan 2012 12:12:46 +0200
Subject: [PATCH 3/5] desktop/qtwitter: Use NULL termination when finding bins
 to strip.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/qtwitter/qtwitter.SlackBuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index 8fc95f9..54399bb 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -84,7 +84,7 @@ qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
 make
 make install INSTALL_ROOT=$PKG
 
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-- 
1.7.4.4

>From ac1303c4712b402c2f76eb64ba59db55bde0af17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Fri, 6 Jan 2012 12:18:47 +0200
Subject: [PATCH 4/5] desktop/qtwitter: Update copyright year.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/qtwitter/qtwitter.SlackBuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index 54399bb..ff7e425 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -2,7 +2,7 @@
 
 # Slackware build script for qtwitter
 
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2012 Mikko Värri, Finland
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
-- 
1.7.4.4

>From 8a89b13e7ca5fbe1d90e41a11c499bbe35c378dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Wed, 8 Aug 2012 14:22:18 +0300
Subject: [PATCH 5/5] desktop/qtwitter: Add patches from upstream.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 desktop/qtwitter/fix_insecure_runpaths.patch       |   10 ++++++++++
 .../fix_qtwitter_desktop_to_pass_validation.patch  |   11 +++++++++++
 desktop/qtwitter/fix_underlinking.patch            |   12 ++++++++++++
 desktop/qtwitter/qtwitter.SlackBuild               |    7 ++++++-
 4 files changed, 39 insertions(+), 1 deletions(-)
 create mode 100644 desktop/qtwitter/fix_insecure_runpaths.patch
 create mode 100644 desktop/qtwitter/fix_qtwitter_desktop_to_pass_validation.patch
 create mode 100644 desktop/qtwitter/fix_underlinking.patch

diff --git a/desktop/qtwitter/fix_insecure_runpaths.patch b/desktop/qtwitter/fix_insecure_runpaths.patch
new file mode 100644
index 0000000..7b4ab7d
--- /dev/null
+++ b/desktop/qtwitter/fix_insecure_runpaths.patch
@@ -0,0 +1,10 @@
+--- qtwitter-app/qtwitter-app.pro.orig	2012-08-07 15:30:44.098000989 +0300
++++ qtwitter-app/qtwitter-app.pro	2012-08-07 15:31:03.446998525 +0300
+@@ -82,7 +82,6 @@
+ }
+ else:unix {
+     LIBS += -L$${DESTDIR} \
+-        -Wl,-rpath,$${DESTDIR} \
+         $$TWITTERAPI_LIB
+     target.path = $${INSTALL_PREFIX}/bin
+     PLUGINS_DIR = $${INSTALL_PREFIX}/lib$${LIB_SUFFIX}/$${TARGET}/plugins
diff --git a/desktop/qtwitter/fix_qtwitter_desktop_to_pass_validation.patch b/desktop/qtwitter/fix_qtwitter_desktop_to_pass_validation.patch
new file mode 100644
index 0000000..0f850c8
--- /dev/null
+++ b/desktop/qtwitter/fix_qtwitter_desktop_to_pass_validation.patch
@@ -0,0 +1,11 @@
+--- qtwitter-app/x11/qtwitter.desktop.orig	2012-08-07 15:34:04.781987614 +0300
++++ qtwitter-app/x11/qtwitter.desktop	2012-08-07 15:34:21.032000002 +0300
+@@ -3,7 +3,7 @@
+ Name=qTwitter
+ Icon=qtwitter
+ Type=Application
+-Categories=Qt;Network;Instant Messaging;
++Categories=Qt;Network;InstantMessaging;
+ Comment=A microblogging client
+ Comment[ca]=El client de Twitter i Identi.ca
+ Comment[de]=Ein Twitter und Identi.ca Kunde
diff --git a/desktop/qtwitter/fix_underlinking.patch b/desktop/qtwitter/fix_underlinking.patch
new file mode 100644
index 0000000..4807874
--- /dev/null
+++ b/desktop/qtwitter/fix_underlinking.patch
@@ -0,0 +1,12 @@
+--- qtwitter-app/qtwitter-app.pro.orig	2012-08-07 15:32:14.975000266 +0300
++++ qtwitter-app/qtwitter-app.pro	2012-08-07 15:32:43.860999601 +0300
+@@ -82,7 +82,8 @@
+ }
+ else:unix {
+     LIBS += -L$${DESTDIR} \
+-        $$TWITTERAPI_LIB
++        $$TWITTERAPI_LIB \
++        -lX11
+     target.path = $${INSTALL_PREFIX}/bin
+     PLUGINS_DIR = $${INSTALL_PREFIX}/lib$${LIB_SUFFIX}/$${TARGET}/plugins
+     DEFINES += PLUGINS_DIR='\\\"$${PLUGINS_DIR}\\\"'
diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index ff7e425..9dedbfc 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -24,7 +24,7 @@
 
 PRGNAM=qtwitter
 VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 # Automatically determine the architecture we're building on:
@@ -76,6 +76,11 @@ find . \
 patch -p0 <$CWD/twitterapi_twitterapi.pro.patch
 patch -p0 <$CWD/qtwitter-app_qtwitter-app.pro.patch
 
+# Following three patches are from the qtwitter git repository.
+patch -p0 <$CWD/fix_insecure_runpaths.patch
+patch -p0 <$CWD/fix_underlinking.patch
+patch -p0 <$CWD/fix_qtwitter_desktop_to_pass_validation.patch
+
 qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
     QMAKE_CFLAGS="$SLKCFLAGS" \
     QMAKE_CXXFLAGS="$SLKCFLAGS" \
-- 
1.7.4.4

>From 77c9c0dc3b22bce4158f2c6d8170be10ea40a1df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Wed, 8 Aug 2012 14:25:46 +0300
Subject: [PATCH] development/gaphor: Add a patch and a new dependency.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 development/gaphor/README                          |    5 ++---
 .../gaphor/fix_zope_component_registry.patch       |   19 +++++++++++++++++++
 development/gaphor/gaphor.SlackBuild               |    3 +++
 3 files changed, 24 insertions(+), 3 deletions(-)
 create mode 100644 development/gaphor/fix_zope_component_registry.patch

diff --git a/development/gaphor/README b/development/gaphor/README
index 706d5a6..79a7cdb 100644
--- a/development/gaphor/README
+++ b/development/gaphor/README
@@ -1,6 +1,5 @@
 Gaphor is a UML modeling tool written in Python.  It uses the GTK+
 environment for user interaction.
 
-This requires zope.component and gaphas.
-
-To build, this requires pysetuptools, setuptools-git and nose.
+This requires pysetuptools, setuptools-git, nose, etk.docking,
+zope.component, and gaphas.
diff --git a/development/gaphor/fix_zope_component_registry.patch b/development/gaphor/fix_zope_component_registry.patch
new file mode 100644
index 0000000..36e15aa
--- /dev/null
+++ b/development/gaphor/fix_zope_component_registry.patch
@@ -0,0 +1,19 @@
+--- gaphor/services/componentregistry.py.orig	2012-08-08 13:57:32.000000000 +0300
++++ gaphor/services/componentregistry.py	2012-08-08 13:57:57.000000000 +0300
+@@ -7,6 +7,7 @@
+ """
+ 
+ from zope import interface, component
++from zope.component import registry
+ from gaphor.core import inject
+ from gaphor.interfaces import IService, IEventFilter
+ 
+@@ -27,7 +28,7 @@
+         pass
+ 
+     def init(self, app):
+-        self._components = component.registry.Components(
++        self._components = registry.Components(
+                                name='component_registry',
+                                bases=(component.getGlobalSiteManager(),))
+ 
diff --git a/development/gaphor/gaphor.SlackBuild b/development/gaphor/gaphor.SlackBuild
index 139ffae..1d7a993 100644
--- a/development/gaphor/gaphor.SlackBuild
+++ b/development/gaphor/gaphor.SlackBuild
@@ -55,6 +55,9 @@ find . \
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
+# A patch from upstream git
+patch -p0 <$CWD/fix_zope_component_registry.patch
+
 python setup.py install --root=$PKG
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-- 
1.7.4.4

>From 2d89ca25b64f69362b284aa0e86ac1c400edca10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikko=20V=C3=A4rri?= <[email protected]>
Date: Wed, 8 Aug 2012 18:53:03 +0300
Subject: [PATCH] python/etk.docking: Added (pygtk docking widgets).
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mikko Värri <[email protected]>
---
 python/etk.docking/README                 |    3 +
 python/etk.docking/etk.docking.SlackBuild |   68 +++++++++++++++++++++++++++++
 python/etk.docking/etk.docking.info       |   10 ++++
 python/etk.docking/slack-desc             |   19 ++++++++
 4 files changed, 100 insertions(+), 0 deletions(-)
 create mode 100644 python/etk.docking/README
 create mode 100644 python/etk.docking/etk.docking.SlackBuild
 create mode 100644 python/etk.docking/etk.docking.info
 create mode 100644 python/etk.docking/slack-desc

diff --git a/python/etk.docking/README b/python/etk.docking/README
new file mode 100644
index 0000000..317f60e
--- /dev/null
+++ b/python/etk.docking/README
@@ -0,0 +1,3 @@
+Library of docking widgets for PyGTK applications.
+
+This requires pysetuptools, simplegeneric and nose.
diff --git a/python/etk.docking/etk.docking.SlackBuild b/python/etk.docking/etk.docking.SlackBuild
new file mode 100644
index 0000000..aedac17
--- /dev/null
+++ b/python/etk.docking/etk.docking.SlackBuild
@@ -0,0 +1,68 @@
+#!/bin/sh
+
+# Slackware build script for etk.docking
+
+# Copyright 2012 Mikko Värri, Finland
+# 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.
+
+PRGNAM=etk.docking
+VERSION=${VERSION:-0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+  case "$( uname -m )" in
+    i?86) ARCH=i486 ;;
+    arm*) ARCH=arm ;;
+       *) ARCH=$( uname -m ) ;;
+  esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+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 {} \;
+
+python setup.py install --root=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LESSER $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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.${PKGTYPE:-tgz}
diff --git a/python/etk.docking/etk.docking.info b/python/etk.docking/etk.docking.info
new file mode 100644
index 0000000..229aab9
--- /dev/null
+++ b/python/etk.docking/etk.docking.info
@@ -0,0 +1,10 @@
+PRGNAM="etk.docking"
+VERSION="0.2"
+HOMEPAGE="http://pypi.python.org/pypi/etk.docking/";
+DOWNLOAD="http://pypi.python.org/packages/source/e/etk.docking/etk.docking-0.2.tar.gz";
+MD5SUM="ec6249aee6cd210bbdffd7bbe839e0a1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Mikko Värri"
+EMAIL="[email protected]"
+APPROVED=""
diff --git a/python/etk.docking/slack-desc b/python/etk.docking/slack-desc
new file mode 100644
index 0000000..6885b38
--- /dev/null
+++ b/python/etk.docking/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------------------------------------------------------|
+etk.docking: etk.docking (PyGTK Docking Widgets)
+etk.docking:
+etk.docking: Library of docking widgets for PyGTK applications.
+etk.docking:
+etk.docking:
+etk.docking:
+etk.docking:
+etk.docking:
+etk.docking:
+etk.docking:
+etk.docking:
-- 
1.7.4.4

_______________________________________________
SlackBuilds-users mailing list
[email protected]
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/

Reply via email to