diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-16 01:13:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-20 12:33:01 -0500 |
commit | 7a1b4848a3d34a263544fadf08178c91c12fbad0 (patch) | |
tree | 8987d0fc908e371dfa87445425f59c7514075b37 /python | |
parent | 987d45e99a299c3b24418b2976e8ec9d5f3bf404 (diff) |
python/*: Moved a lot of Python stuff here
The criteria for whether something "belongs" in Development or
Libraries or Python or ... is admittedly arbitrary. As a general
rule, if it could be either Libraries or Python, it's Python.
Otherwise, pick one and we'll go from there...
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python')
300 files changed, 8566 insertions, 0 deletions
diff --git a/python/SOAPpy/README b/python/SOAPpy/README new file mode 100644 index 000000000000..0080e7296992 --- /dev/null +++ b/python/SOAPpy/README @@ -0,0 +1,6 @@ +The goal of the SOAPpy team is to provide a full-featured SOAP library +for Python that is very simple to use and that fully supports dynamic +interaction between clients and servers. + +SOAPpy requires fpconst and PyXML packages, both avalaible at +SlackBuilds.org. diff --git a/python/SOAPpy/SOAPpy.SlackBuild b/python/SOAPpy/SOAPpy.SlackBuild new file mode 100644 index 000000000000..08215d32d7d0 --- /dev/null +++ b/python/SOAPpy/SOAPpy.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for SOAPpy. +# +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.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. + +PRGNAM=SOAPpy +VERSION=0.11.6 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="ChangeLog LICENSE PKG-INFO README RELEASE_INFO docs" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xzvf $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 {} \; +# fix txts permissions +chmod 644 docs/*.txt + +# Fix imports from future order +patch -p1 < $CWD/imports.patch + +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a $DOCS $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/SOAPpy/SOAPpy.info b/python/SOAPpy/SOAPpy.info new file mode 100644 index 000000000000..2bbb88a1794b --- /dev/null +++ b/python/SOAPpy/SOAPpy.info @@ -0,0 +1,10 @@ +PRGNAM="SOAPpy" +VERSION="0.11.6" +HOMEPAGE="http://pywebsvcs.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/pywebsvcs/SOAPpy-0.11.6.tar.gz" +MD5SUM="51ac835366badedd932c64f26fa8336b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/SOAPpy/imports.patch b/python/SOAPpy/imports.patch new file mode 100644 index 000000000000..efb2931e6b60 --- /dev/null +++ b/python/SOAPpy/imports.patch @@ -0,0 +1,48 @@ +diff -Naur SOAPpy-0.11.6.orig/SOAPpy/Client.py SOAPpy-0.11.6/SOAPpy/Client.py +--- SOAPpy-0.11.6.orig/SOAPpy/Client.py 2004-04-27 17:45:58.000000000 +0200 ++++ SOAPpy-0.11.6/SOAPpy/Client.py 2009-03-13 13:15:11.000000000 +0100 +@@ -40,10 +40,10 @@ + ################################################################################ + """ + +-ident = '$Id: Client.py,v 1.20 2004/04/10 04:22:52 irjudson Exp $' ++from __future__ import nested_scopes + from version import __version__ + +-from __future__ import nested_scopes ++ident = '$Id: Client.py,v 1.20 2004/04/10 04:22:52 irjudson Exp $' + + #import xml.sax + import urllib +diff -Naur SOAPpy-0.11.6.orig/SOAPpy/Server.py SOAPpy-0.11.6/SOAPpy/Server.py +--- SOAPpy-0.11.6.orig/SOAPpy/Server.py 2004-04-28 23:47:10.000000000 +0200 ++++ SOAPpy-0.11.6/SOAPpy/Server.py 2009-03-13 13:15:11.000000000 +0100 +@@ -40,10 +40,10 @@ + ################################################################################ + """ + +-ident = '$Id: Server.py,v 1.20 2004/04/28 21:47:10 warnes Exp $' ++from __future__ import nested_scopes + from version import __version__ + +-from __future__ import nested_scopes ++ident = '$Id: Server.py,v 1.20 2004/04/28 21:47:10 warnes Exp $' + + #import xml.sax + import re +diff -Naur SOAPpy-0.11.6.orig/SOAPpy/Types.py SOAPpy-0.11.6/SOAPpy/Types.py +--- SOAPpy-0.11.6.orig/SOAPpy/Types.py 2004-09-11 05:03:33.000000000 +0200 ++++ SOAPpy-0.11.6/SOAPpy/Types.py 2009-03-13 13:15:11.000000000 +0100 +@@ -33,10 +33,10 @@ + ################################################################################ + """ + +-ident = '$Id: Types.py,v 1.17 2004/09/11 03:03:33 warnes Exp $' ++from __future__ import nested_scopes + from version import __version__ + +-from __future__ import nested_scopes ++ident = '$Id: Types.py,v 1.17 2004/09/11 03:03:33 warnes Exp $' + + import UserList + import base64 diff --git a/python/SOAPpy/slack-desc b/python/SOAPpy/slack-desc new file mode 100644 index 000000000000..db03288ff941 --- /dev/null +++ b/python/SOAPpy/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------------------------------------------------------| +SOAPpy: SOAPpy (SOAP library for Python) +SOAPpy: +SOAPpy: The goal of the SOAPpy team is to provide a full-featured SOAP library +SOAPpy: for Python that is very simple to use and that fully supports dynamic +SOAPpy: interaction between clients and servers. +SOAPpy: +SOAPpy: +SOAPpy: +SOAPpy: +SOAPpy: +SOAPpy: diff --git a/python/cddb-py/README b/python/cddb-py/README new file mode 100644 index 000000000000..7bccd8839f88 --- /dev/null +++ b/python/cddb-py/README @@ -0,0 +1,5 @@ +This is actually a set of three modules to access the CDDB and FreeDB +online databases of audio CD track titles and information. It includes a C +extension module to fetch track lengths under Linux, FreeBSD, OpenBSD, Mac +OS X, Solaris, and Win32, which is easily ported to other operating systems. + diff --git a/python/cddb-py/cddb-py.SlackBuild b/python/cddb-py/cddb-py.SlackBuild new file mode 100644 index 000000000000..8d3ce53a9aec --- /dev/null +++ b/python/cddb-py/cddb-py.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh + +# Slackware build script for cddb-py + +# Written by Mihai Militaru <mihai.militaru@gmx.com> +# March 2009 + +PRGNAM=cddb-py +ORIGNAM=CDDB +VERSION=${VERSION:-1.4} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="COPYING CHANGES README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$ORIGNAM.tar.gz +cd $ORIGNAM-$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 \ + $DOCS \ + $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/cddb-py/cddb-py.info b/python/cddb-py/cddb-py.info new file mode 100644 index 000000000000..57425a15b585 --- /dev/null +++ b/python/cddb-py/cddb-py.info @@ -0,0 +1,10 @@ +PRGNAM="cddb-py" +VERSION="1.4" +HOMEPAGE="http://cddb-py.sourceforge.net/" +DOWNLOAD="http://cddb-py.sourceforge.net/CDDB.tar.gz" +MD5SUM="254698082bafe3030d07d88fb7e13fe2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mihai Militaru" +EMAIL="mihai.militaru@gmx.com" +APPROVED="dsomero" diff --git a/python/cddb-py/slack-desc b/python/cddb-py/slack-desc new file mode 100644 index 000000000000..2215028cbc8e --- /dev/null +++ b/python/cddb-py/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------------------------------------------------| +cddb-py: cddb-py (CDDB and FreeDB audio CD track info access in Python) +cddb-py: +cddb-py: This is actually a set of three modules to access the CDDB and +cddb-py: FreeDB online databases of audio CD track titles and information. +cddb-py: It includes a C extension module to fetch track lengths under +cddb-py: Linux, FreeBSD, OpenBSD, Mac OS X, Solaris, and Win32, which is +cddb-py: easily ported to other operating systems. +cddb-py: +cddb-py: Homepage: http://cddb-py.sourceforge.net/ +cddb-py: +cddb-py: diff --git a/python/dnspython/README b/python/dnspython/README new file mode 100644 index 000000000000..5190a47b0b30 --- /dev/null +++ b/python/dnspython/README @@ -0,0 +1,10 @@ +dnspython is a DNS toolkit for Python. It supports almost all record +types. It can be used for queries, zone transfers, and dynamic updates. +It supports TSIG authenticated messages and EDNS0. + +dnspython provides both high and low level access to DNS. The high +level classes perform queries for data of a given name, type, and +class, and return an answer set. The low level classes allow direct +manipulation of DNS zones, messages, names, and records. + +Optionally, dnspython can use pycrypto for DNSSEC functionality. diff --git a/python/dnspython/dnspython.SlackBuild b/python/dnspython/dnspython.SlackBuild new file mode 100644 index 000000000000..af553b0c9666 --- /dev/null +++ b/python/dnspython/dnspython.SlackBuild @@ -0,0 +1,53 @@ +#!/bin/sh +# Slackware build script for dnspython +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=dnspython +VERSION=1.9.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 + +find $PKG | xargs 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 +cp -a \ + ChangeLog LICENSE README TODO \ + $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/dnspython/dnspython.info b/python/dnspython/dnspython.info new file mode 100644 index 000000000000..139c9dc67a7c --- /dev/null +++ b/python/dnspython/dnspython.info @@ -0,0 +1,10 @@ +PRGNAM="dnspython" +VERSION="1.9.2" +HOMEPAGE="http://www.dnspython.org/" +DOWNLOAD="http://www.dnspython.org/kits/1.9.2/dnspython-1.9.2.tar.gz" +MD5SUM="26426043e619d34b47c7c30dc0a02f1c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="dsomero,Niels Horn" diff --git a/python/dnspython/slack-desc b/python/dnspython/slack-desc new file mode 100644 index 000000000000..095d3cd5fe3f --- /dev/null +++ b/python/dnspython/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------------------------------------------------------| +dnspython: dnspython (Python API for DNS) +dnspython: +dnspython: dnspython is a DNS toolkit for Python. It supports almost all record +dnspython: types. It can be used for queries, zone transfers, and dynamic +dnspython: updates. It supports TSIG authenticated messages and EDNS0. +dnspython: +dnspython: Homepage: http://www.dnspython.org/ +dnspython: +dnspython: +dnspython: +dnspython: diff --git a/python/gnome-python-desktop/README b/python/gnome-python-desktop/README new file mode 100644 index 000000000000..e2bbce27e866 --- /dev/null +++ b/python/gnome-python-desktop/README @@ -0,0 +1,6 @@ +gnome-python-desktop contains a few python modules for GNOME. + +This requires gnome-python. + +gnome-keyring is required if you want to execute rhythmbox without errors. +evince, gnome-media, metacity, and totem-pl-parser are optional dependencies. diff --git a/python/gnome-python-desktop/gnome-python-desktop.SlackBuild b/python/gnome-python-desktop/gnome-python-desktop.SlackBuild new file mode 100644 index 000000000000..6660cae18cc8 --- /dev/null +++ b/python/gnome-python-desktop/gnome-python-desktop.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for gnome-python-desktop + +# Written by crocket (crockabiscuit@yahoo.com) + +PRGNAM=gnome-python-desktop +VERSION=${VERSION:-2.26.0} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-allbindings \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cp -a \ + AUTHORS COPYING* ChangeLog INSTALL* MAINTAINERS NEWS README \ + $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/gnome-python-desktop/gnome-python-desktop.info b/python/gnome-python-desktop/gnome-python-desktop.info new file mode 100644 index 000000000000..e5be9a2a8f26 --- /dev/null +++ b/python/gnome-python-desktop/gnome-python-desktop.info @@ -0,0 +1,10 @@ +PRGNAM="gnome-python-desktop" +VERSION="2.26.0" +HOMEPAGE="ftp://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop" +DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/2.26/gnome-python-desktop-2.26.0.tar.bz2" +MD5SUM="6760c51aabddc56c1326d3ba4f03c0f0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="crocket" +EMAIL="crockabiscuit@yahoo.com" +APPROVED="rworkman" diff --git a/python/gnome-python-desktop/slack-desc b/python/gnome-python-desktop/slack-desc new file mode 100644 index 000000000000..9fa444844e02 --- /dev/null +++ b/python/gnome-python-desktop/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------------------------------------------------------| +gnome-python-desktop: gnome-python-desktop (python modules for GNOME) +gnome-python-desktop: +gnome-python-desktop: gnome-pythong-desktop contains a few python modules for GNOME. +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: +gnome-python-desktop: diff --git a/python/gnome-python/README b/python/gnome-python/README new file mode 100644 index 000000000000..59105d374f74 --- /dev/null +++ b/python/gnome-python/README @@ -0,0 +1,5 @@ +gnome-python is a set of bindings for the Gnome platform +libraries. It builds on top of the PyGTK bindings for GTK and +the PyORBit bindings for ORBit2. + +Requires libgnome, available at SlackBuilds.org diff --git a/python/gnome-python/gnome-python.SlackBuild b/python/gnome-python/gnome-python.SlackBuild new file mode 100644 index 000000000000..2b2aaf003650 --- /dev/null +++ b/python/gnome-python/gnome-python.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/sh +# +# Slackware build script for gnome-python +# +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# 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=gnome-python +VERSION=2.22.3 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./waf configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} +./waf build +./waf install --destdir=$PKG + +find $PKG | xargs file | egrep "ELF.*shared object" | cut -f 1 -d : \ + | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +cp -a AUTHORS COPYING ChangeLog ChangeLog.pre-2-0 INSTALL INSTALL.WAF \ + NEWS README $PKG/usr/doc/$PRGNAM-$VERSION + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +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/gnome-python/gnome-python.info b/python/gnome-python/gnome-python.info new file mode 100644 index 000000000000..f128dc30e989 --- /dev/null +++ b/python/gnome-python/gnome-python.info @@ -0,0 +1,10 @@ +PRGNAM="gnome-python" +VERSION="2.22.3" +HOMEPAGE="http://www.gnome.org/" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.22/gnome-python-2.22.3.tar.bz2" +MD5SUM="ab12d94954a57de39b25eb7903d8429c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/python/gnome-python/slack-desc b/python/gnome-python/slack-desc new file mode 100644 index 000000000000..3ec230dd2e56 --- /dev/null +++ b/python/gnome-python/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------------------------------------------------------| +gnome-python: gnome-python (Python bindings for GNOME) +gnome-python: +gnome-python: gnome-python is a set of bindings for the Gnome platform +gnome-python: libraries. It builds on top of the PyGTK bindings for GTK and +gnome-python: the PyORBit bindings for ORBit2. +gnome-python: +gnome-python: +gnome-python: +gnome-python: +gnome-python: +gnome-python: diff --git a/python/gst-python/README b/python/gst-python/README new file mode 100644 index 000000000000..6b1fda0f2e3f --- /dev/null +++ b/python/gst-python/README @@ -0,0 +1,2 @@ +GStreamer python bindings. You can find API docs for the Python +bindings at http://pygstdocs.berlios.de/. diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild new file mode 100644 index 000000000000..0bef59981b65 --- /dev/null +++ b/python/gst-python/gst-python.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for gst-python +# Author: Thiago Coutinho <thiagocoutinho1 at gmail.com> + +# Modified by the slackbuilds.org project. + +# Maintained by Binh Nguyen <binhnguyen@fastmail.fm> +# from version 0.10.19 + +PRGNAM=gst-python +VERSION=${VERSION:-0.10.19} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO \ + $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/gst-python/gst-python.info b/python/gst-python/gst-python.info new file mode 100644 index 000000000000..408feccbe47b --- /dev/null +++ b/python/gst-python/gst-python.info @@ -0,0 +1,10 @@ +PRGNAM="gst-python" +VERSION="0.10.19" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-python.html" +DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.19.tar.bz2" +MD5SUM="ddcef7d00bd88b0591cd6d910c36ec4b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="Niels Horn" diff --git a/python/gst-python/slack-desc b/python/gst-python/slack-desc new file mode 100644 index 000000000000..119d7fe0ffe0 --- /dev/null +++ b/python/gst-python/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------------------------------------------------------| +gst-python: gst-python (GStreamer python bindings) +gst-python: +gst-python: Python bindings for the GStreamer multimedia framework. +gst-python: +gst-python: Homepage: http://gstreamer.freedesktop.org/modules/gst-python.html +gst-python: +gst-python: +gst-python: +gst-python: +gst-python: +gst-python: diff --git a/python/json-py/README b/python/json-py/README new file mode 100644 index 000000000000..4c62e5fa90a8 --- /dev/null +++ b/python/json-py/README @@ -0,0 +1,6 @@ +json-py is a simple, pure-python implementation of a JSON (http://json.org) +reader and writer. JSON is used to exchange data across systems written +in various languages. It is particularly suited to dynamic languages +like Python, Javascript, etc. JSON = Javascript Object Notation implies +it is suitable for AJAX applications that exchange data from servers to +Javascript applications running on web browser clients. diff --git a/python/json-py/json-py.SlackBuild b/python/json-py/json-py.SlackBuild new file mode 100644 index 000000000000..85e22f62ff44 --- /dev/null +++ b/python/json-py/json-py.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for json-py. +# +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.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. + +PRGNAM=json-py +VERSION=3.4 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRCVERSION=3_4 +SRCNAM=json +DOCS="license.txt readme.txt" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +unzip $CWD/$PRGNAM-$SRCVERSION.zip + +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 {} \; +# fix txts permissions +chmod 644 *.txt + +# Add setup.py +cat $CWD/setup.py > setup.py + +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a $DOCS $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/json-py/json-py.info b/python/json-py/json-py.info new file mode 100644 index 000000000000..9e5619a76da1 --- /dev/null +++ b/python/json-py/json-py.info @@ -0,0 +1,10 @@ +PRGNAM="json-py" +VERSION="3.4" +HOMEPAGE="http://sourceforge.net/projects/json-py/" +DOWNLOAD="http://downloads.sourceforge.net/sourceforge/json-py/json-py-3_4.zip" +MD5SUM="921ebfede886a10ff32d6d4b4e216f8f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/json-py/setup.py b/python/json-py/setup.py new file mode 100644 index 000000000000..02f58089ac98 --- /dev/null +++ b/python/json-py/setup.py @@ -0,0 +1,13 @@ +from distutils.core import setup + +import json + +setup(name="json", + version="3.4", + description="JSON (http://json.org) reader and writer.", + author="Patrick D. Logan", + author_email="patrickdlogan@stardecisions.com", + url = "http://sourceforge.net/projects/json-py/", + py_modules=['json'] + ) + diff --git a/python/json-py/slack-desc b/python/json-py/slack-desc new file mode 100644 index 000000000000..d8a71b6f3110 --- /dev/null +++ b/python/json-py/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------------------------------------------------------| +json-py: json-py (pure-python implementation of a JSON) +json-py: +json-py: json-py is a simple, pure-python implementation of a JSON +json-py: (http://json.org) reader and writer. +json-py: +json-py: +json-py: +json-py: +json-py: +json-py: +json-py: diff --git a/python/mmpython/README b/python/mmpython/README new file mode 100644 index 000000000000..c74667cdb9ed --- /dev/null +++ b/python/mmpython/README @@ -0,0 +1,6 @@ +MMPython is a Media Meta Data retrieval framework. It retrieves metadata +from mp3, ogg, avi, jpg, tiff and other file formats. Among others it +thereby parses ID3v2, ID3v1, EXIF, IPTC and Vorbis data into an object +oriented struture. + +Requires lsdvd and PyXML.
\ No newline at end of file diff --git a/python/mmpython/mmpython-0.4.10-stdint.patch b/python/mmpython/mmpython-0.4.10-stdint.patch new file mode 100644 index 000000000000..67522169212c --- /dev/null +++ b/python/mmpython/mmpython-0.4.10-stdint.patch @@ -0,0 +1,20 @@ +--- disc/ifomodule.c~ 2004-07-17 10:46:52.000000000 +0200 ++++ disc/ifomodule.c 2006-04-11 07:59:38.030697690 +0200 +@@ -9,6 +9,7 @@ + #include <unistd.h> + #include <assert.h> + #include <inttypes.h> ++#include <stdint.h> + + #include <dvdread/dvd_reader.h> + #include <dvdread/ifo_types.h> +--- disc/cdrommodule.c~ 2003-06-23 21:26:16.000000000 +0200 ++++ disc/cdrommodule.c 2006-04-11 07:58:02.463087444 +0200 +@@ -36,6 +36,7 @@ + #include "Python.h" + #include <fcntl.h> + #include <sys/ioctl.h> ++#include <stdint.h> + + #ifdef __linux__ + #include <linux/cdrom.h> diff --git a/python/mmpython/mmpython.SlackBuild b/python/mmpython/mmpython.SlackBuild new file mode 100644 index 000000000000..f9d15f208b98 --- /dev/null +++ b/python/mmpython/mmpython.SlackBuild @@ -0,0 +1,60 @@ +#!/bin/sh + +# Slackware build script for mmpython + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=mmpython +VERSION=${VERSION:-0.4.10} +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 + +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 {} \; + +# Add stdint.h headers +patch -p0 < $CWD/mmpython-0.4.10-stdint.patch + +python setup.py build + +python setup.py install --prefix="$PKG/usr" + +find $PKG | xargs 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 +cp -a COPYING CREDITS PKG-INFO README $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/mmpython/mmpython.info b/python/mmpython/mmpython.info new file mode 100644 index 000000000000..7c861d746936 --- /dev/null +++ b/python/mmpython/mmpython.info @@ -0,0 +1,10 @@ +PRGNAM="mmpython" +VERSION="0.4.10" +HOMEPAGE="http://mmpython.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/mmpython/mmpython-0.4.10.tar.gz" +MD5SUM="3a1f2e754308ac8cacd266c1350dcf34" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="michiel" diff --git a/python/mmpython/slack-desc b/python/mmpython/slack-desc new file mode 100644 index 000000000000..e66ffd4062c7 --- /dev/null +++ b/python/mmpython/slack-desc @@ -0,0 +1,21 @@ +# 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------------------------------------------------------| +mmpython: mmpython (Media Metadata for Python) +mmpython: +mmpython: MMPython is a Media Meta Data retrieval framework. It retrieves +mmpython: metadata from mp3, ogg, avi, jpg, tiff and other file formats. Among +mmpython: others it thereby parses ID3v2, ID3v1, EXIF, IPTC and Vorbis data +mmpython: into an object oriented struture. +mmpython: +mmpython: Homepage: http://mmpython.sourceforge.net/ +mmpython: +mmpython: +mmpython: + + diff --git a/python/p4python/README b/python/p4python/README new file mode 100644 index 000000000000..0e9f74ecd532 --- /dev/null +++ b/python/p4python/README @@ -0,0 +1,6 @@ +Perforce is the fast SCM system at www.perforce.com. +This package provides a simple interface from Python wrapping the +Perforce C++ API to gain performance and ease of coding. +Similar to interfaces available for Ruby and Perl. + +This requires p4api. diff --git a/python/p4python/p4python.SlackBuild b/python/p4python/p4python.SlackBuild new file mode 100644 index 000000000000..dfb79e9f4d46 --- /dev/null +++ b/python/p4python/p4python.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +# SlackBuild for p4python, Andy Bailey <bailey@akamai.com + +LOCALVER=`tar tf p4python.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1` +PRGNAM=p4python +VERSION=${VERSION:-$LOCALVER} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf P4Python-$VERSION +tar xvf $CWD/$PRGNAM.tgz +cd P4Python-$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 {} \; + +echo "[p4python_config]" > setup.cfg +echo "p4_api=/usr/lib$LIBDIRSUFFIX/p4" >> setup.cfg +python setup.py install --root=$PKG + +# Strip binaries and libraries. +find $PKG | xargs 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 +cp -a \ + LICENSE.txt README.txt RELNOTES.txt \ + $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/p4python/p4python.info b/python/p4python/p4python.info new file mode 100644 index 000000000000..08d3de716fe7 --- /dev/null +++ b/python/p4python/p4python.info @@ -0,0 +1,10 @@ +PRGNAM="p4python" +VERSION="2010.1" +HOMEPAGE="http://www.perforce.com/perforce/loadsupp.html" +DOWNLOAD="ftp://ftp.perforce.com/perforce/r10.1/bin.tools/p4python.tgz" +MD5SUM="d9af612a506da5f6bc655410a67446e1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Andy Bailey" +EMAIL="bailey@akamai.com" +APPROVED="dsomero" diff --git a/python/p4python/slack-desc b/python/p4python/slack-desc new file mode 100644 index 000000000000..bd8178683875 --- /dev/null +++ b/python/p4python/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------------------------------------------------------| +p4python: p4python (python bindings for Perforce api) +p4python: +p4python: Perforce is the fast SCM system at www.perforce.com. +p4python: This package provides a simple interface from Python wrapping the +p4python: Perforce C++ API to gain performance and ease of coding. +p4python: Similar to interfaces available for Ruby and Perl. +p4python: +p4python: +p4python: +p4python: +p4python:
\ No newline at end of file diff --git a/python/pyOpenSSL/README b/python/pyOpenSSL/README new file mode 100644 index 000000000000..70e1a0d8260a --- /dev/null +++ b/python/pyOpenSSL/README @@ -0,0 +1,4 @@ +Python wrapper around a small subset of the OpenSSL library. Includes: +X509 Certificates, SSL Context objects, SSL Connection objects using +Python sockets as transport layer. The Connection object wraps all the +socket methods and can therefore be used in. diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild new file mode 100644 index 000000000000..a74c278316ce --- /dev/null +++ b/python/pyOpenSSL/pyOpenSSL.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh + +# Slackware build script for pyOpenSSL. +# +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.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. + +PRGNAM=pyOpenSSL +VERSION=0.10 +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} + +DOCS="COPYING PKG-INFO README" + +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 + +find $PKG | xargs 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 +cp -a $DOCS $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/pyOpenSSL/pyOpenSSL.info b/python/pyOpenSSL/pyOpenSSL.info new file mode 100644 index 000000000000..1d1be8f057b6 --- /dev/null +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -0,0 +1,10 @@ +PRGNAM="pyOpenSSL" +VERSION="0.10" +HOMEPAGE="http://pypi.python.org/pypi/pyOpenSSL" +DOWNLOAD="http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.10.tar.gz" +MD5SUM="34db8056ec53ce80c7f5fc58bee9f093" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/python/pyOpenSSL/slack-desc b/python/pyOpenSSL/slack-desc new file mode 100644 index 000000000000..02f8c98f7632 --- /dev/null +++ b/python/pyOpenSSL/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------------------------------------------------------| +pyOpenSSL: pyOpenSSL (Python wrapper for OpenSSL) +pyOpenSSL: +pyOpenSSL: This module is a rather thin wrapper around (a subset of) the OpenSSL +pyOpenSSL: library. With thin wrapper I mean that a lot of the object methods do +pyOpenSSL: nothing more than calling a corresponding function in the OpenSSL +pyOpenSSL: library +pyOpenSSL: +pyOpenSSL: +pyOpenSSL: +pyOpenSSL: +pyOpenSSL: diff --git a/python/pyPdf/README b/python/pyPdf/README new file mode 100644 index 000000000000..50e3c592a601 --- /dev/null +++ b/python/pyPdf/README @@ -0,0 +1,12 @@ +A Pure-Python library built as a PDF toolkit. It is capable of: + * extracting document information (title, author, ...), + * splitting documents page by page, + * merging documents page by page, + * cropping pages, + * merging multiple pages into a single page, + * encrypting and decrypting PDF files. + +By being Pure-Python, it should run on any Python platform without any +dependencies on external libraries. It can also work entirely on StringIO +objects rather than file streams, allowing for PDF manipulation in memory. It is +therefore a useful tool for websites that manage or manipulate PDFs. diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild new file mode 100644 index 000000000000..124da918352b --- /dev/null +++ b/python/pyPdf/pyPdf.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for pyPdf. +# +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.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. + +PRGNAM=pyPdf +VERSION=1.12 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="PKG-INFO README" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xzvf $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 + +find $PKG | xargs 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 +cp -a $DOCS $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/pyPdf/pyPdf.info b/python/pyPdf/pyPdf.info new file mode 100644 index 000000000000..0ab66057ffac --- /dev/null +++ b/python/pyPdf/pyPdf.info @@ -0,0 +1,10 @@ +PRGNAM="pyPdf" +VERSION="1.12" +HOMEPAGE="http://pybrary.net/pyPdf/" +DOWNLOAD="http://pybrary.net/pyPdf/pyPdf-1.12.tar.gz" +MD5SUM="7be5f7f4659f64fd194e9eb9a38ad425" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/pyPdf/slack-desc b/python/pyPdf/slack-desc new file mode 100644 index 000000000000..5417a1afc3d3 --- /dev/null +++ b/python/pyPdf/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------------------------------------------------------| +pyPdf: pyPdf (Python PDF toolkit) +pyPdf: +pyPdf: A Pure-Python library built as a PDF toolkit. +pyPdf: +pyPdf: +pyPdf: +pyPdf: +pyPdf: +pyPdf: +pyPdf: +pyPdf: diff --git a/python/pybluez/README b/python/pybluez/README new file mode 100644 index 000000000000..90f6019f5636 --- /dev/null +++ b/python/pybluez/README @@ -0,0 +1 @@ +Python extension module allowing access to system Bluetooth resources. diff --git a/python/pybluez/pybluez.SlackBuild b/python/pybluez/pybluez.SlackBuild new file mode 100644 index 000000000000..2436a80e0bae --- /dev/null +++ b/python/pybluez/pybluez.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for pybluez + +# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands +# 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. + +SRCNAM=PyBluez +PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:]) +VERSION=0.18 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a CHANGELOG COPYING PKG-INFO README $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/pybluez/pybluez.info b/python/pybluez/pybluez.info new file mode 100644 index 000000000000..1be3b2f71c36 --- /dev/null +++ b/python/pybluez/pybluez.info @@ -0,0 +1,10 @@ +PRGNAM="pybluez" +VERSION="0.18" +HOMEPAGE="http://code.google.com/p/pybluez/" +DOWNLOAD="http://pybluez.googlecode.com/files/PyBluez-0.18.tar.gz" +MD5SUM="be8c8ce615c3189fda1aaf3d568314b2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" +APPROVED="Erik Hanson" diff --git a/python/pybluez/slack-desc b/python/pybluez/slack-desc new file mode 100644 index 000000000000..a903b0681e0a --- /dev/null +++ b/python/pybluez/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-----------------------------------------------------| +pybluez: pybluez (Python BlueZ bindings) +pybluez: +pybluez: Python extension module allowing access to system Bluetooth +pybluez: resources. +pybluez: +pybluez: Homepage: http://code.google.com/p/pybluez/ +pybluez: +pybluez: +pybluez: +pybluez: +pybluez: diff --git a/python/pychart/README b/python/pychart/README new file mode 100644 index 000000000000..0c45ddadcc2f --- /dev/null +++ b/python/pychart/README @@ -0,0 +1,4 @@ +PyChart is a Python library for creating high quality Encapsulated +Postscript, PDF, PNG, or SVG charts. It currently supports line +plots, bar plots, range-fill plots, and pie charts. Because it is +based on Python, you can make full use of Python's scripting power. diff --git a/python/pychart/pychart.SlackBuild b/python/pychart/pychart.SlackBuild new file mode 100644 index 000000000000..03ad6f93c75d --- /dev/null +++ b/python/pychart/pychart.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for pychart + +# Copyright 2009 Heinz Wiesinger <pprkut@liwjatan.at> +# 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=pychart +VERSION=1.39 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=PyChart + +# 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 + +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 $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a COPYING PKG-INFO README \ + $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/pychart/pychart.info b/python/pychart/pychart.info new file mode 100644 index 000000000000..5db652308d6a --- /dev/null +++ b/python/pychart/pychart.info @@ -0,0 +1,10 @@ +PRGNAM="pychart" +VERSION="1.39" +HOMEPAGE="http://home.gna.org/pychart/" +DOWNLOAD="http://download.gna.org/pychart/PyChart-1.39.tar.gz" +MD5SUM="f1f509a1c4623056c8e780bb7c9a05c5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" +APPROVED="rworkman" diff --git a/python/pychart/slack-desc b/python/pychart/slack-desc new file mode 100644 index 000000000000..b91f775fea05 --- /dev/null +++ b/python/pychart/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----------------------------------------------------| +pychart: pychart (Python charts library) +pychart: +pychart: PyChart is a Python library for creating high quality Encapsulated +pychart: Postscript, PDF, PNG, or SVG charts. It currently supports line +pychart: plots, bar plots, range-fill plots, and pie charts. Because it is +pychart: based on Python, you can make full use of Python's scripting power. +pychart: +pychart: Homepage: http://home.gna.org/pychart/ +pychart: +pychart: +pychart: diff --git a/python/pychm/README b/python/pychm/README new file mode 100644 index 000000000000..6a4e251f3659 --- /dev/null +++ b/python/pychm/README @@ -0,0 +1,4 @@ +PyCHM is a package that provides bindings for Jed Wing's CHMLIB +library. The chm package contains four modules, namely chm.chm, +chm.chmlib, chm.extra and chm._chmlib. chm.chmlib is a low level +wrapper module around the API provided by the C library chmlib. diff --git a/python/pychm/pychm.SlackBuild b/python/pychm/pychm.SlackBuild new file mode 100644 index 000000000000..f001b098afe5 --- /dev/null +++ b/python/pychm/pychm.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for PyCHM + +# Written by João Felipe Santos (joao.eel@gmail.com) + +# Copyright (c) 2009 João Felipe Santos +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +PRGNAM=pychm +VERSION=${VERSION:-0.8.4} +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 + +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 build +python setup.py install --root $PKG + +find $PKG | xargs 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 +cp -a COPYING ChangeLog NEWS PKG-INFO README $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/pychm/pychm.info b/python/pychm/pychm.info new file mode 100644 index 000000000000..e7d0b8a167aa --- /dev/null +++ b/python/pychm/pychm.info @@ -0,0 +1,10 @@ +PRGNAM="pychm" +VERSION="0.8.4" +HOMEPAGE="http://gnochm.sourceforge.net/pychm.html" +DOWNLOAD="http://downloads.sourceforge.net/gnochm/pychm-0.8.4.tar.gz" +MD5SUM="ff7f0baf94290c44263a1618e7e6a116" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="João Felipe Santos" +EMAIL="joao.eel[at]gmail.com" +APPROVED="rworkman" diff --git a/python/pychm/slack-desc b/python/pychm/slack-desc new file mode 100644 index 000000000000..ce8923d0e311 --- /dev/null +++ b/python/pychm/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------------------------------------------------------| +pychm: PyCHM (Python bindings for CHMLIB) +pychm: PyCHM is a package that provides bindings for Jed Wing's CHMLIB +pychm: library. The chm package contains four modules, namely chm.chm, +pychm: chm.chmlib, chm.extra and chm._chmlib. chm.chmlib is a low level +pychm: wrapper module around the API provided by the C library chmlib. +pychm: +pychm: Homepage: http://gnochm.sourceforge.net/pychm.html +pychm: +pychm: +pychm: +pychm: diff --git a/python/pycontrol/README b/python/pycontrol/README new file mode 100644 index 000000000000..699197a4deca --- /dev/null +++ b/python/pycontrol/README @@ -0,0 +1,7 @@ +pyControl is a Python-based library that integrates with F5's BIG-IP +iControl management API. + +The source at the F5 site requires a free registraton and login. +For simplicity, I have the source available at my personal site. + +This requires python-suds. diff --git a/python/pycontrol/pycontrol.SlackBuild b/python/pycontrol/pycontrol.SlackBuild new file mode 100644 index 000000000000..5c5e2dc19c51 --- /dev/null +++ b/python/pycontrol/pycontrol.SlackBuild @@ -0,0 +1,58 @@ +#!/bin/sh + +# Slackware build script for pycontrol +# Written by Joey Trungale <joey@trungale.net> + +PRGNAM=pycontrol +VERSION=${VERSION:-2.0} +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 trunk +tar xvf $CWD/$PRGNAM.tar.gz + +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 {} \; + +# Remove SVN directories +rm -rf trunk/pycontrol/.svn +rm -rf trunk/pycontrol/samples/.svn +rm -rf trunk/.svn + +cd trunk +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -ar $PRGNAM/README $PRGNAM/samples $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/pycontrol/pycontrol.info b/python/pycontrol/pycontrol.info new file mode 100644 index 000000000000..c2c1a83522e9 --- /dev/null +++ b/python/pycontrol/pycontrol.info @@ -0,0 +1,10 @@ +PRGNAM="pycontrol" +VERSION="2.0" +HOMEPAGE="http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/4/Default.aspx" +DOWNLOAD="http://trungale.net/pycontrol.tar.gz" +MD5SUM="e9e11c5fdf05bf877522b89b28e94ed1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="rworkman" diff --git a/python/pycontrol/slack-desc b/python/pycontrol/slack-desc new file mode 100644 index 000000000000..006208353d2f --- /dev/null +++ b/python/pycontrol/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----------------------------------------------------| +pycontrol: pycontrol (Python library for the F5 iControl API) +pycontrol: +pycontrol: pyControl is a Python-based library that integrates with F5's BIG-IP +pycontrol: iControl management API. +pycontrol: +pycontrol: +pycontrol: +pycontrol: +pycontrol: +pycontrol: +pycontrol: diff --git a/python/pycryptopp/README b/python/pycryptopp/README new file mode 100644 index 000000000000..ad21ac336341 --- /dev/null +++ b/python/pycryptopp/README @@ -0,0 +1,4 @@ +pycryptopp is a set of Python wrappers for a few of the best crypto algorithms +from the Crypto++ library. + +This package requires pysetuptools, darcsver and cryptopp. diff --git a/python/pycryptopp/pycryptopp.SlackBuild b/python/pycryptopp/pycryptopp.SlackBuild new file mode 100644 index 000000000000..e931bdacd5cd --- /dev/null +++ b/python/pycryptopp/pycryptopp.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for pycryptopp. + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.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. + +PRGNAM=pycryptopp +VERSION=${VERSION:-0.5.17} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="COPYING.GPL COPYING.TGPPL.html README.txt" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +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 build || exit 1 +python setup.py install --root=$PKG || exit 1 + +find $PKG | xargs 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 +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc +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/pycryptopp/pycryptopp.info b/python/pycryptopp/pycryptopp.info new file mode 100644 index 000000000000..794998b73c5f --- /dev/null +++ b/python/pycryptopp/pycryptopp.info @@ -0,0 +1,10 @@ +PRGNAM="pycryptopp" +VERSION="0.5.17" +HOMEPAGE="http://allmydata.org/trac/pycryptopp" +DOWNLOAD="http://pypi.python.org/packages/source/p/pycryptopp/pycryptopp-0.5.17.tar.gz" +MD5SUM="b3d19e7203531f8bd241ae58062f99e4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/pycryptopp/slack-desc b/python/pycryptopp/slack-desc new file mode 100644 index 000000000000..d78bf8516793 --- /dev/null +++ b/python/pycryptopp/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----------------------------------------------------| +pycryptopp: pycryptopp (Python wrappers for Crypto++) +pycryptopp: +pycryptopp: pycryptopp is a set of Python wrappers for a few of the best crypto +pycryptopp: algorithms from the Crypto++ library. +pycryptopp: +pycryptopp: Homepage: http://allmydata.org/trac/pycryptopp +pycryptopp: +pycryptopp: +pycryptopp: +pycryptopp: +pycryptopp: diff --git a/python/pycurl/README b/python/pycurl/README new file mode 100644 index 000000000000..f8b0bfb2c345 --- /dev/null +++ b/python/pycurl/README @@ -0,0 +1,19 @@ +PycURL is a Python interface to libcurl. PycURL can be used to fetch +objects identified by a URL from a Python program, similar to the urllib +Python module. PycURL is mature, very fast, and supports a lot of features. +Overview + + * libcurl is a free and easy-to-use client-side URL transfer library, + supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and + LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, + FTP uploading, kerberos, HTTP form based upload, proxies, cookies, + user+password authentication, file transfer resume, http proxy tunneling + and more! + + * libcurl is highly portable, it builds and works identically on + numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, + Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, + Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more... + + * libcurl is free, thread-safe, IPv6 compatible, feature rich, well + supported and fast. diff --git a/python/pycurl/pycurl.SlackBuild b/python/pycurl/pycurl.SlackBuild new file mode 100644 index 000000000000..5a2f5f981dfa --- /dev/null +++ b/python/pycurl/pycurl.SlackBuild @@ -0,0 +1,72 @@ +#!/bin/sh + +# Slackware build script for pycurl + +# Written by Grissiom chaos.proton@gmail.com + +PRGNAM=pycurl +VERSION=${VERSION:-7.19.0} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e # Exit on most errors + +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 + +find $PKG | xargs 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 +mv ${PKG}/usr/share/doc/${PRGNAM}/* -t ${PKG}/usr/doc/$PRGNAM-$VERSION +rm -rf ${PKG}/usr/share + +cp PKG-INFO $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/pycurl/pycurl.info b/python/pycurl/pycurl.info new file mode 100644 index 000000000000..2e51c2b32ee3 --- /dev/null +++ b/python/pycurl/pycurl.info @@ -0,0 +1,10 @@ +PRGNAM="pycurl" +VERSION="7.19.0" +HOMEPAGE="http://pycurl.sourceforge.net/" +DOWNLOAD="http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz" +MD5SUM="919d58fe37e69fe87ce4534d8b6a1c7b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="grissiom" +EMAIL="chaos.proton@gmail.com" +APPROVED="dsomero" diff --git a/python/pycurl/slack-desc b/python/pycurl/slack-desc new file mode 100644 index 000000000000..6d91ef6e8743 --- /dev/null +++ b/python/pycurl/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------------------------------------------------------| +pycurl: PycURL (Python interface to libcurl). +pycurl: +pycurl: libcurl is a free and easy-to-use client-side URL transfer library, +pycurl: supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and +pycurl: LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, +pycurl: FTP uploading, kerberos, HTTP form based upload, proxies, cookies, +pycurl: user+password authentication, file transfer resume, http proxy +pycurl: tunneling and more! +pycurl: +pycurl: Homepage:http://pycurl.sourceforge.net/ +pycurl: diff --git a/python/pydot/README b/python/pydot/README new file mode 100644 index 000000000000..1db185812ed8 --- /dev/null +++ b/python/pydot/README @@ -0,0 +1,5 @@ +pydot allows to easily create both directed and non directed graphs +from Python. Currently all attributes implemented in the Dot +language are supported (up to Graphviz 2.16). + +This requires pyparsing and graphviz. diff --git a/python/pydot/pydot.SlackBuild b/python/pydot/pydot.SlackBuild new file mode 100644 index 000000000000..a52d53da032a --- /dev/null +++ b/python/pydot/pydot.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/sh + +# Slackware build script for pydot + +# Copyright 2009 Heinz Wiesinger <pprkut@liwjatan.at> +# 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=pydot +VERSION=1.0.2 +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 + +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 + +# remove wrongly installed docs +rm -f $PKG/usr/{ChangeLog,LICENSE,README} + +find $PKG | xargs 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 +cp -a ChangeLog LICENSE PKG-INFO README \ + $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/pydot/pydot.info b/python/pydot/pydot.info new file mode 100644 index 000000000000..715844a8b5d2 --- /dev/null +++ b/python/pydot/pydot.info @@ -0,0 +1,10 @@ +PRGNAM="pydot" +VERSION="1.0.2" +HOMEPAGE="http://code.google.com/p/pydot/" +DOWNLOAD="http://pydot.googlecode.com/files/pydot-1.0.2.tar.gz" +MD5SUM="e5cbbe7ef3d221c05c96e4bd4bcf95f9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" +APPROVED="rworkman" diff --git a/python/pydot/slack-desc b/python/pydot/slack-desc new file mode 100644 index 000000000000..4ad4f38af1f5 --- /dev/null +++ b/python/pydot/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----------------------------------------------------| +pydot: pydot (Python interface to Graphviz's Dot language) +pydot: +pydot: pydot allows to easily create both directed and non directed graphs +pydot: from Python. Currently all attributes implemented in the Dot +pydot: language are supported (up to Graphviz 2.16). +pydot: +pydot: Homepage: http://code.google.com/p/pydot/ +pydot: +pydot: +pydot: +pydot: diff --git a/python/pyffmpeg/README b/python/pyffmpeg/README new file mode 100644 index 000000000000..3585ec5eee9a --- /dev/null +++ b/python/pyffmpeg/README @@ -0,0 +1,6 @@ +PyFFmpeg is a wrapper around FFmpeg's libavcodec, libavformat and +libavutil libraries whose main purpose is to provide access to +individual frames of video files of various formats (including MPEG +and DIVX encoded videos), and, also in latest beta,to audio data. + +This requires Numpy, Cython, and ffmpeg. diff --git a/python/pyffmpeg/pyffmpeg.SlackBuild b/python/pyffmpeg/pyffmpeg.SlackBuild new file mode 100644 index 000000000000..934c08feac82 --- /dev/null +++ b/python/pyffmpeg/pyffmpeg.SlackBuild @@ -0,0 +1,72 @@ +#!/bin/sh +# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST +# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands + +# Slackware build script for pyffmpeg +# Written by Lionel Young <redtricycle@gmail.com> +# Based on http://slackbuilds.org/template.SlackBuild + + +PRGNAM=pyffmpeg +VERSION=${VERSION:-2.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 build +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -aR examples $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/pyffmpeg/pyffmpeg.info b/python/pyffmpeg/pyffmpeg.info new file mode 100644 index 000000000000..2188c06d0843 --- /dev/null +++ b/python/pyffmpeg/pyffmpeg.info @@ -0,0 +1,10 @@ +PRGNAM="pyffmpeg" +VERSION="2.0" +HOMEPAGE="http://code.google.com/p/pyffmpeg/" +DOWNLOAD="http://pyffmpeg.googlecode.com/files/pyffmpeg-2.0.tar.gz" +MD5SUM="fee69342f9c7909bc0586c3e3cd4a6c2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Lionel Young" +EMAIL="redtricycle@gmail.com" +APPROVED="dsomero" diff --git a/python/pyffmpeg/slack-desc b/python/pyffmpeg/slack-desc new file mode 100644 index 000000000000..172682956c56 --- /dev/null +++ b/python/pyffmpeg/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------------------------------------------------------| +pyffmpeg: pyffmpeg (FFmpeg wrapper) +pyffmpeg: +pyffmpeg: PyFFmpeg is a wrapper around FFmpeg's libavcodec, libavformat +pyffmpeg: and libavutil libraries whose main purpose is to provide access to +pyffmpeg: individual frames of video files of various formats (including MPEG +pyffmpeg: and DIVX encoded videos), and, also in latest beta,to audio data. +pyffmpeg: Requires: Cython, Numpy, and ffmpeg +pyffmpeg: +pyffmpeg: Homepage: http://code.google.com/p/pyffmpeg/ +pyffmpeg: +pyffmpeg: diff --git a/python/pyfltk/README b/python/pyfltk/README new file mode 100644 index 000000000000..511b55f79d60 --- /dev/null +++ b/python/pyfltk/README @@ -0,0 +1,4 @@ +PyFLTK provides a convenient wrapper for the FLTK GUI library for use in +Python programs. + +This requires fltk. diff --git a/python/pyfltk/pyfltk.SlackBuild b/python/pyfltk/pyfltk.SlackBuild new file mode 100644 index 000000000000..b6223fec461c --- /dev/null +++ b/python/pyfltk/pyfltk.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for pyfltk + +# Copyright 2006-2010 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. + +PRGNAM=pyfltk +VERSION=${VERSION:-1.1.5} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRC_PRGNAM=pyFltk +DOCFILES="CHANGES PKG-INFO INSTALL TODO COPYING README" + +# html files are now located in fltk/ subdirectory +HTMLDOCS="fltk/docs/*" + +set -e + +# SLKCFLAGS are not necessary, it builds using fltk-config flags + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar -xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Copy documentation files +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Move html files and python test examples in order to preserve and install them +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/docs +mv $HTMLDOCS $PKG/usr/doc/$PRGNAM-$VERSION/docs/ + +# build from swig interface files +cd python +python ./MakeSwig.py + +cd $TMP/$SRC_PRGNAM-$VERSION +python setup.py build +# --install-data= flag is ignored now +python setup.py install --prefix=/usr/ --root=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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/pyfltk/pyfltk.info b/python/pyfltk/pyfltk.info new file mode 100644 index 000000000000..534bd4b33882 --- /dev/null +++ b/python/pyfltk/pyfltk.info @@ -0,0 +1,10 @@ +PRGNAM="pyfltk" +VERSION="1.1.5" +HOMEPAGE="http://pyfltk.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/pyfltk/pyFltk-1.1.5.tar.gz" +MD5SUM="3250ea44a184d28178aad845de11c6bb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/python/pyfltk/slack-desc b/python/pyfltk/slack-desc new file mode 100644 index 000000000000..5cea104fb7fe --- /dev/null +++ b/python/pyfltk/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--------------------------------------------------------| +pyfltk: pyfltk (FLTK Bindings for Python) +pyfltk: +pyfltk: PyFLTK provides a convenient wrapper for the FLTK GUI library for use +pyfltk: in Python programs. It is now written by Andreas Held. +pyfltk: +pyfltk: +pyfltk: +pyfltk: +pyfltk: +pyfltk: Homepage: http://pyfltk.sourceforge.net/ +pyfltk: diff --git a/python/pygame/README b/python/pygame/README new file mode 100644 index 000000000000..8e7cbc387acf --- /dev/null +++ b/python/pygame/README @@ -0,0 +1,5 @@ +Pygame is a set of Python modules designed for writing games. + +It is written on top of the excellent SDL library. This allows you to create +fully featured games and multimedia programs in the python language. Pygame +is highly portable and runs on nearly every platform and operating system. diff --git a/python/pygame/pygame.SlackBuild b/python/pygame/pygame.SlackBuild new file mode 100644 index 000000000000..e0242ddbe6b5 --- /dev/null +++ b/python/pygame/pygame.SlackBuild @@ -0,0 +1,53 @@ +#!/bin/sh + +## Written by hollywoodb (hollywoodb@fastmail.fm) +# Modified by the SlackBuilds.org project + +NAME=pygame +VERSION=1.7.1 +BUILD=${BUILD:-3} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$NAME +OUTPUT=${OUTPUT:-/tmp} + +SRCVERSION=${VERSION}release + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $NAME-$SRCVERSION +tar xvf $CWD/$NAME-$SRCVERSION.tar.?z* || exit 1 +cd $NAME-$SRCVERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Python programs use the CFLAGS specified used by python itself +python -u config.py || exit 1 +python setup.py install --root=$PKG + +find $PKG | xargs 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/$NAME-$VERSION +cp -a PKG-INFO WHATSNEW install.html readme.txt docs/* examples \ + $PKG/usr/doc/$NAME-$VERSION +cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n -p $OUTPUT/$NAME-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/python/pygame/pygame.info b/python/pygame/pygame.info new file mode 100644 index 000000000000..9568a4b20b9f --- /dev/null +++ b/python/pygame/pygame.info @@ -0,0 +1,10 @@ +PRGNAM="pygame" +VERSION="1.7.1" +HOMEPAGE="http://www.pygame.org/" +DOWNLOAD="http://www.pygame.org/ftp/pygame-1.7.1release.tar.gz" +MD5SUM="05d86d1af446f79411359400951053b7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="hollywoodb" +EMAIL="hollywoodb@fastmail.fm" +APPROVED="rworkman" diff --git a/python/pygame/slack-desc b/python/pygame/slack-desc new file mode 100644 index 000000000000..17d175b84a70 --- /dev/null +++ b/python/pygame/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-------------------------------------------------------| +pygame: pygame (a set of Python modules designed for writing games) +pygame: +pygame: pygame is written on top of the excellent SDL library. This allows you +pygame: to create fully featured games and multimedia programs in the python +pygame: language. Pygame is highly portable and runs on nearly every platform +pygame: and operating system. +pygame: +pygame: Pygame is free. Released under the LGPL licence, you can create open +pygame: source, free, freeware, shareware, and commercial games with it. +pygame: +pygame: diff --git a/python/pygoocanvas/README b/python/pygoocanvas/README new file mode 100644 index 000000000000..aa2e203640cc --- /dev/null +++ b/python/pygoocanvas/README @@ -0,0 +1,6 @@ +PyGoocanvas are the python bindings for GooCanvas which is a canvas widget for GTK+ that uses the cairo 2D library for drawing. + +Requirements: +python (included in slackware) +pygtk (included in slackware) +goocanvas (found on slackbuilds)
\ No newline at end of file diff --git a/python/pygoocanvas/pygoocanvas.SlackBuild b/python/pygoocanvas/pygoocanvas.SlackBuild new file mode 100644 index 000000000000..7ce1ce0dc41a --- /dev/null +++ b/python/pygoocanvas/pygoocanvas.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT +# Contact Info: agentc0re 'AT' learnix 'DOT' net +# 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. + +# Mar 3rd, 2010 +# Change to build "2", fixed the "strip" for bash 4 compatability +# there were no man pages to be built, removed that section +# + +PRGNAM=pygoocanvas +VERSION=0.14.1 +BUILD=${BUILD:-2} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --mandir=/usr/man \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux \ + --disable-static \ + --enable-shared + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cd $TMP/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS \ + $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/pygoocanvas/pygoocanvas.info b/python/pygoocanvas/pygoocanvas.info new file mode 100644 index 000000000000..b4c067e87703 --- /dev/null +++ b/python/pygoocanvas/pygoocanvas.info @@ -0,0 +1,10 @@ +PRGNAM="pygoocanvas" +VERSION="0.14.1" +HOMEPAGE="http://live.gnome.org/PyGoocanvas" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/0.14/pygoocanvas-0.14.1.tar.bz2" +MD5SUM="e0e7b694af2f81a78b0838555d150252" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Jonathan Larsen" +EMAIL="agentc0re@learnix.net" +APPROVED="dsomero"
\ No newline at end of file diff --git a/python/pygoocanvas/slack-desc b/python/pygoocanvas/slack-desc new file mode 100644 index 000000000000..70a93d9eefd8 --- /dev/null +++ b/python/pygoocanvas/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pygoocanvas: pygoocanvas (Python Bindings for GooCanvas) +pygoocanvas: +pygoocanvas: GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D +pygoocanvas: library for drawing. It has a model/view split, and uses interfaces +pygoocanvas: for canvas items and views, so you can easily turn any application +pygoocanvas: object into canvas items. +pygoocanvas: +pygoocanvas: This package contains Python bindings for GooCanvas. +pygoocanvas: +pygoocanvas: +pygoocanvas: diff --git a/python/pygoogle/README b/python/pygoogle/README new file mode 100644 index 000000000000..5934af36fa75 --- /dev/null +++ b/python/pygoogle/README @@ -0,0 +1,5 @@ +This module is a wrapper for the Google Web APIs. It allows you to do Google +searches, retrieve pages from the Google cache, and ask Google for spelling +suggestions. + +It requires SOAPpy, which is avalaible at SlackBuilds.org. diff --git a/python/pygoogle/pygoogle.SlackBuild b/python/pygoogle/pygoogle.SlackBuild new file mode 100644 index 000000000000..e10b8ce5f7ff --- /dev/null +++ b/python/pygoogle/pygoogle.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for PyGoogle. +# +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.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. + +PRGNAM=pygoogle +VERSION=0.6 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="readme.txt doc" + +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 {} \; +# fix README permissions (755) +chmod 644 readme.txt + +# Fix version in setup.py +patch -p1 < $CWD/version.patch + +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a $DOCS $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/pygoogle/pygoogle.info b/python/pygoogle/pygoogle.info new file mode 100644 index 000000000000..cce55a6c3819 --- /dev/null +++ b/python/pygoogle/pygoogle.info @@ -0,0 +1,10 @@ +PRGNAM="pygoogle" +VERSION="0.6" +HOMEPAGE="http://pygoogle.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/pygoogle/pygoogle-0.6.tar.gz" +MD5SUM="334e2d9e5a765ffa9769e2c4cdfcd110" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/pygoogle/slack-desc b/python/pygoogle/slack-desc new file mode 100644 index 000000000000..235c3da80a69 --- /dev/null +++ b/python/pygoogle/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------------------------------------------------------| +pygoogle: pygoogle (Python Interface to the Google API) +pygoogle: +pygoogle: A Python Interface to the Google API. +pygoogle: +pygoogle: +pygoogle: +pygoogle: +pygoogle: +pygoogle: +pygoogle: +pygoogle: diff --git a/python/pygoogle/version.patch b/python/pygoogle/version.patch new file mode 100644 index 000000000000..add7c6b47dfb --- /dev/null +++ b/python/pygoogle/version.patch @@ -0,0 +1,12 @@ +diff -Naur pygoogle-0.6.orig/setup.py pygoogle-0.6/setup.py +--- pygoogle-0.6.orig/setup.py 2004-02-26 00:54:23.000000000 +0100 ++++ pygoogle-0.6/setup.py 2009-03-13 14:37:38.000000000 +0100 +@@ -3,7 +3,7 @@ + import os
+
+ setup (name = "pygoogle",
+- version = "0.5",
++ version = "0.6",
+ description= "Simple interface to Google",
+ long_description = "This module lets you search the Google search engine programmatically. See http://www.google.com/apis/ for details." ,
+ author = 'Brian Landers (origianlly by Mark Pilgrim and contributors)',
diff --git a/python/pygtksourceview/README b/python/pygtksourceview/README new file mode 100644 index 000000000000..441647d52c23 --- /dev/null +++ b/python/pygtksourceview/README @@ -0,0 +1,3 @@ +Pygtksourceview provides python bindings for gtksourceview. + +This requires gtksourceview. diff --git a/python/pygtksourceview/pygtksourceview.SlackBuild b/python/pygtksourceview/pygtksourceview.SlackBuild new file mode 100644 index 000000000000..b0f6c43dd65b --- /dev/null +++ b/python/pygtksourceview/pygtksourceview.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for pygtksourceview + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=pygtksourceview +VERSION=2.10.1 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cp -a \ + AUTHORS ChangeLog COPYING INSTALL NEWS README \ + $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/pygtksourceview/pygtksourceview.info b/python/pygtksourceview/pygtksourceview.info new file mode 100644 index 000000000000..9a80f963ff17 --- /dev/null +++ b/python/pygtksourceview/pygtksourceview.info @@ -0,0 +1,10 @@ +PRGNAM="pygtksourceview" +VERSION="2.10.1" +HOMEPAGE="http://www.pygtk.org/" +DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-2.10.1.tar.bz2" +MD5SUM="2654354d61422fb79d8375fc3a3b5393" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/pygtksourceview/slack-desc b/python/pygtksourceview/slack-desc new file mode 100644 index 000000000000..41afd4c1c505 --- /dev/null +++ b/python/pygtksourceview/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------------------------------------------------------| +pygtksourceview: pygtksourceview (Python bindings for gtksourceview) +pygtksourceview: +pygtksourceview: Pygtksourceview provides python bindings for gtksourceview. +pygtksourceview: +pygtksourceview: Homepage: http://www.pygtk.org/ +pygtksourceview: +pygtksourceview: +pygtksourceview: +pygtksourceview: +pygtksourceview: +pygtksourceview: diff --git a/python/pyicu/README b/python/pyicu/README new file mode 100644 index 000000000000..66dd14c9d3e9 --- /dev/null +++ b/python/pyicu/README @@ -0,0 +1,4 @@ +PyICU is a Python extension wrapping IBM's International +Components for Unicode C++ library (ICU). + +This requires icu4c. diff --git a/python/pyicu/pyicu.SlackBuild b/python/pyicu/pyicu.SlackBuild new file mode 100644 index 000000000000..c1227c114c66 --- /dev/null +++ b/python/pyicu/pyicu.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for pyicu + +# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands +# 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=pyicu +VERSION=0.9 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=PyICU + +# 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 + +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 $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a CHANGES CREDITS LICENSE PKG-INFO README \ + $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/pyicu/pyicu.info b/python/pyicu/pyicu.info new file mode 100644 index 000000000000..edceb54c21b5 --- /dev/null +++ b/python/pyicu/pyicu.info @@ -0,0 +1,10 @@ +PRGNAM="pyicu" +VERSION="0.9" +HOMEPAGE="http://pyicu.osafoundation.org/" +DOWNLOAD="http://pypi.python.org/packages/source/P/PyICU/PyICU-0.9.tar.gz" +MD5SUM="944e697f5f9554a68f92619c0a3f69e2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" +APPROVED="dsomero" diff --git a/python/pyicu/slack-desc b/python/pyicu/slack-desc new file mode 100644 index 000000000000..bd6f4aea04a3 --- /dev/null +++ b/python/pyicu/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----------------------------------------------------| +pyicu: pyicu (python wrapper for icu4c) +pyicu: +pyicu: PyICU is a Python extension wrapping IBM's International +pyicu: Components for Unicode C++ library (ICU). +pyicu: +pyicu: Homepage: http://pyicu.osafoundation.org/ +pyicu: +pyicu: +pyicu: +pyicu: +pyicu: diff --git a/python/pyinotify/README b/python/pyinotify/README new file mode 100644 index 000000000000..40c4baeba225 --- /dev/null +++ b/python/pyinotify/README @@ -0,0 +1,4 @@ +Pyinotify is a Python module for monitoring filesystems changes. +Pyinotify relies on a Linux Kernel feature (merged in kernel 2.6.13) +called inotify. inotify is an event-driven notifier, its notifications +are exported from kernel space to user space through three system calls. diff --git a/python/pyinotify/pyinotify.SlackBuild b/python/pyinotify/pyinotify.SlackBuild new file mode 100644 index 000000000000..342ac21cb5b6 --- /dev/null +++ b/python/pyinotify/pyinotify.SlackBuild @@ -0,0 +1,53 @@ +#!/bin/sh + +# Slackware build script for pyinotify + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=pyinotify +VERSION=${VERSION:-0.9.0} +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 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM +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 + +find $PKG | xargs 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 +cp -a ACKS ChangeLog_old COPYING NEWS_old $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/pyinotify/pyinotify.info b/python/pyinotify/pyinotify.info new file mode 100644 index 000000000000..2d2a78f4f7ff --- /dev/null +++ b/python/pyinotify/pyinotify.info @@ -0,0 +1,10 @@ +PRGNAM="pyinotify" +VERSION="0.9.0" +HOMEPAGE="http://trac.dbzteam.org/pyinotify" +DOWNLOAD="http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz" +MD5SUM="9822b3cfe1494e1a9e8bce70b1214db7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/pyinotify/slack-desc b/python/pyinotify/slack-desc new file mode 100644 index 000000000000..aff3d5d100fe --- /dev/null +++ b/python/pyinotify/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------------------------------------------------------| +pyinotify: Pyinotify (python inotify module) +pyinotify: +pyinotify: Pyinotify is a Python module for monitoring filesystems changes. +pyinotify: Pyinotify relies on a Linux Kernel feature (merged in kernel 2.6.13) +pyinotify: called inotify. inotify is an event-driven notifier; its +pyinotify: notifications are exported from kernel space to user space through +pyinotify: three system calls. +pyinotify: +pyinotify: Homepage: http://pyinotify.sourceforge.net/ +pyinotify: +pyinotify: diff --git a/python/pylirc/README b/python/pylirc/README new file mode 100644 index 000000000000..4892569e50f7 --- /dev/null +++ b/python/pylirc/README @@ -0,0 +1,4 @@ +pyLirc is a module for Python that interacts with lirc to give Python +programs the ability to receive commands from remote controls. + +This requires lirc. diff --git a/python/pylirc/pylirc.SlackBuild b/python/pylirc/pylirc.SlackBuild new file mode 100644 index 000000000000..d5e98c03d76c --- /dev/null +++ b/python/pylirc/pylirc.SlackBuild @@ -0,0 +1,68 @@ +#!/bin/sh + +# Slackware build script for pylirc + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) + +PRGNAM=pylirc +VERSION=${VERSION:-0.0.5} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 + +find $PKG | xargs 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 +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/pylirc/pylirc.info b/python/pylirc/pylirc.info new file mode 100644 index 000000000000..c4a80504b60b --- /dev/null +++ b/python/pylirc/pylirc.info @@ -0,0 +1,10 @@ +PRGNAM="pylirc" +VERSION="0.0.5" +HOMEPAGE="http://pylirc.mccabe.nu/" +DOWNLOAD="http://downloads.sourceforge.net/sourceforge/pylirc/pylirc-0.0.5.tar.gz" +MD5SUM="4e3b6b50485610e273fededdb25b47ad" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Pablo Santamaria" +EMAIL="pablosantamaria@gmail.com" +APPROVED="dsomero" diff --git a/python/pylirc/slack-desc b/python/pylirc/slack-desc new file mode 100644 index 000000000000..b49da3fd0336 --- /dev/null +++ b/python/pylirc/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +pylirc: pylirc (Python lirc module) +pylirc: +pylirc: pyLirc is a module for Python that interacts with lirc to give Python +pylirc: programs the ability to receive commands from remote controls. +pylirc: +pylirc: +pylirc: +pylirc: +pylirc: +pylirc: +pylirc: diff --git a/python/pynzb/README b/python/pynzb/README new file mode 100644 index 000000000000..5dde33e53d7a --- /dev/null +++ b/python/pynzb/README @@ -0,0 +1,12 @@ +NZB is an XML-based file format for retrieving posts from NNTP (Usenet) +servers. Since NZB is XML-based, it's relatively easy to build one-off +parsers to parse NZB files. This project is an attempt to consolidate +those many one-off NZB parsers into one simple interface. + +This package includes three implementations: one based on expat, another +based on ElementTree, and a final implementation based on lxml. The order +in which they were listed is in order of compatibility. The expat version +should work on all versions of Python > 2.0, the lxml one will work on +all versions > 2.5, and lxml will only work if you have lxml installed. + +This requires pysetuptools. diff --git a/python/pynzb/pynzb.SlackBuild b/python/pynzb/pynzb.SlackBuild new file mode 100644 index 000000000000..32038b44416e --- /dev/null +++ b/python/pynzb/pynzb.SlackBuild @@ -0,0 +1,54 @@ +#!/bin/sh +# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST +# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands +# Slackware build script for pynzb +# Written by Lionel Young <redtricycle@gmail.com> +# Based on http://slackbuilds.org/template.SlackBuild + +PRGNAM=pynzb +VERSION=${VERSION:-0.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi + +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 build || exit 1 +python setup.py install --root=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + PKG-INFO \ + $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/pynzb/pynzb.info b/python/pynzb/pynzb.info new file mode 100644 index 000000000000..62ea9c83bcb4 --- /dev/null +++ b/python/pynzb/pynzb.info @@ -0,0 +1,10 @@ +PRGNAM="pynzb" +VERSION="0.1.0" +HOMEPAGE="https://github.com/ericflo/pynzb" +DOWNLOAD="http://pypi.python.org/packages/source/p/pynzb/pynzb-0.1.0.tar.gz" +MD5SUM="63c74a36348ac28aa99732dcb8be8c59" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Lionel Young" +EMAIL="redtricycle@gmail.com" +APPROVED="Niels Horn" diff --git a/python/pynzb/slack-desc b/python/pynzb/slack-desc new file mode 100644 index 000000000000..78873d62df04 --- /dev/null +++ b/python/pynzb/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------------------------------------------------------| +pynzb: pynzb (NZB file format parser) +pynzb: +pynzb: NZB is an XML-based file format for retrieving posts from NNTP +pynzb: (Usenet) servers. Since NZB is XML-based, it's relatively +pynzb: easy to build one-off parsers to parse NZB files. This project is +pynzb: an attempt to consolidate those many one-off NZB parsers into one +pynzb: simple interface. +pynzb: +pynzb: Home: https://github.com/ericflo/pynzb +pynzb: +pynzb: diff --git a/python/pyorbit/README b/python/pyorbit/README new file mode 100644 index 000000000000..2a469ef50605 --- /dev/null +++ b/python/pyorbit/README @@ -0,0 +1,7 @@ +PyORBit is a binding for the ORBit2 CORBA ORB. It aims to be +compatible with the Python language mapping standard, implementing +both the client side and server side bindings. PyORBit is capable of +calling methods of in-process ORBit servers implemented in C, and +being called by C code. + +Requires ORBit2, available at SlackBuilds.org diff --git a/python/pyorbit/pyorbit.SlackBuild b/python/pyorbit/pyorbit.SlackBuild new file mode 100644 index 000000000000..5add93981903 --- /dev/null +++ b/python/pyorbit/pyorbit.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh +# +# Slackware build script for pyorbit +# +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# 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=pyorbit +VERSION=2.24.0 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --mandir=/usr/man \ + --disable-static \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +cp -a AUTHORS COPYING ChangeLog ChangeLog.pre-2-0 INSTALL MAINTAINERS NEWS \ + README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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/pyorbit/pyorbit.info b/python/pyorbit/pyorbit.info new file mode 100644 index 000000000000..583cfc9c5b38 --- /dev/null +++ b/python/pyorbit/pyorbit.info @@ -0,0 +1,10 @@ +PRGNAM="pyorbit" +VERSION="2.24.0" +HOMEPAGE="http://www.pygtk.org/" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/pyorbit/2.24/pyorbit-2.24.0.tar.bz2" +MD5SUM="574593815e75ee6e98062c75d6d1581f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/python/pyorbit/slack-desc b/python/pyorbit/slack-desc new file mode 100644 index 000000000000..60dc9092044b --- /dev/null +++ b/python/pyorbit/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------------------------------------------------------| +pyorbit: PyORBit (Python bindings for the ORBit2 CORBA ORB) +pyorbit: +pyorbit: PyORBit is a binding for the ORBit2 CORBA ORB. It aims to be +pyorbit: compatible with the Python language mapping standard, implementing +pyorbit: both the client side and server side bindings. PyORBit is capable of +pyorbit: calling methods of in-process ORBit servers implemented in C, and +pyorbit: being called by C code. +pyorbit: +pyorbit: +pyorbit: +pyorbit: diff --git a/python/pypoppler/README b/python/pypoppler/README new file mode 100644 index 000000000000..988b9d2f1f7d --- /dev/null +++ b/python/pypoppler/README @@ -0,0 +1 @@ +Python bindings for the Poppler PDF rendering library (glib). diff --git a/python/pypoppler/pypoppler.SlackBuild b/python/pypoppler/pypoppler.SlackBuild new file mode 100644 index 000000000000..3daca31ae4af --- /dev/null +++ b/python/pypoppler/pypoppler.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh + +# Slackware build script for pypoppler + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=pypoppler +VERSION=0.12.1 +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cp -a \ + AUTHORS ChangeLog COPYING INSTALL NEWS \ + $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/pypoppler/pypoppler.info b/python/pypoppler/pypoppler.info new file mode 100644 index 000000000000..c38ebc8cf049 --- /dev/null +++ b/python/pypoppler/pypoppler.info @@ -0,0 +1,10 @@ +PRGNAM="pypoppler" +VERSION="0.12.1" +HOMEPAGE="https://launchpad.net/poppler-python" +DOWNLOAD="http://launchpad.net/poppler-python/trunk/development/+download/pypoppler-0.12.1.tar.gz" +MD5SUM="1a89e5ed3042afc81bbd4d02e0cf640a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/pypoppler/slack-desc b/python/pypoppler/slack-desc new file mode 100644 index 000000000000..e58e2e89075e --- /dev/null +++ b/python/pypoppler/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------------------------------------------------------| +pypoppler: pypoppler (python bindings for poppler) +pypoppler: +pypoppler: Python bindings for the Poppler PDF rendering library (glib). +pypoppler: +pypoppler: Homepage: https://launchpad.net/poppler-python +pypoppler: +pypoppler: +pypoppler: +pypoppler: +pypoppler: +pypoppler: diff --git a/python/pyquery/README b/python/pyquery/README new file mode 100644 index 000000000000..cc2788340c9e --- /dev/null +++ b/python/pyquery/README @@ -0,0 +1,12 @@ +pyquery (a jquery-like library for python) + +pyquery allows you to make jquery queries on xml documents. The API is +as much as possible the similar to jquery. pyquery uses lxml for fast +xml and html manipulation. + +It can be used for many purposes, one idea that I might try in the +future is to use it for templating with pure http templates that you +modify using pyquery. I can also be used for web scrapping or for +theming applications. + +Requires lxml. diff --git a/python/pyquery/pyquery.SlackBuild b/python/pyquery/pyquery.SlackBuild new file mode 100644 index 000000000000..5284aaedcf89 --- /dev/null +++ b/python/pyquery/pyquery.SlackBuild @@ -0,0 +1,50 @@ +#!/bin/sh + +# Slackware build script for pyquery +# Written by Šime Ramov <s@ramov.com> + +PRGNAM=pyquery +VERSION=${VERSION:-0.6.1} +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 xzf $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 build +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.txt CHANGES.txt $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/pyquery/pyquery.info b/python/pyquery/pyquery.info new file mode 100644 index 000000000000..366e28f508af --- /dev/null +++ b/python/pyquery/pyquery.info @@ -0,0 +1,10 @@ +PRGNAM="pyquery" +VERSION="0.6.1" +HOMEPAGE="http://www.bitbucket.org/olauzanne/pyquery/" +DOWNLOAD="http://pypi.python.org/packages/source/p/pyquery/pyquery-0.6.1.tar.gz" +MD5SUM="2a677d7c52b1aa89f5aaa70427e36b70" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Šime Ramov" +EMAIL="s@ramov.com" +APPROVED="Erik Hanson" diff --git a/python/pyquery/slack-desc b/python/pyquery/slack-desc new file mode 100644 index 000000000000..e5905e99028d --- /dev/null +++ b/python/pyquery/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------------------------------------------------------| +pyquery: pyquery (a jquery-like library for python) +pyquery: +pyquery: pyquery allows you to make jquery queries on xml documents. The API +pyquery: is as much as possible the similar to jquery. pyquery uses lxml for +pyquery: fast xml and html manipulation. +pyquery: +pyquery: It can be used for many purposes, one idea that I might try in the +pyquery: future is to use it for templating with pure http templates that you +pyquery: modify using pyquery. I can also be used for web scrapping or for +pyquery: theming applications. +pyquery: diff --git a/python/pyserial/README b/python/pyserial/README new file mode 100644 index 000000000000..bc6ddf9364ad --- /dev/null +++ b/python/pyserial/README @@ -0,0 +1 @@ +pyserial is a python module that encapsulates access to a serial port. diff --git a/python/pyserial/pyserial.SlackBuild b/python/pyserial/pyserial.SlackBuild new file mode 100644 index 000000000000..40ddd60feab7 --- /dev/null +++ b/python/pyserial/pyserial.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for pyserial + +# Written by Grissiom <chaos.proton@gmail.com> +# Updated by Dustin Schnee <schnee72{at}gmail{dot}com> + +PRGNAM=pyserial +VERSION=${VERSION:-2.5_rc2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_VERSION=$(printf $VERSION | tr _ -) + +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-$SRC_VERSION +tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz +cd $PRGNAM-$SRC_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 CHANGES.txt LICENSE.txt README.txt PKG-INFO \ + $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/pyserial/pyserial.info b/python/pyserial/pyserial.info new file mode 100644 index 000000000000..5c22421b62b8 --- /dev/null +++ b/python/pyserial/pyserial.info @@ -0,0 +1,10 @@ +PRGNAM="pyserial" +VERSION="2.5_rc2" +HOMEPAGE="http://pyserial.sourceforge.net/index.html" +DOWNLOAD="http://downloads.sourceforge.net/pyserial/pyserial-2.5-rc2.tar.gz" +MD5SUM="feee06e28ff5337c010c5e326ec4efd3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Grissiom" +EMAIL="chaos.proton@gmail.com" +APPROVED="rworkman" diff --git a/python/pyserial/slack-desc b/python/pyserial/slack-desc new file mode 100644 index 000000000000..95859372c115 --- /dev/null +++ b/python/pyserial/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------------------------------------------------------| +pyserial: pyserial (python module for accessing the serial port) +pyserial: +pyserial: This module encapsulates the access for the serial port. It provides +pyserial: backends for Python running on Windows, Linux, BSD (possibly any POSIX +pyserial: compliant system), Jython and IronPython (.NET and Mono). +pyserial: +pyserial: Homepage: http://pyserial.sourceforge.net +pyserial: +pyserial: +pyserial: +pyserial: diff --git a/python/pysetuptools/README b/python/pysetuptools/README new file mode 100644 index 000000000000..851e044f23d3 --- /dev/null +++ b/python/pysetuptools/README @@ -0,0 +1,18 @@ +pysetuptools (a collection of enhancements to Python distutils) +Note: the name of the source package is 'setuptools'. Since 'setuptools' +is such a generic name, this package uses the name 'pysetuptools' to avoid +any potential future conflicts. The actual installation paths and file +names are not modified in any way. + +setuptools allow you to more easily build and distribute Python packages, +especially ones that have dependencies on other packages. + +Packages built and distributed using setuptools look to the user like ordinary +Python packages based on the distutils. Your users don't need to install or +even know about setuptools in order to use them, and you don't have to include +the entire setuptools package in your distributions. By including just a single +bootstrap module (an 8K .py file), your package will automatically download and +install setuptools if the user is building your package from source and doesn't +have a suitable version already installed. + +Requires: >=python-2.3.5 on 32-bit systems >=python-2.4 on 64-bit systems diff --git a/python/pysetuptools/pysetuptools.SlackBuild b/python/pysetuptools/pysetuptools.SlackBuild new file mode 100644 index 000000000000..7b443ad754ef --- /dev/null +++ b/python/pysetuptools/pysetuptools.SlackBuild @@ -0,0 +1,59 @@ +#!/bin/sh + +## Written by hollywoodb (hollywoodb@fastmail.fm) + +## Feel free to use, modify, redistribute this script. +## If you make changes please modify the "Written by" +## so that I don't recieve emails about a script I +## did not write. Thanks. + +# Mofified by the SlackBuilds.org project + +# Maintained by Audrius Kažukauskas <audrius@neutrino.lt> + +PRGNAM=pysetuptools +SRC_NAME=setuptools +VERSION=0.6c11 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=${PKG:-$TMP/package-$SRC_NAME} +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_NAME-$VERSION +tar xvf $CWD/$SRC_NAME-$VERSION.tar.gz +cd $SRC_NAME-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Don't need this. +rm -f setuptools/*.exe + +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +install -m 0644 *.txt $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 -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/python/pysetuptools/pysetuptools.info b/python/pysetuptools/pysetuptools.info new file mode 100644 index 000000000000..c2fad893e25b --- /dev/null +++ b/python/pysetuptools/pysetuptools.info @@ -0,0 +1,10 @@ +PRGNAM="pysetuptools" +VERSION="0.6c11" +HOMEPAGE="http://peak.telecommunity.com/DevCenter/setuptools" +DOWNLOAD="http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz" +MD5SUM="7df2a529a074f613b509fb44feefe74e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Audrius Kazukauskas" +EMAIL="audrius@neutrino.lt" +APPROVED="Erik Hanson" diff --git a/python/pysetuptools/slack-desc b/python/pysetuptools/slack-desc new file mode 100644 index 000000000000..816e24c7c4ad --- /dev/null +++ b/python/pysetuptools/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------------------------------------------------------| +pysetuptools: pysetuptools (a collection of enhancements to Python distutils) +pysetuptools: +pysetuptools: setuptools allow you to more easily build and distribute +pysetuptools: Python packages, especially ones that have dependencies on +pysetuptools: other packages +pysetuptools: +pysetuptools: +pysetuptools: +pysetuptools: +pysetuptools: +pysetuptools: diff --git a/python/pyside/README b/python/pyside/README new file mode 100644 index 000000000000..d1fdf8c4507f --- /dev/null +++ b/python/pyside/README @@ -0,0 +1,9 @@ +PySide is a LGPL licensed python binding that allow access of Qt libraries, +making them available just using the import command. + +The build process is comprised of two stages: in a first moment the bindings +source code are created from the Qt 4.6 headers by calling the Generator Runner +with appropriate parameters; the generated files are then compiled and linked +together to form the bindings libraries. + +This requires generatorrunner and shiboken. diff --git a/python/pyside/pyside.SlackBuild b/python/pyside/pyside.SlackBuild new file mode 100644 index 000000000000..26d0e2c2c168 --- /dev/null +++ b/python/pyside/pyside.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for pyside + +# Written by Grissiom <chaos.proton@gmail.com> + +PRGNAM=pyside +VERSION=${VERSION:-qt4.6+0.4.1} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DBUILD_TESTS:BOOL=OFF \ + -DENABLE_GCC_OPTIMIZATION:BOOL=ON \ + -DCMAKE_BUILD_TYPE=Release \ + .. + make + make install DESTDIR=$PKG +cd .. + +find $PKG | xargs 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 +cp -a ChangeLog COPYING \ + $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/pyside/pyside.info b/python/pyside/pyside.info new file mode 100644 index 000000000000..2384ed2b012f --- /dev/null +++ b/python/pyside/pyside.info @@ -0,0 +1,10 @@ +PRGNAM="pyside" +VERSION="qt4.6+0.4.1" +HOMEPAGE="http://www.pyside.org/" +DOWNLOAD="http://www.pyside.org/files/pyside-qt4.6+0.4.1.tar.bz2" +MD5SUM="dbc34efa904458f792df128df738d554" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Grissiom" +EMAIL="chaos.proton@gmail.com" +APPROVED="pprkut" diff --git a/python/pyside/slack-desc b/python/pyside/slack-desc new file mode 100644 index 000000000000..9d3aa2eae9d2 --- /dev/null +++ b/python/pyside/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +pyside: PySide (LGPL python bindings for Qt) +pyside: +pyside: PySide is a LGPL licensed python binding that allow access of Qt +pyside: libraries, making them available just using the import command. +pyside: +pyside: Homepage: http://www.pyside.org/ +pyside: +pyside: +pyside: +pyside: +pyside: diff --git a/python/pysmssend/.gitignore b/python/pysmssend/.gitignore new file mode 100644 index 000000000000..1b7e16a14ae4 --- /dev/null +++ b/python/pysmssend/.gitignore @@ -0,0 +1,6 @@ +tarball.sh +*.html +clean.sh +*.swp +*.tar.gz +nightly.sh diff --git a/python/pysmssend/README b/python/pysmssend/README new file mode 100644 index 000000000000..5883139bdaf6 --- /dev/null +++ b/python/pysmssend/README @@ -0,0 +1,5 @@ +Pysmssend project is a program for sending sms over the internet using +your ADSL/VOIP provider account. The program has both GUI and command +line interfaces so that it can fulfill any needs. + +This requires mechanize. diff --git a/python/pysmssend/pysmssend.SlackBuild b/python/pysmssend/pysmssend.SlackBuild new file mode 100644 index 000000000000..6e5675e8e476 --- /dev/null +++ b/python/pysmssend/pysmssend.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for pysmssend +# Written by Michales Michaloudes korgie@gmail.com + +PRGNAM=pysmssend +VERSION=${VERSION:-1.45} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +#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 {} \; + +# install.sh is braindead. + +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/bin +cp -a pysmssend pysmssendcmd $PKG/usr/bin/ + +mkdir -p $PKG/usr/share/pysmssend +cp -a Icons $PKG/usr/share/pysmssend + +mkdir -p $PKG/usr/share/applications +cat pysmssend.desktop > $PKG/usr/share/applications/pysmssend.desktop + +mkdir -p $PKG/usr/share/pixmaps +cat Icons/pysmssend.png > $PKG/usr/share/pixmaps/pysmssend.png + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG INSTALL TODO README $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/pysmssend/pysmssend.info b/python/pysmssend/pysmssend.info new file mode 100644 index 000000000000..2712ae4fc77c --- /dev/null +++ b/python/pysmssend/pysmssend.info @@ -0,0 +1,10 @@ +PRGNAM="pysmssend" +VERSION="1.45" +HOMEPAGE="http://pysmssend.silverarrow.org/" +DOWNLOAD="http://pysmssend.silverarrow.org/files/pysmssend-1.45.tar.gz" +MD5SUM="14ad1ce0094731427b103fa5586c97da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Michales Michaloudes" +EMAIL="korgie@gmail.com" +APPROVED="rworkman" diff --git a/python/pysmssend/slack-desc b/python/pysmssend/slack-desc new file mode 100644 index 000000000000..54e295b71eee --- /dev/null +++ b/python/pysmssend/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------------------------------------------------------| +pysmssend: pysmssend (send SMS over internet) +pysmssend: +pysmssend: Pysmssend project is a program for sending sms over the internet +pysmssend: using your ADSL/VOIP provider account. The program has both GUI +pysmssend: and command line interfaces so that it can fulfill any needs. +pysmssend: +pysmssend: +pysmssend: +pysmssend: +pysmssend: +pysmssend: diff --git a/python/pytables/README b/python/pytables/README new file mode 100644 index 000000000000..22120c6a4a69 --- /dev/null +++ b/python/pytables/README @@ -0,0 +1,19 @@ +PyTables is a package for managing hierarchical datasets +and designed to efficiently and easily cope with extremely +large amounts of data. It optimizes memory and disk resources +so that data takes much less space than other solutions such +as relational or object oriented databases. + +PyTables has been designed to fulfill the next requirements: + 1. Allow to structure your data in a hierarchical way. + 2. Easy to use. It implements the NaturalNaming scheme for + allowing convenient access to the data. + 3. All the cells in datasets can be multidimensional entities. + 4. Most of the I/O operations speed should be only limited by + the underlying I/O subsystem. + 5. Enable the end user to save large datasets in a efficient + way, i.e. each single byte of data on disk has to be + represented by one byte plus a small fraction when loaded + in memory. + +This requires numpy, numexpr, hdf5 and Cython. diff --git a/python/pytables/pytables.SlackBuild b/python/pytables/pytables.SlackBuild new file mode 100644 index 000000000000..27c070852d54 --- /dev/null +++ b/python/pytables/pytables.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/sh + +# Slackware build script for pytables + +# Copyright 2007-2010 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. + +PRGNAM=pytables +VERSION=${VERSION:-2.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} + +SRC_PRGNAM=tables +DOCFILES="RELEASE_NOTES.txt LICENSES/ MIGRATING_TO_2.x.txt THANKS \ + ANNOUNCE.txt LICENSE.txt PKG-INFO README.txt doc/html doc/scripts \ + doc/text doc/usersguide.pdf" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_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 {} \; + +CFLAGS="$SLKCFLAGS" python setup.py build install --prefix=/usr --root=$PKG + +# Copy examples, contrib, and bench files +mkdir -p $PKG/usr/share/$PRGNAM/ +cp -a examples contrib bench $PKG/usr/share/$PRGNAM/ + +# Copy documentation files +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cp $CWD/pytablesmanual-$VERSION.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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/pytables/pytables.info b/python/pytables/pytables.info new file mode 100644 index 000000000000..2b441328bd6f --- /dev/null +++ b/python/pytables/pytables.info @@ -0,0 +1,13 @@ +PRGNAM="pytables" +VERSION="2.2" +HOMEPAGE="http://www.pytables.org/moin" +DOWNLOAD="http://www.pytables.org/download/pytables-2.2/tables-2.2.tar.gz \ + http://www.pytables.org/download/pytables-2.2/pytablesmanual-2.2.pdf" +MD5SUM="b95ebb5e501296f30fd75254a689d57b \ + 61609ed51b1bfab0689dbbc3ca636cb3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="Niels Horn" + diff --git a/python/pytables/slack-desc b/python/pytables/slack-desc new file mode 100644 index 000000000000..ecf9f8542a9f --- /dev/null +++ b/python/pytables/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----------------------------------------------------| +pytables: pytables (Hierarchical datasets in Python) +pytables: +pytables: PyTables is a package for managing hierarchical datasets +pytables: and designed to efficiently and easily cope with extremely +pytables: large amounts of data. It optimizes memory and disk resources +pytables: so that data takes much less space than other solutions such +pytables: as relational or object oriented databases. +pytables: +pytables: Homepage: http://www.pytables.org/moin +pytables: +pytables: diff --git a/python/python-bigfloat/README b/python/python-bigfloat/README new file mode 100644 index 000000000000..a66784f717f9 --- /dev/null +++ b/python/python-bigfloat/README @@ -0,0 +1,16 @@ +The bigfloat module is a Python wrapper for the MPFR library for arbitrary +precision floating-point reliable arithmetic. + +The MPFR library is a well-known portable C library for arbitrary-precision +arithmetic on floating-point numbers. It provides precise control over +precisions and rounding modes and gives correctly-rounded reproducible +platform-independent results. + +The bigfloat module aims to provide a convenient and friendly Python +interface to the operations and functions provided by the MPFR library. The +main class, BigFloat, gives an immutable multiple-precision floating-point +type that can be freely mixed with Python integers and floats. The Context +class, when used in conjunction with Pythons with statement, gives a simple +way of controlling precisions and rounding modes. Additional module-level +functions provide various standard mathematical operations. There is full +support for IEEE 754 signed zeros, nans, infinities and subnormals. diff --git a/python/python-bigfloat/doinst.sh b/python/python-bigfloat/doinst.sh new file mode 100644 index 000000000000..c9ae7e166cc3 --- /dev/null +++ b/python/python-bigfloat/doinst.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python -m bigfloat.test.test_bigfloat diff --git a/python/python-bigfloat/python-bigfloat.SlackBuild b/python/python-bigfloat/python-bigfloat.SlackBuild new file mode 100644 index 000000000000..d509011a3eeb --- /dev/null +++ b/python/python-bigfloat/python-bigfloat.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh + +# Slackware build script for python-bigfloat + +# Written by John Tyree <johntyree@gmail.com> + +PRGNAM=python-bigfloat +VERSION=${VERSION:-0.2.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=$(echo $PRGNAM | cut -d- -f2) + +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +mv $SRCNAM-$VERSION $PRGNAM-$VERSION +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 + +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 +cp -a \ + README PKG-INFO CHANGELOG \ + $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/python/python-bigfloat/python-bigfloat.info b/python/python-bigfloat/python-bigfloat.info new file mode 100644 index 000000000000..e7f5d538463e --- /dev/null +++ b/python/python-bigfloat/python-bigfloat.info @@ -0,0 +1,10 @@ +PRGNAM="python-bigfloat" +VERSION="0.2.1" +HOMEPAGE="http://bitbucket.org/dickinsm/bigfloat" +DOWNLOAD="http://pypi.python.org/packages/source/b/bigfloat/bigfloat-0.2.1.tar.gz" +MD5SUM="5260728c060ce511b6e23018b76fc2e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="John Tyree" +EMAIL="johntyree+removethis@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-bigfloat/slack-desc b/python/python-bigfloat/slack-desc new file mode 100644 index 000000000000..fa8a0ca230a7 --- /dev/null +++ b/python/python-bigfloat/slack-desc @@ -0,0 +1,20 @@ +# 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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python-bigfloat: python-bigfloat (Arbitrary precision floating point arithmetic) +python-bigfloat: +python-bigfloat: The bigfloat module is a Python wrapper for the MPFR library for +python-bigfloat: arbitrary precision floating-point reliable arithmetic. +python-bigfloat: +python-bigfloat: The MPFR library is a well-known portable C library for +python-bigfloat: arbitrary-precision arithmetic on floating-point numbers. It provides +python-bigfloat: precise control over precisions and rounding modes and gives +python-bigfloat: correctly-rounded reproducible platform-independent results. +python-bigfloat: +python-bigfloat: + diff --git a/python/python-cluster/README b/python/python-cluster/README new file mode 100644 index 000000000000..a074818a16f9 --- /dev/null +++ b/python/python-cluster/README @@ -0,0 +1,3 @@ +python-cluster is a package that allows grouping a list of arbitrary objects +into related groups (clusters). Simply give it a list of data and a function +to determine the similarity between two items and you're done. diff --git a/python/python-cluster/python-cluster.SlackBuild b/python/python-cluster/python-cluster.SlackBuild new file mode 100644 index 000000000000..fa065d91bcdb --- /dev/null +++ b/python/python-cluster/python-cluster.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/sh + +# Slackware build script for python-cluster. +# +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.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. + +PRGNAM=python-cluster +SRCNAM=cluster +VERSION=1.1.1b3 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="LICENSE PKG-INFO README" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a $DOCS $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/python-cluster/python-cluster.info b/python/python-cluster/python-cluster.info new file mode 100644 index 000000000000..c099497716eb --- /dev/null +++ b/python/python-cluster/python-cluster.info @@ -0,0 +1,10 @@ +PRGNAM="python-cluster" +VERSION="1.1.1b3" +HOMEPAGE="http://python-cluster.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/python-cluster/cluster-1.1.1b3.tar.gz" +MD5SUM="a549edf712328540b08d394c79af2506" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/python-cluster/slack-desc b/python/python-cluster/slack-desc new file mode 100644 index 000000000000..b60632f01344 --- /dev/null +++ b/python/python-cluster/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------------------------------------------------------| +python-cluster: python-cluster (allows grouping a list of arbitrary objects) +python-cluster: +python-cluster: python-cluster is a package that allows grouping a list of arbitrary +python-cluster: objects into related groups (clusters). Simply give it a list of data +python-cluster: and a function to determine the similarity between two items and +python-cluster: you're done. +python-cluster: +python-cluster: +python-cluster: +python-cluster: +python-cluster: diff --git a/python/python-cmdln/README b/python/python-cmdln/README new file mode 100644 index 000000000000..af5dcdcb711c --- /dev/null +++ b/python/python-cmdln/README @@ -0,0 +1,3 @@ +cmdln.py fixes some of the design flaws in cmd.py and takes advantage +of new Python stdlib modules (e.g. optparse) so that it is more useful +(and convenient) for implementing command-line scripts/shells. diff --git a/python/python-cmdln/python-cmdln.SlackBuild b/python/python-cmdln/python-cmdln.SlackBuild new file mode 100644 index 000000000000..bcd59784180a --- /dev/null +++ b/python/python-cmdln/python-cmdln.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for python-cmdln + +# Copyright 2011 Robby Workman, Northport, Alabama, USA +# 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=python-cmdln +VERSION=${VERSION:-1.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=cmdln + +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +unzip $CWD/$SRCNAM-$VERSION.zip +cd $SRCNAM-$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 + +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 +cp -a *.txt docs/* examples $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/python-cmdln/python-cmdln.info b/python/python-cmdln/python-cmdln.info new file mode 100644 index 000000000000..29f6d539574e --- /dev/null +++ b/python/python-cmdln/python-cmdln.info @@ -0,0 +1,10 @@ +PRGNAM="python-cmdln" +VERSION="1.1.2" +HOMEPAGE="https://code.google.com/p/cmdln/" +DOWNLOAD="http://cmdln.googlecode.com/files/cmdln-1.1.2.zip" +MD5SUM="d40a36d0c7b2a23c65a6ab1f213ddc0a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Robby Workman" +EMAIL="rw@rlworkman.net" +APPROVED="Niels Horn" diff --git a/python/python-cmdln/slack-desc b/python/python-cmdln/slack-desc new file mode 100644 index 000000000000..b0e722e41718 --- /dev/null +++ b/python/python-cmdln/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------------------------------------------------------| +python-cmdln: python-cmdln (enhanced cmdln module for python) +python-cmdln: +python-cmdln: cmdln.py fixes some of the design flaws in cmd.py and takes +python-cmdln: advantage of new Python stdlib modules (e.g. optparse) so that +python-cmdln: it is more useful (and convenient) for implementing command-line +python-cmdln: scripts/shells. +python-cmdln: +python-cmdln: +python-cmdln: +python-cmdln: +python-cmdln: diff --git a/python/python-dateutil/README b/python/python-dateutil/README new file mode 100644 index 000000000000..160b6683b5f0 --- /dev/null +++ b/python/python-dateutil/README @@ -0,0 +1,4 @@ +The dateutil module provides powerful extensions to the +standard datetime module. + +This requires pysetuptools. diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild new file mode 100644 index 000000000000..f8f949ce3444 --- /dev/null +++ b/python/python-dateutil/python-dateutil.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for python-dateutil + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=python-dateutil +VERSION=1.5 +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 + +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 + +find $PKG | xargs 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 +cp -a LICENSE NEWS README $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/python-dateutil/python-dateutil.info b/python/python-dateutil/python-dateutil.info new file mode 100644 index 000000000000..546d4fb4a6c0 --- /dev/null +++ b/python/python-dateutil/python-dateutil.info @@ -0,0 +1,10 @@ +PRGNAM="python-dateutil" +VERSION="1.5" +HOMEPAGE="http://labix.org/python-dateutil" +DOWNLOAD="http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz" +MD5SUM="35f3732db3f2cc4afdc68a8533b60a52" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/python-dateutil/slack-desc b/python/python-dateutil/slack-desc new file mode 100644 index 000000000000..4c4a4aa91d80 --- /dev/null +++ b/python/python-dateutil/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------------------------------------------------------| +python-dateutil: python-dateutil (extensions to the standard datetime module) +python-dateutil: +python-dateutil: The dateutil module provides powerful extensions to the standard +python-dateutil: datetime module. +python-dateutil: +python-dateutil: Hompage: http://labix.org/python-dateutil +python-dateutil: +python-dateutil: +python-dateutil: +python-dateutil: +python-dateutil: diff --git a/python/python-demjson/README b/python/python-demjson/README new file mode 100644 index 000000000000..cfac5b4bda3e --- /dev/null +++ b/python/python-demjson/README @@ -0,0 +1,2 @@ +Encoder, decoder, and lint/validator for JSON (JavaScript Object +Notation) compliant with RFC 4627 diff --git a/python/python-demjson/python-demjson.SlackBuild b/python/python-demjson/python-demjson.SlackBuild new file mode 100644 index 000000000000..afc81180f7ac --- /dev/null +++ b/python/python-demjson/python-demjson.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for python-demjson +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=demjson +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-1.4} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a \ + AUTHORS.txt CHANGES.txt INSTALL.txt LICENSE.txt NEWS.txt README.txt THANKS.txt docs *.txt \ + $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/python-demjson/python-demjson.info b/python/python-demjson/python-demjson.info new file mode 100644 index 000000000000..573dada797f3 --- /dev/null +++ b/python/python-demjson/python-demjson.info @@ -0,0 +1,10 @@ +PRGNAM="python-demjson" +VERSION="1.4" +HOMEPAGE="http://pypi.python.org/pypi/demjson" +DOWNLOAD="http://pypi.python.org/packages/source/d/demjson/demjson-1.4.tar.gz" +MD5SUM="6f6c88bfe2443390230109c709243fcd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-demjson/slack-desc b/python/python-demjson/slack-desc new file mode 100644 index 000000000000..8165a04f27fb --- /dev/null +++ b/python/python-demjson/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------------------------------------------------------| +python-demjson: python-demjson ( Encoder, decoder, and lint/validator for JSON ) +python-demjson: +python-demjson: Encoder, decoder, and lint/validator for JSON (JavaScript Object +python-demjson: Notation) compliant with RFC 4627 +python-demjson: +python-demjson: Homepage: http://pypi.python.org/pypi/demjson +python-demjson: +python-demjson: +python-demjson: +python-demjson: +python-demjson: diff --git a/python/python-distutils-extra/README b/python/python-distutils-extra/README new file mode 100644 index 000000000000..4a0757d99bf6 --- /dev/null +++ b/python/python-distutils-extra/README @@ -0,0 +1,6 @@ +Python-distutils-extra allows to easily integrate themable icons, +scrollkeeper based documentation and gettext based translations in +your python install and build tools. It can be used with python's +distutils or the enhanced setuptools. + +This requires pysetuptools. diff --git a/python/python-distutils-extra/python-distutils-extra.SlackBuild b/python/python-distutils-extra/python-distutils-extra.SlackBuild new file mode 100644 index 000000000000..365401b382b2 --- /dev/null +++ b/python/python-distutils-extra/python-distutils-extra.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for python-distutils-extra + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=python-distutils-extra +VERSION=2.23 +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 + +find $PKG | xargs 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 +cp -a \ + LICENSE PKG-INFO doc/{FAQ,README} \ + $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/python-distutils-extra/python-distutils-extra.info b/python/python-distutils-extra/python-distutils-extra.info new file mode 100644 index 000000000000..ab5610a241df --- /dev/null +++ b/python/python-distutils-extra/python-distutils-extra.info @@ -0,0 +1,10 @@ +PRGNAM="python-distutils-extra" +VERSION="2.23" +HOMEPAGE="https://launchpad.net/python-distutils-extra" +DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.23/+download/python-distutils-extra-2.23.tar.gz" +MD5SUM="9964f888f58097827cbeb9dc9269274a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="Erik Hanson" diff --git a/python/python-distutils-extra/slack-desc b/python/python-distutils-extra/slack-desc new file mode 100644 index 000000000000..76b07b6085aa --- /dev/null +++ b/python/python-distutils-extra/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------------------------------------------------------| +python-distutils-extra: python-distutils-extra +python-distutils-extra: +python-distutils-extra: Python-distutils-extra allows to easily integrate themable icons, +python-distutils-extra: scrollkeeper based documentation and gettext based translations in +python-distutils-extra: your python install and build tools. It can be used with python's +python-distutils-extra: distutils or the enhanced setuptools. +python-distutils-extra: +python-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra +python-distutils-extra: +python-distutils-extra: +python-distutils-extra: diff --git a/python/python-elementtree/README b/python/python-elementtree/README new file mode 100644 index 000000000000..e0c761f808d4 --- /dev/null +++ b/python/python-elementtree/README @@ -0,0 +1,7 @@ +The Element type is a simple but flexible container object, designed +to store hierarchical data structures, such as simplified XML +infosets, in memory. The element type can be described as a cross +between a Python list and a Python dictionary. + +The ElementTree wrapper type adds code to load XML files as trees of +Element objects, and save them back again. diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python-elementtree/python-elementtree.SlackBuild new file mode 100644 index 000000000000..fead173deba0 --- /dev/null +++ b/python/python-elementtree/python-elementtree.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for elementtree +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=elementtree +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-1.2.7-20070827-preview} +ARCVERSION=$VERSION +VERSION=$(echo $VERSION | tr - _) +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$ARCVERSION +unzip $CWD/$SRCNAM-$ARCVERSION.zip +cd $SRCNAM-$ARCVERSION +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 + +find $PKG | xargs 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 +cp -a \ + CHANGES README \ + $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/python-elementtree/python-elementtree.info b/python/python-elementtree/python-elementtree.info new file mode 100644 index 000000000000..1b8beab3c0b2 --- /dev/null +++ b/python/python-elementtree/python-elementtree.info @@ -0,0 +1,10 @@ +PRGNAM="python-elementtree" +VERSION="1.2.7_20070827_preview" +HOMEPAGE="http://effbot.org/zone/element-index.htm" +DOWNLOAD="http://effbot.org/media/downloads/elementtree-1.2.7-20070827-preview.zip" +MD5SUM="30e2fe5edd143f347e03a8baf5d60f8a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-elementtree/slack-desc b/python/python-elementtree/slack-desc new file mode 100644 index 000000000000..a23f6dc59123 --- /dev/null +++ b/python/python-elementtree/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------------------------------------------------------| +python-elementtree: elementtree ( Python library wrapper for XML ) +python-elementtree: +python-elementtree: The Element type is a simple but flexible container object, designed +python-elementtree: to store hierarchical data structures, such as simplified XML +python-elementtree: infosets, in memory. The element type can be described as a cross +python-elementtree: between a Python list and a Python dictionary. +python-elementtree: +python-elementtree: The ElementTree wrapper type adds code to load XML files as trees of +python-elementtree: Element objects, and save them back again. +python-elementtree: +python-elementtree: Homepage: http://effbot.org/zone/element-index.htm diff --git a/python/python-lastfm/README b/python/python-lastfm/README new file mode 100644 index 000000000000..f043600b9528 --- /dev/null +++ b/python/python-lastfm/README @@ -0,0 +1,2 @@ +A python interface to the last.fm web services API. Its under development +now and the code in SVN is incomplete. diff --git a/python/python-lastfm/nostdeb.diff b/python/python-lastfm/nostdeb.diff new file mode 100644 index 000000000000..83d1ea07bc0a --- /dev/null +++ b/python/python-lastfm/nostdeb.diff @@ -0,0 +1,15 @@ +*** setup.py 2009-03-04 09:34:14.000000000 +0200 +--- setup1.py 2009-03-04 09:36:03.000000000 +0200 +*************** +*** 1,5 **** + #!/usr/bin/env python +! import stdeb + __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>" + __version__ = "0.1" + __license__ = "GNU Lesser General Public License" +--- 1,5 ---- + #!/usr/bin/env python +! + __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>" + __version__ = "0.1" + __license__ = "GNU Lesser General Public License" diff --git a/python/python-lastfm/python-lastfm.SlackBuild b/python/python-lastfm/python-lastfm.SlackBuild new file mode 100644 index 000000000000..9a8fde69f527 --- /dev/null +++ b/python/python-lastfm/python-lastfm.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh + +# Slackware build script for python-lastfm + +# Written by Mihai Militaru <mihai.militaru@gmx.com> +# March 2009 + +PRGNAM=python-lastfm +ORIGNAM=lastfm +VERSION=${VERSION:-0.1} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$ORIGNAM-$VERSION.tar.gz +cd $ORIGNAM-$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 {} \; + +patch -p0 < $CWD/nostdeb.diff + +python setup.py install --root $PKG + +mkdir -p $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/python-lastfm/python-lastfm.info b/python/python-lastfm/python-lastfm.info new file mode 100644 index 000000000000..8cbb544aba23 --- /dev/null +++ b/python/python-lastfm/python-lastfm.info @@ -0,0 +1,10 @@ +PRGNAM="python-lastfm" +VERSION="0.1" +HOMEPAGE="http://code.google.com/p/python-lastfm/" +DOWNLOAD="http://python-lastfm.googlecode.com/svn/trunk/dist/lastfm-0.1.tar.gz" +MD5SUM="11c85f85fd1bd3a73dbe80473609a151" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mihai Militaru" +EMAIL="mihai.militaru@gmx.com" +APPROVED="dsomero" diff --git a/python/python-lastfm/slack-desc b/python/python-lastfm/slack-desc new file mode 100644 index 000000000000..463f7e833b89 --- /dev/null +++ b/python/python-lastfm/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------------------------------------------------| +python-lastfm: python-lastfm (python interface to last.fm) +python-lastfm: +python-lastfm: A python interface to the last.fm web services API. Its under +python-lastfm: development now and the code in SVN is incomplete. +python-lastfm: +python-lastfm: +python-lastfm: +python-lastfm: +python-lastfm: Homepage: http://code.google.com/p/python-lastfm/ +python-lastfm: +python-lastfm: diff --git a/python/python-morbid/README b/python/python-morbid/README new file mode 100644 index 000000000000..7dd6d5910155 --- /dev/null +++ b/python/python-morbid/README @@ -0,0 +1,3 @@ +Twisted-based publish/subscribe messaging server that uses the STOMP +protocol + diff --git a/python/python-morbid/python-morbid.SlackBuild b/python/python-morbid/python-morbid.SlackBuild new file mode 100644 index 000000000000..1733508866e4 --- /dev/null +++ b/python/python-morbid/python-morbid.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for python-morbid +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=morbid +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-0.8.7.3} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a \ + LICENSE README \ + $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/python-morbid/python-morbid.info b/python/python-morbid/python-morbid.info new file mode 100644 index 000000000000..3aaeaf4e989e --- /dev/null +++ b/python/python-morbid/python-morbid.info @@ -0,0 +1,10 @@ +PRGNAM="python-morbid" +VERSION="0.8.7.3" +HOMEPAGE="http://pypi.python.org/pypi/morbid/0.8.7.3" +DOWNLOAD="http://pypi.python.org/packages/source/m/morbid/morbid-0.8.7.3.tar.gz" +MD5SUM="5a2458def7e583a10c46c046dbab9c4a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-morbid/slack-desc b/python/python-morbid/slack-desc new file mode 100644 index 000000000000..8d19fc779e73 --- /dev/null +++ b/python/python-morbid/slack-desc @@ -0,0 +1,22 @@ +# 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------------------------------------------------------| +python-morbid: python-morbid ( messaging server ) +python-morbid: +python-morbid: Twisted-based publish/subscribe messaging server that uses the STOMP +python-morbid: protocol +python-morbid: +python-morbid: Homepage: http://pypi.python.org/pypi/morbid/0.8.7.3 +python-morbid: +python-morbid: +python-morbid: +python-morbid: +python-morbid: + + + diff --git a/python/python-mpd/README b/python/python-mpd/README new file mode 100644 index 000000000000..79d738c24bff --- /dev/null +++ b/python/python-mpd/README @@ -0,0 +1 @@ +Python-mpd is a MPD client library written in pure Python. diff --git a/python/python-mpd/python-mpd.SlackBuild b/python/python-mpd/python-mpd.SlackBuild new file mode 100644 index 000000000000..aae2322c24a0 --- /dev/null +++ b/python/python-mpd/python-mpd.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for python-mpd + +# Copyright 2008-2011 Andrew Brouwers <abrouwers@gmail.com> +# 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=python-mpd +VERSION=0.3.0 +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-python-mpd +OUTPUT=${OUTPUT:-/tmp} + +DOCS="CHANGES.txt LICENSE.txt README.txt doc/commands.txt" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +python setup.py install --root=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION + +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/python-mpd/python-mpd.info b/python/python-mpd/python-mpd.info new file mode 100644 index 000000000000..dcf29460bdd4 --- /dev/null +++ b/python/python-mpd/python-mpd.info @@ -0,0 +1,10 @@ +PRGNAM="python-mpd" +VERSION="0.3.0" +HOMEPAGE="http://pypi.python.org/pypi/python-mpd/" +DOWNLOAD="http://pypi.python.org/packages/source/p/python-mpd/python-mpd-0.3.0.tar.gz" +MD5SUM="5b3849b131e2fb12f251434597d65635" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Andrew Brouwers" +EMAIL="abrouwers@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-mpd/slack-desc b/python/python-mpd/slack-desc new file mode 100644 index 000000000000..ebd763d22f0e --- /dev/null +++ b/python/python-mpd/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------------------------------------------------------| +python-mpd: Python-MPD (python based mpd client library) +python-mpd: +python-mpd: Python-mpd is a MPD client library written in pure Python. +python-mpd: +python-mpd: Homepage: http://pypi.python.org/pypi/python-mpd/ +python-mpd: +python-mpd: +python-mpd: +python-mpd: +python-mpd: +python-mpd: diff --git a/python/python-musicbrainz2/README b/python/python-musicbrainz2/README new file mode 100644 index 000000000000..1af8a6c5582a --- /dev/null +++ b/python/python-musicbrainz2/README @@ -0,0 +1,9 @@ +Python Bindings for the MusicBrainz XML Web Service. + +This python package contains various modules for accessing the MusicBrainz +web service, as well as parsing the MusicBrainz Metadata XML (MMD), or +calculating DiscIDs from Audio CDs. + +If you'd like to generate and install the python-musicbrainz2 API documents, +then install epydoc (available at slackbuild.org) and pass MAKE_DOCS=yes +to the Slackbuild. diff --git a/python/python-musicbrainz2/python-musicbrainz2.SlackBuild b/python/python-musicbrainz2/python-musicbrainz2.SlackBuild new file mode 100644 index 000000000000..50852bf3f6c6 --- /dev/null +++ b/python/python-musicbrainz2/python-musicbrainz2.SlackBuild @@ -0,0 +1,60 @@ +#!/bin/sh + +# Slackware build script for python-muzicbrainz2 + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=python-musicbrainz2 +VERSION=${VERSION:-0.7.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 +chmod 0755 $PRGNAM-$VERSION +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 {} \; + +# Optional API documentation generation. +if [ "${MAKE_DOCS:-no}" == "yes" ]; then + python setup.py docs +fi + +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +[ -d html ] && cp -a html $PKG/usr/doc/$PRGNAM-$VERSION/ + +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/python-musicbrainz2/python-musicbrainz2.info b/python/python-musicbrainz2/python-musicbrainz2.info new file mode 100644 index 000000000000..8f81fcfe9435 --- /dev/null +++ b/python/python-musicbrainz2/python-musicbrainz2.info @@ -0,0 +1,10 @@ +PRGNAM="python-musicbrainz2" +VERSION="0.7.2" +HOMEPAGE="http://musicbrainz.org/doc/PythonMusicBrainz2" +DOWNLOAD="http://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/python-musicbrainz2-0.7.2.tar.gz" +MD5SUM="89fa67121973014dec8629f2cc75b826" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="Erik Hanson" diff --git a/python/python-musicbrainz2/slack-desc b/python/python-musicbrainz2/slack-desc new file mode 100644 index 000000000000..2be86fb96a07 --- /dev/null +++ b/python/python-musicbrainz2/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------------------------------------------------------| +python-musicbrainz2: Python-Musicbrainz2 +python-musicbrainz2: +python-musicbrainz2: Python Bindings for the MusicBrainz XML Web Service. +python-musicbrainz2: +python-musicbrainz2: Homepage: http://musicbrainz.org/doc/PythonMusicBrainz2 +python-musicbrainz2: +python-musicbrainz2: +python-musicbrainz2: +python-musicbrainz2: +python-musicbrainz2: +python-musicbrainz2: diff --git a/python/python-openid/README b/python/python-openid/README new file mode 100644 index 000000000000..a88bb6bf3133 --- /dev/null +++ b/python/python-openid/README @@ -0,0 +1 @@ +Python OpenID library. diff --git a/python/python-openid/python-openid.SlackBuild b/python/python-openid/python-openid.SlackBuild new file mode 100644 index 000000000000..01ab4552912e --- /dev/null +++ b/python/python-openid/python-openid.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh +# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST +# Copyright 2009 Eric Hameleers <alien@slackware.com>, Eindhoven, Netherlands + +# Slackware build script for python-openid + +# Written by Lionel Young <redtricycle@gmail.com> + +PRGNAM=python-openid +SRCNAM=openid-python-openid +SRCNAMSUF=b666238 +VERSION=${VERSION:-2.2.5} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION-0-g$SRCNAMSUF.tar.gz +cd $SRCNAM-$SRCNAMSUF +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 build +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES-2.2.0 LICENSE README NOTICE README \ + $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/python-openid/python-openid.info b/python/python-openid/python-openid.info new file mode 100644 index 000000000000..b2fb745b5bc6 --- /dev/null +++ b/python/python-openid/python-openid.info @@ -0,0 +1,10 @@ +PRGNAM="python-openid" +VERSION="2.2.5" +HOMEPAGE="https://github.com/openid/python-openid" +DOWNLOAD="https://download.github.com/openid-python-openid-2.2.5-0-gb666238.tar.gz" +MD5SUM="7bb24dc6abd941ebff6a83c1ac7e4370" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Lionel Young" +EMAIL="redtricycle@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-openid/slack-desc b/python/python-openid/slack-desc new file mode 100644 index 000000000000..b1ffe78921f5 --- /dev/null +++ b/python/python-openid/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------------------------------------------------------| +python-openid: python-openid (python openid library) +python-openid: +python-openid: Python OpenID library. +python-openid: +python-openid: Home: https://github.com/openid/python-openid +python-openid: +python-openid: +python-openid: +python-openid: +python-openid: +python-openid: diff --git a/python/python-orbited/README b/python/python-orbited/README new file mode 100644 index 000000000000..84710be1a9e7 --- /dev/null +++ b/python/python-orbited/README @@ -0,0 +1,19 @@ +Orbited provides a pure JavaScript/HTML socket in the browser. It is +a web router and firewall that allows you to integrate web +applications with arbitrary back-end systems. You can implement any +network protocol in the browser—without resorting to plugins. + +The following dependencies are needed at compile-timee: + +pysetuptools + +The following dependencies are need at runtime: + +python-demjson +python-morbid +python-stomper +python-uuid +python-twisted + +Build scripts for all these are available at Slackbuilds.org + diff --git a/python/python-orbited/python-orbited.SlackBuild b/python/python-orbited/python-orbited.SlackBuild new file mode 100644 index 000000000000..e9c87d15ea0e --- /dev/null +++ b/python/python-orbited/python-orbited.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for python-orbited +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=orbited +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-0.7.10} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +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/python-orbited/python-orbited.info b/python/python-orbited/python-orbited.info new file mode 100644 index 000000000000..3d12243e65a9 --- /dev/null +++ b/python/python-orbited/python-orbited.info @@ -0,0 +1,10 @@ +PRGNAM="python-orbited" +VERSION="0.7.10" +HOMEPAGE="http://orbited.org/" +DOWNLOAD="http://pypi.python.org/packages/source/o/orbited/orbited-0.7.10.tar.gz" +MD5SUM="4f4e85d197466c141b1af466782445c1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-orbited/slack-desc b/python/python-orbited/slack-desc new file mode 100644 index 000000000000..5b6372b06546 --- /dev/null +++ b/python/python-orbited/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------------------------------------------------------| +python-orbited: python-orbited ( Realtime Communication for the Browser ) +python-orbited: +python-orbited: Orbited provides a pure JavaScript/HTML socket in the browser. It is +python-orbited: a web router and firewall that allows you to integrate web +python-orbited: applications with arbitrary back-end systems. You can implement any +python-orbited: network protocol in the browser—without resorting to plugins. +python-orbited: +python-orbited: Homepage: http://orbited.org/ +python-orbited: +python-orbited: +python-orbited: diff --git a/python/python-pmw/README b/python/python-pmw/README new file mode 100644 index 000000000000..8363f1840dd8 --- /dev/null +++ b/python/python-pmw/README @@ -0,0 +1,12 @@ +python-pmw (Python Megawidgets, based on top of Tkinter) + +It is a toolkit for building high-level compound widgets in Python +using the Tkinter module. It consists of a set of base classes and +a library of flexible and extensible megawidgets built on this +foundation. These megawidgets include notebooks, comboboxes, +selection widgets, paned widgets, scrolled widgets and dialog +windows. + +The base classes and most megawidgets were written by Greg McFarlane +(current maintainer) and Peter Munnings. There are also several +contributed megawidgets. diff --git a/python/python-pmw/python-pmw.SlackBuild b/python/python-pmw/python-pmw.SlackBuild new file mode 100644 index 000000000000..4b66fc0b95bd --- /dev/null +++ b/python/python-pmw/python-pmw.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for python-pmw + +# Copyright 2007-2009 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. + +PRGNAM=python-pmw +VERSION=${VERSION:-1.3.2} +BUILD=${BUILD:-3} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRC_PRGNAM=Pmw +SRC_SUBDIR=Pmw_1_3 + +if [ "$ARCH" = "i486" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +# Python site-packages directory +PYTHONDIR="/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages" + +# Exit on most errors +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM.$VERSION +tar xvf $CWD/$SRC_PRGNAM.$VERSION.tar.gz +cd $SRC_PRGNAM.$VERSION/src/$SRC_PRGNAM +chown -R root:root . || true +chmod -R u+w,go+r-w,a-s . + +# Move documentation files +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv README $PKG/usr/doc/$PRGNAM-$VERSION +mv $SRC_SUBDIR/doc $PKG/usr/doc/$PRGNAM-$VERSION/html +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Manual installation because python setup.py install seems to not be working +mkdir -p $PKG/$PYTHONDIR/$SRC_PRGNAM/$SRC_SUBDIR +cp -a $SRC_SUBDIR/{bin,contrib,demos,lib,tests,__init__.py} \ + $PKG/$PYTHONDIR/$SRC_PRGNAM/$SRC_SUBDIR +cp -a __init__.py Alpha_99_9_example $PKG/$PYTHONDIR/$SRC_PRGNAM + +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/python-pmw/python-pmw.info b/python/python-pmw/python-pmw.info new file mode 100644 index 000000000000..e117586b1ca1 --- /dev/null +++ b/python/python-pmw/python-pmw.info @@ -0,0 +1,10 @@ +PRGNAM="python-pmw" +VERSION="1.3.2" +HOMEPAGE="http://pmw.sourceforge.net" +DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw.1.3.2.tar.gz" +MD5SUM="7f30886fe9885ab3cf85dac6ce1fbda5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/python/python-pmw/slack-desc b/python/python-pmw/slack-desc new file mode 100644 index 000000000000..927d588af455 --- /dev/null +++ b/python/python-pmw/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------------------------------------------------------| +python-pmw: python-pmw (Python Megawidgets, based on top of Tkinter) +python-pmw: +python-pmw: It is a toolkit for building high-level compound widgets in +python-pmw: Python using the Tkinter module. It consists of a set of base +python-pmw: classes and a library of flexible and extensible megawidgets +python-pmw: built on this foundation. These megawidgets include notebooks, +python-pmw: comboboxes, selection widgets, paned widgets, scrolled widgets +python-pmw: and dialog windows. +python-pmw: +python-pmw: Homepage: http://pmw.sourceforge.net/ +python-pmw: diff --git a/python/python-pydns/README b/python/python-pydns/README new file mode 100644 index 000000000000..3e7fd0524ae2 --- /dev/null +++ b/python/python-pydns/README @@ -0,0 +1 @@ +PyDNS provides a module for performing DNS queries from python applications. diff --git a/python/python-pydns/python-pydns.SlackBuild b/python/python-pydns/python-pydns.SlackBuild new file mode 100644 index 000000000000..525ca9e0185f --- /dev/null +++ b/python/python-pydns/python-pydns.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware build script for DKIMproxy + +# Copyright 2010, Steven King <kingrst@gmail.com> +# 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=python-pydns +VERSION=${VERSION:-2.3.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ORIGNAM=$(echo $PRGNAM | cut -f2 -d-) + +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $ORIGNAM-$VERSION +tar vxzf $CWD/$ORIGNAM-$VERSION.tar.gz +cd $ORIGNAM-$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 {} \; + +/usr/bin/python setup.py build + +/usr/bin/python setup.py install --root $PKG + +find $PKG | xargs 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 + +cp -a \ + CREDITS.txt PKG-INFO MANIFEST.in README-guido.txt README.txt pydns.spec python-pydns.spec \ + $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/python-pydns/python-pydns.info b/python/python-pydns/python-pydns.info new file mode 100644 index 000000000000..9dd391bb6eda --- /dev/null +++ b/python/python-pydns/python-pydns.info @@ -0,0 +1,10 @@ +PRGNAM="python-pydns" +VERSION="2.3.4" +HOMEPAGE="http://sourceforge.net/projects/pydns" +DOWNLOAD="http://downloads.sourceforge.net/pydns/pydns-2.3.4.tar.gz" +MD5SUM="f2cd357a101ad7dd2b3f353a8dad51b8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Steven King" +EMAIL="kingrst@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-pydns/slack-desc b/python/python-pydns/slack-desc new file mode 100644 index 000000000000..b37ec19110a2 --- /dev/null +++ b/python/python-pydns/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------------------------------------------------------| +python-pydns: PyDNS (Python DNS library) +python-pydns: +python-pydns: PyDNS provides a module for performing DNS queries from +python-pydns: python applications. +python-pydns: +python-pydns: Homepage: http://sourceforge.net/projects/pydns/ +python-pydns: +python-pydns: +python-pydns: +python-pydns: +python-pydns: diff --git a/python/python-pypolicyd-spf/README b/python/python-pypolicyd-spf/README new file mode 100644 index 000000000000..677f52fd4772 --- /dev/null +++ b/python/python-pypolicyd-spf/README @@ -0,0 +1,5 @@ +PyPolicyd-SPF is a Postfix policy engine for Sender Policy Framework +(SPF) checking. It is implemented in pure Python and uses the python-spf +(pyspf) module. + +This requires python-pyspf. diff --git a/python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild b/python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild new file mode 100644 index 000000000000..ebf7c517bd7d --- /dev/null +++ b/python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for DKIMproxy + +# Copyright 2010, Steven King <kingrst@gmail.com> +# 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=python-pypolicyd-spf +VERSION=${VERSION:-0.8.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ORIGNAM=$(echo $PRGNAM | cut -f2- -d-) + +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $ORIGNAM-$VERSION +tar vxzf $CWD/$ORIGNAM-$VERSION.tar.gz +cd $ORIGNAM-$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 {} \; + +/usr/bin/python setup.py build + +/usr/bin/python setup.py install --root $PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Move man-pages to correct location +mv $PKG/usr/share/man $PKG/usr/ +rm -rf $PKG/usr/share +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION + +cp -a \ + CHANGES LICENSE README README.per_user_whitelisting TODO \ + $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/python-pypolicyd-spf/python-pypolicyd-spf.info b/python/python-pypolicyd-spf/python-pypolicyd-spf.info new file mode 100644 index 000000000000..fa84c70908fb --- /dev/null +++ b/python/python-pypolicyd-spf/python-pypolicyd-spf.info @@ -0,0 +1,10 @@ +PRGNAM="python-pypolicyd-spf" +VERSION="0.8.0" +HOMEPAGE="https://launchpad.net/pypolicyd-spf/" +DOWNLOAD="http://launchpad.net/pypolicyd-spf/0.8/0.8.0/+download/pypolicyd-spf-0.8.0.tar.gz" +MD5SUM="e562394356091fb4d0f142b7e8611305" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Steven King" +EMAIL="kingrst@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-pypolicyd-spf/slack-desc b/python/python-pypolicyd-spf/slack-desc new file mode 100644 index 000000000000..19041709be01 --- /dev/null +++ b/python/python-pypolicyd-spf/slack-desc @@ -0,0 +1,20 @@ +# 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------------------------------------------------------| +python-pypolicyd-spf: PyPolicyd-SPF (Python Postfix SPF engine) +python-pypolicyd-spf: +python-pypolicyd-spf: PyPolicyd-SPF is a Postfix policy engine for Sender +python-pypolicyd-spf: Policy Framework (SPF) checking. It is implemented in +python-pypolicyd-spf: pure Python and uses the python-spf (pyspf) module. +python-pypolicyd-spf: +python-pypolicyd-spf: Homepage: https://launchpad.net/pypolicyd-spf/ +python-pypolicyd-spf: +python-pypolicyd-spf: +python-pypolicyd-spf: +python-pypolicyd-spf: + diff --git a/python/python-pyspf/README b/python/python-pyspf/README new file mode 100644 index 000000000000..9db055dbbc86 --- /dev/null +++ b/python/python-pyspf/README @@ -0,0 +1,5 @@ +Pyspf is a Python implementation of the SPF (Sender Policy Framework) +specification. Pyspf can be used with any milter script for Sendmail, +Postfix or another MTA. + +This requires python-pydns. diff --git a/python/python-pyspf/python-pyspf.SlackBuild b/python/python-pyspf/python-pyspf.SlackBuild new file mode 100644 index 000000000000..b98688ba0f86 --- /dev/null +++ b/python/python-pyspf/python-pyspf.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware build script for DKIMproxy + +# Copyright 2010, Steven King <kingrst@gmail.com> +# 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=python-pyspf +VERSION=${VERSION:-2.0.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ORIGNAM=$(echo $PRGNAM | cut -f2 -d-) + +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $ORIGNAM-$VERSION +tar vxzf $CWD/$ORIGNAM-$VERSION.tar.gz +cd $ORIGNAM-$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 {} \; + +./setup.py build + +./setup.py install --root $PKG + +find $PKG | xargs 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 + +cp -a \ + CHANGELOG README PKG-INFO python-pyspf.spec \ + $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/python-pyspf/python-pyspf.info b/python/python-pyspf/python-pyspf.info new file mode 100644 index 000000000000..a95c024b4240 --- /dev/null +++ b/python/python-pyspf/python-pyspf.info @@ -0,0 +1,10 @@ +PRGNAM="python-pyspf" +VERSION="2.0.5" +HOMEPAGE="http://sourceforge.net/projects/pymilter" +DOWNLOAD="http://downloads.sourceforge.net/pymilter/pyspf-2.0.5.tar.gz" +MD5SUM="7e3f53362e3ad52ec8a496445085a34f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Steven King" +EMAIL="kingrst@gmail.com" +APPROVED="Niels Horn" diff --git a/python/python-pyspf/slack-desc b/python/python-pyspf/slack-desc new file mode 100644 index 000000000000..866c1a1305ef --- /dev/null +++ b/python/python-pyspf/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------------------------------------------------------| +python-pyspf: pyspf (Sender-Policy-Framework queries in Python) +python-pyspf: +python-pyspf: SPF does email sender validation. For more information about SPF, +python-pyspf: please see http://www.openspf.org/ +python-pyspf: +python-pyspf: Homepage: http://sourceforge.net/projects/pymilter/ +python-pyspf: +python-pyspf: +python-pyspf: +python-pyspf: +python-pyspf: diff --git a/python/python-spidermonkey/README b/python/python-spidermonkey/README new file mode 100644 index 000000000000..9d6d6dd69ad2 --- /dev/null +++ b/python/python-spidermonkey/README @@ -0,0 +1,7 @@ +Python/JavaScript bridge module, making use of Mozilla's spidermonkey +JavaScript implementation. Allows implementation of JavaScript classes, +objects and functions in Python, and evaluation and calling of JavaScript +scripts and functions respectively. Borrows heavily from Claes Jacobssen's +Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding. + +This requires pysetuptools, nose, and js. diff --git a/python/python-spidermonkey/README.md b/python/python-spidermonkey/README.md new file mode 100644 index 000000000000..1ddc3d1fe46f --- /dev/null +++ b/python/python-spidermonkey/README.md @@ -0,0 +1,200 @@ +Execute arbitrary JavaScript code from Python. Allows you to reference +arbitrary Python objects and functions in the JavaScript VM + +Having issues? +============== + +The project support site can be found at [lighthouseapp.com][lh]. + +Requirements +============ + +Pkg-Config +---------- + +Mac OS X: + +This should be installed by default. If not there is a port package: + + $ sudo port install pkgconfig + +Debian/Ubuntu: + +This is also generally installed by default, but I have reports of it being +otherwise. + + $ sudo apt-get install pkg-config + +Gentoo: + + $ sudo emerge dev-util/pkgconfig + +Python Development Files +------------------------ + +Mac OS X: + +If you installed Python via port then the headers should already be installed. +I have not heard reports of problems from people using the bundled +interpreters. + +Debian/Ubuntu: + + $ sudo apt-get install pythonX.X-dev + +Where X.X is the version of Python you are using. I have not tested +python-spidermonkey on Py3K so it may be horribly broken there. + +Gentoo: + +If you have python installed, then the headers should already be installed. + +Netscape Portable Runtime (nspr) +-------------------------------- + +The nspr library is required for building the Spidermonkey sources. You should +be able to grab it from your package manager of choice with something like the +following: + +Mac OS X: + + $ sudo port install nspr + +Debian/Ubuntu: + + $ sudo apt-get install libnspr4-dev + +Gentoo: + + $ sudo emerge dev-libs/nspr + +Alternatively you can build from [source][nspr]. If you choose this route make +sure that the nspr-config command is on your $PATH when running the install +commands below. + +If you choose this route make +sure that the pkg-config command is on your `$PATH` when running the install +commands below. Additionally, make sure that `$PKG_CONFIG_PATH` is properly +set. + +XULRunner (optional) +-------------------- +You can optionally build the extension linked to your system's spidermonkey +library, which is installed with XULRunner. You should be able to grab it from +your package manager of choice with something like the following: + +Mac OS X: + + $ sudo port install xulrunner + +Debian/Ubuntu: + + $ sudo apt-get install xulrunner-1.9-dev + +Gentoo: + + $ sudo emerge net-libs/xulrunner + +As with [nspr][nspr], you can also build [xulrunner][xulrunner] from source. And as with [nspr][nspr] you need to make sure hat `$PATH` and `$PKG_CONFIG_PATH` are properly set when building the module. + +Installation +============ + + $ git clone git://github.com/davisp/python-spidermonkey.git + $ cd python-spidermonkey + $ python setup.py build + $ python setup.py test + + $ sudo python setup.py install + + *OR* + + $ sudo python setup.py develop + +If you want to build with the system spidermonkey library, replace the build +command with the following: + + $ python setup.py --system-library build + +Examples +======== + +Basics +------ + + >>> import spidermonkey + >>> rt = spidermonkey.Runtime() + >>> cx = rt.new_context() + >>> cx.execute("var x = 3; x *= 4; x;") + 12 + >>> class Orange(object): + ... def is_ripe(self,arg): + ... return "ripe %s" % arg + ... + >>> fruit = Orange() + >>> cx.add_global("apple", fruit) + >>> cx.execute('"Show me the " + apple.is_ripe("raisin");') + u'Show me the ripe raisin' + + +Playing with Classes +-------------------- + + >>> import spidermonkey + >>> class Monkey(object): + ... def __init__(self): + ... self.baz = "blammo" + ... def wrench(self, arg): + ... return "%s now wrenched" % arg + ... + >>> rt = spidermonkey.Runtime() + >>> cx = rt.new_context() + >>> cx.add_global("Monkey", Monkey) + >>> monkey = cx.execute('var x = new Monkey(); x.baz = "schmammo"; x;') + >>> monkey.baz + u'schmammo' + >>> monkey.__class__.__name__ + 'Monkey' + + +JavaScript Functions +-------------------- + + >>> import spidermonkey + >>> rt = spidermonkey.Runtime() + >>> cx = rt.new_context() + >>> func = cx.execute('function(val) {return "whoosh: " + val;}') + >>> func("zipper!"); + u'whoosh: zipper!' + + +Filtering access to Python +-------------------------- + + >>> import spidermonkey + >>> rt = spidermonkey.Runtime() + >>> def checker(obj, name): + ... return not name.startswith("_") + ... + >>> cx = rt.new_context(access=checker) + >>> # Alternatively: + >>> cx.set_access() #doctest: +ELLIPSIS + <function checker at ...> + >>> cx.set_access(checker) #doctest: +ELLIPSIS + <function checker at ...> + >>> cx.add_global("fish", {"gold": "gone", "_old_lady": "huzza"}) + >>> cx.execute('fish["_old_lady"];') + Traceback (most recent call last): + ... + JSError: Error executing JavaScript. + + +Previous Authors +================ + +* John J. Lee +* Atul Varma + +[lh]: http://davisp.lighthouseapp.com/projects/26898-python-spidermonkey/overview +[nspr]: ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases +[xulrunner]: ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases diff --git a/python/python-spidermonkey/python-spidermonkey.SlackBuild b/python/python-spidermonkey/python-spidermonkey.SlackBuild new file mode 100644 index 000000000000..d4d7d3851d88 --- /dev/null +++ b/python/python-spidermonkey/python-spidermonkey.SlackBuild @@ -0,0 +1,60 @@ +#!/bin/sh + +# Slackware build script for python-spidermonkey + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=python-spidermonkey +VERSION=${VERSION:-0.0.8} +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 + +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 {} \; + +# Get rid of ez_setup. +sed -i '/ez_setup/d' setup.py MANIFEST.in + +python setup.py install --root=$PKG + +find $PKG | xargs 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 +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/README.md > $PKG/usr/doc/$PRGNAM-$VERSION/README.md +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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/python-spidermonkey/python-spidermonkey.info b/python/python-spidermonkey/python-spidermonkey.info new file mode 100644 index 000000000000..fd538a742157 --- /dev/null +++ b/python/python-spidermonkey/python-spidermonkey.info @@ -0,0 +1,10 @@ +PRGNAM="python-spidermonkey" +VERSION="0.0.8" +HOMEPAGE="http://pypi.python.org/pypi/python-spidermonkey" +DOWNLOAD="http://pypi.python.org/packages/source/p/python-spidermonkey/python-spidermonkey-0.0.8.tar.gz" +MD5SUM="035ffc4650e2193a09dd4f81bc30fafd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/python-spidermonkey/slack-desc b/python/python-spidermonkey/slack-desc new file mode 100644 index 000000000000..a0a5b01d1851 --- /dev/null +++ b/python/python-spidermonkey/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------------------------------------------------------| +python-spidermonkey: python-spidermonkey +python-spidermonkey: +python-spidermonkey: Python/JavaScript bridge module, making use of Mozilla's spidermonkey +python-spidermonkey: JavaScript implementation. +python-spidermonkey: +python-spidermonkey: Homepage: http://pypi.python.org/pypi/python-spidermonkey +python-spidermonkey: +python-spidermonkey: +python-spidermonkey: +python-spidermonkey: +python-spidermonkey: diff --git a/python/python-stomper/README b/python/python-stomper/README new file mode 100644 index 000000000000..95596ac86e93 --- /dev/null +++ b/python/python-stomper/README @@ -0,0 +1,6 @@ +This is a python client implementation of the STOMP protocol. + +The client is attempting to be transport layer neutral. This module +provides functions to create and parse STOMP messages in a +programatic fashion. The messages can be easily generated and parsed, +however its up to the user to do the sending and receiving. diff --git a/python/python-stomper/python-stomper.SlackBuild b/python/python-stomper/python-stomper.SlackBuild new file mode 100644 index 000000000000..ee28ec7082a0 --- /dev/null +++ b/python/python-stomper/python-stomper.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for python-stomper +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=stomper +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-0.2.3} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +cp -a \ + README \ + $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/python-stomper/python-stomper.info b/python/python-stomper/python-stomper.info new file mode 100644 index 000000000000..72792aff4011 --- /dev/null +++ b/python/python-stomper/python-stomper.info @@ -0,0 +1,10 @@ +PRGNAM="python-stomper" +VERSION="0.2.3" +HOMEPAGE="http://code.google.com/p/stomper/" +DOWNLOAD="http://stomper.googlecode.com/files/stomper-0.2.3.tar.gz" +MD5SUM="4f64beb3823455d46544c5f10922362a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-stomper/slack-desc b/python/python-stomper/slack-desc new file mode 100644 index 000000000000..3b1b9cd0b2b7 --- /dev/null +++ b/python/python-stomper/slack-desc @@ -0,0 +1,20 @@ +# 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------------------------------------------------------| +python-stomper: python-stomper ( client implementation of the STOMP protocol ) +python-stomper: +python-stomper: This is a python client implementation of the STOMP protocol. +python-stomper: +python-stomper: Homepage: http://code.google.com/p/stomper/ +python-stomper: +python-stomper: +python-stomper: +python-stomper: +python-stomper: +python-stomper: + diff --git a/python/python-suds/README b/python/python-suds/README new file mode 100644 index 000000000000..14650e2966d0 --- /dev/null +++ b/python/python-suds/README @@ -0,0 +1,3 @@ +Suds is a lightweight SOAP python client for consuming Web Services. + +This requires pysetuptools. diff --git a/python/python-suds/python-suds.SlackBuild b/python/python-suds/python-suds.SlackBuild new file mode 100644 index 000000000000..fb097c17f0a6 --- /dev/null +++ b/python/python-suds/python-suds.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for python-suds +# Written by Joey Trungale <joey@trungale.net> + +PRGNAM=python-suds +VERSION=${VERSION:-0.3.9} +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} + +DOCS="LICENSE README" + +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 + +find $PKG | xargs 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 +cp -a $DOCS $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/python-suds/python-suds.info b/python/python-suds/python-suds.info new file mode 100644 index 000000000000..eaf0704eb8c8 --- /dev/null +++ b/python/python-suds/python-suds.info @@ -0,0 +1,10 @@ +PRGNAM="python-suds" +VERSION="0.3.9" +HOMEPAGE="https://fedorahosted.org/suds/" +DOWNLOAD="https://fedorahosted.org/releases/s/u/suds/python-suds-0.3.9.tar.gz" +MD5SUM="420ac4b6ba788e43631b74719a470bf7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="rworkman" diff --git a/python/python-suds/slack-desc b/python/python-suds/slack-desc new file mode 100644 index 000000000000..ca8b6eb11705 --- /dev/null +++ b/python/python-suds/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------------------------------------------------------| +python-suds: python-suds (Python SOAP client) +python-suds: +python-suds: Suds is a lightweight SOAP python client for consuming Web Services. +python-suds: +python-suds: https://fedorahosted.com/suds +python-suds: +python-suds: +python-suds: +python-suds: +python-suds: +python-suds: diff --git a/python/python-transaction/README b/python/python-transaction/README new file mode 100644 index 000000000000..f80fdb90177e --- /dev/null +++ b/python/python-transaction/README @@ -0,0 +1,8 @@ +This package contains a generic transaction implementation for Python. It +is mainly used by the ZODB, though. + +Note that the data manager API, transaction.interfaces.IDataManager, is +syntactically simple, but semantically complex. The semantics were not +easy to express in the interface. This could probably use more work. The +semantics are presented in detail through examples of a sample data manager +in transaction.tests.test_SampleDataManager. diff --git a/python/python-transaction/python-transaction.SlackBuild b/python/python-transaction/python-transaction.SlackBuild new file mode 100644 index 000000000000..d3c6b7a2d6e1 --- /dev/null +++ b/python/python-transaction/python-transaction.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/sh +# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST +# Copyright 2009 Eric Hameleers <alien@slackware.com>, Eindhoven, Netherlands + +# Slackware build script for python-transaction + +# Written by Lionel Young <redtricycle@gmail.com> + +PRGNAM=python-transaction +SRCNAM=transaction +VERSION=${VERSION:-1.0.0} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 build || exit 1 +python setup.py install --root=$PKG || exit 1 + +find $PKG | xargs 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 +cp -a \ + CHANGES.txt LICENSE.txt README.txt COPYRIGHT.txt \ + $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/python-transaction/python-transaction.info b/python/python-transaction/python-transaction.info new file mode 100644 index 000000000000..6e5145c61de7 --- /dev/null +++ b/python/python-transaction/python-transaction.info @@ -0,0 +1,10 @@ +PRGNAM="python-transaction" +VERSION="1.0.0" +HOMEPAGE="http://pypi.python.org/pypi/transaction/1.0.0" +DOWNLOAD="http://pypi.python.org/packages/source/t/transaction/transaction-1.0.0.tar.gz" +MD5SUM="10b5d02dcded26f6f265771e6d68fc06" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Lionel Young" +EMAIL="redtricycle@gmail.com" +APPROVED="dsomero" diff --git a/python/python-transaction/slack-desc b/python/python-transaction/slack-desc new file mode 100644 index 000000000000..1621c3eab2a9 --- /dev/null +++ b/python/python-transaction/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------------------------------------------------------| +python-transaction: python-transaction (Python Transaction Management) +python-transaction: +python-transaction: This is a generic transaction implementation for Python. It +python-transaction: is mainly used by the ZODB. Note that the data manager API, +python-transaction: transaction.interfaces.IDataManager, is syntactically simple, but +python-transaction: semantically complex. The semantics were not easy to express in the +python-transaction: interface. The semantics are presented in detail through examples +python-transaction: of a sample data manager in transaction.tests.test_SampleDataManager. +python-transaction: +python-transaction: +python-transaction: Homepage: http://pypi.python.org/pypi/transaction/1.0.0 diff --git a/python/python-twisted-web2/README b/python/python-twisted-web2/README new file mode 100644 index 000000000000..8808f3d079c4 --- /dev/null +++ b/python/python-twisted-web2/README @@ -0,0 +1,19 @@ +Twisted.Web2 is an experimental web server built with Twisted. Useful Web2 +functionality will be backported to TwistedWeb until TwistedWeb is as +featureful as Web2, then Web2 will be abandoned. + +Improvements over Twisted.Web: +* Streaming upload data +* Separation of low level HTTP and high level request handling which allows + it to run under other transports such as SCGI and CGI +* IResource API improvements from Nevow +* More versatile outgoing data streaming API +* Correct header parsing +* Full HTTP/1.1 support +* Output filters (HTTP range support in a generic fashion, and gzip support) +* Significantly better URI Rewriting when used behind a proxy such as Apache's + mod_proxy + +Twisted Web2 is available under the MIT Free Software licence. + +Requires: python-twisted diff --git a/python/python-twisted-web2/python-twisted-web2.SlackBuild b/python/python-twisted-web2/python-twisted-web2.SlackBuild new file mode 100644 index 000000000000..4d66a780c29c --- /dev/null +++ b/python/python-twisted-web2/python-twisted-web2.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh +# Slackware build script for python-twisted-web2, based on python-twisted +# SlackBuild by Marco Bonetti <sid77@slackware.it> +# +# Lionel Young <redtricycle@gmail.com> +# +# 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=python-twisted-web2 +SRCNAM=TwistedWeb2 +VERSION=${VERSION:-8.1.0} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="LICENSE NEWS README doc/examples/ doc/howto/" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +cd $SRCNAM-$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 build || exit 1 + +python setup.py install --root=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc +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/python-twisted-web2/python-twisted-web2.info b/python/python-twisted-web2/python-twisted-web2.info new file mode 100644 index 000000000000..58d4c7fb4c07 --- /dev/null +++ b/python/python-twisted-web2/python-twisted-web2.info @@ -0,0 +1,10 @@ +PRGNAM="python-twisted-web2" +VERSION="8.1.0" +HOMEPAGE="http://twistedmatrix.com/" +DOWNLOAD="http://tmrc.mit.edu/mirror/twisted/Web2/8.1/TwistedWeb2-8.1.0.tar.bz2" +MD5SUM="e34b48edf6fef075bd41ddbd215aed32" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Lionel Young" +EMAIL="redtricycle@gmail.com" +APPROVED="dsomero" diff --git a/python/python-twisted-web2/slack-desc b/python/python-twisted-web2/slack-desc new file mode 100644 index 000000000000..cae963d00c1a --- /dev/null +++ b/python/python-twisted-web2/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----------------------------------------------------| +python-twisted-web2: python-twisted-web2 (Experimental Twisted web server) +python-twisted-web2: +python-twisted-web2: Twisted.Web2 is an experimental web server built with Twisted. +python-twisted-web2: Useful Web2 functionality will be backported to TwistedWeb until +python-twisted-web2: TwistedWeb is as featureful as Web2, then Web2 will be abandoned. +python-twisted-web2: +python-twisted-web2: Homepage: http://twistedmatrix.com +python-twisted-web2: +python-twisted-web2: +python-twisted-web2: +python-twisted-web2: diff --git a/python/python-twisted/README b/python/python-twisted/README new file mode 100644 index 000000000000..580a8e4425a5 --- /dev/null +++ b/python/python-twisted/README @@ -0,0 +1,8 @@ +Twisted is an event-driven networking engine written in Python and licensed +under the MIT license. + +Twisted projects variously support TCP, UDP, SSL/TLS, multicast, Unix +sockets, a large number of protocols (including HTTP, NNTP, IMAP, SSH, +IRC, FTP, and others), and much more. + +This requires zope.interface at runtime. diff --git a/python/python-twisted/python-twisted.SlackBuild b/python/python-twisted/python-twisted.SlackBuild new file mode 100644 index 000000000000..5e70ceeea660 --- /dev/null +++ b/python/python-twisted/python-twisted.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for python-twisted. + +# Copyright 2009 Marco Bonetti <sid77@slackware.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. + +PRGNAM=python-twisted +SRCNAM=Twisted +VERSION=${VERSION:-8.2.0} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="LICENSE NEWS README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +cd $SRCNAM-$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 build || exit 1 + +python setup.py install --root=$PKG || exit 1 + +find $PKG | xargs 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/man +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc +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/python-twisted/python-twisted.info b/python/python-twisted/python-twisted.info new file mode 100644 index 000000000000..7443cd969b29 --- /dev/null +++ b/python/python-twisted/python-twisted.info @@ -0,0 +1,10 @@ +PRGNAM="python-twisted" +VERSION="8.2.0" +HOMEPAGE="http://twistedmatrix.com/" +DOWNLOAD="http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2" +MD5SUM="c85f151999df3ecf04c49a781b4438d2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/python-twisted/slack-desc b/python/python-twisted/slack-desc new file mode 100644 index 000000000000..5d4a1384eeea --- /dev/null +++ b/python/python-twisted/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----------------------------------------------------| +python-twisted: python-twisted (Python networking engine) +python-twisted: +python-twisted: Twisted is an event-driven networking engine written in Python and +python-twisted: licensed under the MIT license. +python-twisted: +python-twisted: Homepage: http://twistedmatrix.com/ +python-twisted: +python-twisted: +python-twisted: +python-twisted: +python-twisted: diff --git a/python/python-twitter/README b/python/python-twitter/README new file mode 100644 index 000000000000..5d2d398bb112 --- /dev/null +++ b/python/python-twitter/README @@ -0,0 +1,8 @@ +This library provides a pure python interface for the Twitter API. + +Twitter (http://twitter.com) provides a service that allows people +to connect via the web, IM, and SMS. Twitter exposes a web services +API (http://twitter.com/help/api) and this library is intended to +make it even easier for python programmers to use. + +This requires simplejson. diff --git a/python/python-twitter/python-twitter.SlackBuild b/python/python-twitter/python-twitter.SlackBuild new file mode 100644 index 000000000000..f6a6c30727e8 --- /dev/null +++ b/python/python-twitter/python-twitter.SlackBuild @@ -0,0 +1,56 @@ +#!/bin/sh + +# Slackware build script for python-twitter +# Written by Steven Pledger <piratesmack@ymail.com> + +PRGNAM=python-twitter +VERSION=${VERSION:-0.6} +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 + +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 + +find $PKG | xargs 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 +cp -a \ + CHANGES COPYING LICENSE NOTICE README doc/* examples \ + $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/python-twitter/python-twitter.info b/python/python-twitter/python-twitter.info new file mode 100644 index 000000000000..9a8f5ff289b8 --- /dev/null +++ b/python/python-twitter/python-twitter.info @@ -0,0 +1,10 @@ +PRGNAM="python-twitter" +VERSION="0.6" +HOMEPAGE="http://code.google.com/p/python-twitter/" +DOWNLOAD="http://python-twitter.googlecode.com/files/python-twitter-0.6.tar.gz" +MD5SUM="e1f5c50c60c74944d29ce28178972b95" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Steven Pledger" +EMAIL="piratesmack@ymail.com" +APPROVED="rworkman" diff --git a/python/python-twitter/slack-desc b/python/python-twitter/slack-desc new file mode 100644 index 000000000000..b27787675629 --- /dev/null +++ b/python/python-twitter/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------------------------------------------------------| +python-twitter: python-twitter (python wrapper around the Twitter API) +python-twitter: +python-twitter: This library provides a pure python interface for the Twitter API. +python-twitter: +python-twitter: Homepage: http://code.google.com/p/python-twitter/ +python-twitter: +python-twitter: +python-twitter: +python-twitter: +python-twitter: +python-twitter: diff --git a/python/python-uuid/README b/python/python-uuid/README new file mode 100644 index 000000000000..5a99b952732d --- /dev/null +++ b/python/python-uuid/README @@ -0,0 +1,3 @@ +UUID object and generation functions (Python 2.3 or higher) + + diff --git a/python/python-uuid/python-uuid.SlackBuild b/python/python-uuid/python-uuid.SlackBuild new file mode 100644 index 000000000000..adc507ca1bd7 --- /dev/null +++ b/python/python-uuid/python-uuid.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for python-uuid +# Copyright 2010 David Woodfall <dave@dawoodfall.net> +# 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. + +SRCNAM=uuid +PRGNAM=python-$SRCNAM +VERSION=${VERSION:-1.30} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 + +find $PKG | xargs 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 +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/python-uuid/python-uuid.info b/python/python-uuid/python-uuid.info new file mode 100644 index 000000000000..ca5fc86be7fb --- /dev/null +++ b/python/python-uuid/python-uuid.info @@ -0,0 +1,10 @@ +PRGNAM="python-uuid" +VERSION="1.30" +HOMEPAGE="http://pypi.python.org/pypi/uuid/1.30" +DOWNLOAD="http://pypi.python.org/packages/source/u/uuid/uuid-1.30.tar.gz" +MD5SUM="639b310f1fe6800e4bf8aa1dd9333117" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" +APPROVED="dsomero" diff --git a/python/python-uuid/slack-desc b/python/python-uuid/slack-desc new file mode 100644 index 000000000000..d13ce5989932 --- /dev/null +++ b/python/python-uuid/slack-desc @@ -0,0 +1,22 @@ +# 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------------------------------------------------------| +python-uuid: python-uuid ( UUID object and generation functions ) +python-uuid: +python-uuid: UUID object and generation functions (Python 2.3 or higher) +python-uuid: +python-uuid: Homepage: http://pypi.python.org/pypi/uuid/1.30 +python-uuid: +python-uuid: +python-uuid: +python-uuid: +python-uuid: +python-uuid: + + + diff --git a/python/python-xlib/README b/python/python-xlib/README new file mode 100644 index 000000000000..49962b13a9f7 --- /dev/null +++ b/python/python-xlib/README @@ -0,0 +1,6 @@ +The Python X library is intended to be a fully functional X client for Python +programs. It is written entirely in Python, in ontrast to earlier X libraries +for Python. This is possible to do since X client programs communicate with +the X server via the X protocol. The communication takes over TCP/IP, Unix +sockets, or any other streaming network protocol. + diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild new file mode 100644 index 000000000000..866f54be3e5d --- /dev/null +++ b/python/python-xlib/python-xlib.SlackBuild @@ -0,0 +1,49 @@ +#!/bin/sh + +# Slackware build script for python-xlib +# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr> + +# Modified by the SlackBuilds.org project + +PRGNAM=python-xlib +VERSION=0.14 +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="COPYING NEWS PKG-INFO README TODO" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +python setup.py install --root $PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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/python-xlib/python-xlib.info b/python/python-xlib/python-xlib.info new file mode 100644 index 000000000000..597f28f6bcd7 --- /dev/null +++ b/python/python-xlib/python-xlib.info @@ -0,0 +1,10 @@ +PRGNAM="python-xlib" +VERSION="0.14" +HOMEPAGE="http://python-xlib.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/python-xlib/python-xlib-0.14.tar.gz" +MD5SUM="a038c2f410d8445f3fa8f6dcd45659c5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vasilis Papavasileiou" +EMAIL="el03020@mail.ntua.gr" +APPROVED="rworkman" diff --git a/python/python-xlib/slack-desc b/python/python-xlib/slack-desc new file mode 100644 index 000000000000..8e4e0d54e432 --- /dev/null +++ b/python/python-xlib/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------------------------------------------------------| +python-xlib: python-xlib (X Library module for Python) +python-xlib: +python-xlib: The Python X library is intended to be a fully functional X +python-xlib: client for Python programs. It is written entirely in Python, in +python-xlib: contrast to earlier X libraries for Python. This is possible to +python-xlib: do since X client programs communicate with the X server via the +python-xlib: X protocol. The communication takes over TCP/IP, Unix sockets, or +python-xlib: any other streaming network protocol. +python-xlib: +python-xlib: Homepage: http://python-xlib.sourceforge.net/ +python-xlib: diff --git a/python/python2-chardet/README b/python/python2-chardet/README new file mode 100644 index 000000000000..c834c08942d1 --- /dev/null +++ b/python/python2-chardet/README @@ -0,0 +1 @@ +Character encoding auto-detection in Python for Python 2.x. diff --git a/python/python2-chardet/python2-chardet.SlackBuild b/python/python2-chardet/python2-chardet.SlackBuild new file mode 100644 index 000000000000..9873cf3b3b0c --- /dev/null +++ b/python/python2-chardet/python2-chardet.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for python2-chardet + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=python2-chardet +VERSION=${VERSION:-2.0.1} +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 + +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.tgz +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 + +find $PKG | xargs 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 +cp -a COPYING docs/* $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/python2-chardet/python2-chardet.info b/python/python2-chardet/python2-chardet.info new file mode 100644 index 000000000000..907dd5669e3f --- /dev/null +++ b/python/python2-chardet/python2-chardet.info @@ -0,0 +1,10 @@ +PRGNAM="python2-chardet" +VERSION="2.0.1" +HOMEPAGE="http://chardet.feedparser.org/" +DOWNLOAD="http://chardet.feedparser.org/download/python2-chardet-2.0.1.tgz" +MD5SUM="ec771971bab5dd1943a10362ebd2fd4c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/python/python2-chardet/slack-desc b/python/python2-chardet/slack-desc new file mode 100644 index 000000000000..bc59e604d65d --- /dev/null +++ b/python/python2-chardet/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------------------------------------------------------| +python2-chardet: python2-chardet (autodetection of character encoding in python) +python2-chardet: +python2-chardet: Character encoding auto-detection in Python for Python 2.x. +python2-chardet: +python2-chardet: Homepage: http://chardet.feedparser.org/ +python2-chardet: +python2-chardet: +python2-chardet: +python2-chardet: +python2-chardet: +python2-chardet: diff --git a/python/python3/README b/python/python3/README new file mode 100644 index 000000000000..64880e33b2c1 --- /dev/null +++ b/python/python3/README @@ -0,0 +1,13 @@ +Python is an interpreted, interactive, object-oriented programming language +that combines remarkable power with very clear syntax. Python's basic power +can be extended with your own modules written in C or C++. Python is also +adaptable as an extension language for existing applications. + +Python 3 (a.k.a. "Python 3000" or "Py3k") is a new version of the language that +is incompatible with the 2.x line of releases. The language is mostly the +same, but many details, especially how built-in objects like dictionaries and +strings work, have changed considerably, and a lot of deprecated features have +finally been removed. Also, the standard library has been reorganized in a few +prominent places. + +It is safe to install this on a system which already has 2.x version of Python. diff --git a/python/python3/patches/python3.pure64.diff b/python/python3/patches/python3.pure64.diff new file mode 100644 index 000000000000..915f2e1cf7c9 --- /dev/null +++ b/python/python3/patches/python3.pure64.diff @@ -0,0 +1,32 @@ +diff -uar Python-3.1.3.orig/Lib/distutils/command/install.py Python-3.1.3/Lib/distutils/command/install.py +--- Python-3.1.3.orig/Lib/distutils/command/install.py 2010-11-29 22:16:59.433287434 +0200 ++++ Python-3.1.3/Lib/distutils/command/install.py 2010-11-29 22:21:28.544937484 +0200 +@@ -46,14 +46,14 @@ + + INSTALL_SCHEMES = { + 'unix_prefix': { +- 'purelib': '$base/lib/python$py_version_short/site-packages', ++ 'purelib': '$base/lib64/python$py_version_short/site-packages', + 'platlib': '$platbase/lib64/python$py_version_short/site-packages', + 'headers': '$base/include/python$py_version_short/$dist_name', + 'scripts': '$base/bin', + 'data' : '$base', + }, + 'unix_home': { +- 'purelib': '$base/lib/python', ++ 'purelib': '$base/lib64/python', + 'platlib': '$base/lib64/python', + 'headers': '$base/include/python/$dist_name', + 'scripts': '$base/bin', +diff -uar Python-3.1.3.orig/Lib/distutils/sysconfig.py Python-3.1.3/Lib/distutils/sysconfig.py +--- Python-3.1.3.orig/Lib/distutils/sysconfig.py 2010-11-29 22:16:59.434287447 +0200 ++++ Python-3.1.3/Lib/distutils/sysconfig.py 2010-11-29 22:29:32.627720854 +0200 +@@ -120,7 +120,7 @@ + if plat_specific or standard_lib: + lib = "lib64" + else: +- lib = "lib" ++ lib = "lib64" + libpython = os.path.join(prefix, + lib, "python" + get_python_version()) + if standard_lib: diff --git a/python/python3/patches/python3.readline.set_pre_input_hook.diff b/python/python3/patches/python3.readline.set_pre_input_hook.diff new file mode 100644 index 000000000000..6796c6007e3a --- /dev/null +++ b/python/python3/patches/python3.readline.set_pre_input_hook.diff @@ -0,0 +1,12 @@ +--- ./Modules/readline.c.orig 2009-10-26 21:32:51.000000000 +0200 ++++ ./Modules/readline.c 2010-05-30 14:07:10.000000000 +0300 +@@ -11,6 +11,9 @@ + #include <errno.h> + #include <sys/time.h> + ++/* This seems to be needed for set_pre_input_hook to work */ ++#define HAVE_RL_PRE_INPUT_HOOK 1 ++ + #if defined(HAVE_SETLOCALE) + /* GNU readline() mistakenly sets the LC_CTYPE locale. + * This is evil. Only the user or the app's main() should do this! diff --git a/python/python3/patches/python3.x86_64.diff b/python/python3/patches/python3.x86_64.diff new file mode 100644 index 000000000000..eb036ec8c26f --- /dev/null +++ b/python/python3/patches/python3.x86_64.diff @@ -0,0 +1,159 @@ +diff -uar Python-3.1.3.orig/Lib/distutils/command/install.py Python-3.1.3/Lib/distutils/command/install.py +--- Python-3.1.3.orig/Lib/distutils/command/install.py 2009-06-04 10:39:50.000000000 +0300 ++++ Python-3.1.3/Lib/distutils/command/install.py 2010-11-29 21:24:50.939437490 +0200 +@@ -47,14 +47,14 @@ + INSTALL_SCHEMES = { + 'unix_prefix': { + 'purelib': '$base/lib/python$py_version_short/site-packages', +- 'platlib': '$platbase/lib/python$py_version_short/site-packages', ++ 'platlib': '$platbase/lib64/python$py_version_short/site-packages', + 'headers': '$base/include/python$py_version_short/$dist_name', + 'scripts': '$base/bin', + 'data' : '$base', + }, + 'unix_home': { + 'purelib': '$base/lib/python', +- 'platlib': '$base/lib/python', ++ 'platlib': '$base/lib64/python', + 'headers': '$base/include/python/$dist_name', + 'scripts': '$base/bin', + 'data' : '$base', +diff -uar Python-3.1.3.orig/Lib/distutils/sysconfig.py Python-3.1.3/Lib/distutils/sysconfig.py +--- Python-3.1.3.orig/Lib/distutils/sysconfig.py 2010-08-04 00:33:04.000000000 +0300 ++++ Python-3.1.3/Lib/distutils/sysconfig.py 2010-11-29 21:36:39.452228520 +0200 +@@ -117,8 +117,12 @@ + prefix = plat_specific and EXEC_PREFIX or PREFIX + + if os.name == "posix": ++ if plat_specific or standard_lib: ++ lib = "lib64" ++ else: ++ lib = "lib" + libpython = os.path.join(prefix, +- "lib", "python" + get_python_version()) ++ lib, "python" + get_python_version()) + if standard_lib: + return libpython + else: +diff -uar Python-3.1.3.orig/Lib/site.py Python-3.1.3/Lib/site.py +--- Python-3.1.3.orig/Lib/site.py 2010-10-13 01:56:55.000000000 +0300 ++++ Python-3.1.3/Lib/site.py 2010-11-29 21:38:44.804126610 +0200 +@@ -262,12 +262,16 @@ + if sys.platform in ('os2emx', 'riscos'): + sitedirs.append(os.path.join(prefix, "Lib", "site-packages")) + elif os.sep == '/': ++ sitedirs.append(os.path.join(prefix, "lib64", ++ "python" + sys.version[:3], ++ "site-packages")) + sitedirs.append(os.path.join(prefix, "lib", + "python" + sys.version[:3], + "site-packages")) + sitedirs.append(os.path.join(prefix, "lib", "site-python")) + else: + sitedirs.append(prefix) ++ sitedirs.append(os.path.join(prefix, "lib64", "site-packages")) + sitedirs.append(os.path.join(prefix, "lib", "site-packages")) + + if sys.platform == "darwin": +diff -uar Python-3.1.3.orig/Makefile.pre.in Python-3.1.3/Makefile.pre.in +--- Python-3.1.3.orig/Makefile.pre.in 2010-10-14 14:35:17.000000000 +0300 ++++ Python-3.1.3/Makefile.pre.in 2010-11-29 21:46:00.887367145 +0200 +@@ -94,7 +94,7 @@ + MANDIR= @mandir@ + INCLUDEDIR= @includedir@ + CONFINCLUDEDIR= $(exec_prefix)/include +-SCRIPTDIR= $(prefix)/lib ++SCRIPTDIR= $(prefix)/lib64 + + # Detailed destination directories + BINLIBDEST= $(LIBDIR)/python$(VERSION) +diff -uar Python-3.1.3.orig/Modules/Setup.dist Python-3.1.3/Modules/Setup.dist +--- Python-3.1.3.orig/Modules/Setup.dist 2009-06-04 12:30:30.000000000 +0300 ++++ Python-3.1.3/Modules/Setup.dist 2010-11-29 21:47:10.734770412 +0200 +@@ -351,7 +351,7 @@ + # Andrew Kuchling's zlib module. + # This require zlib 1.1.3 (or later). + # See http://www.gzip.org/zlib/ +-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz ++#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib64 -lz + + # Interface to the Expat XML parser + # +diff -uar Python-3.1.3.orig/Modules/getpath.c Python-3.1.3/Modules/getpath.c +--- Python-3.1.3.orig/Modules/getpath.c 2010-10-08 02:39:04.000000000 +0300 ++++ Python-3.1.3/Modules/getpath.c 2010-11-29 22:03:08.820526757 +0200 +@@ -119,8 +119,8 @@ + #endif + + #ifndef PYTHONPATH +-#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \ +- EXEC_PREFIX "/lib/python" VERSION "/lib-dynload" ++#define PYTHONPATH PREFIX "/lib64/python" VERSION ":" \ ++ EXEC_PREFIX "/lib64/python" VERSION "/lib-dynload" + #endif + + #ifndef LANDMARK +@@ -131,7 +131,7 @@ + static wchar_t exec_prefix[MAXPATHLEN+1]; + static wchar_t progpath[MAXPATHLEN+1]; + static wchar_t *module_search_path = NULL; +-static wchar_t lib_python[] = L"lib/python" VERSION; ++static wchar_t lib_python[] = L"lib64/python" VERSION; + + /* In principle, this should use HAVE__WSTAT, and _wstat + should be detected by autoconf. However, no current +@@ -612,7 +612,7 @@ + } + else + wcsncpy(zip_path, L"" PREFIX, MAXPATHLEN); +- joinpath(zip_path, L"lib/python00.zip"); ++ joinpath(zip_path, L"lib64/python00.zip"); + bufsz = wcslen(zip_path); /* Replace "00" with version */ + zip_path[bufsz - 6] = VERSION[0]; + zip_path[bufsz - 5] = VERSION[2]; +@@ -622,7 +622,7 @@ + fprintf(stderr, + "Could not find platform dependent libraries <exec_prefix>\n"); + wcsncpy(exec_prefix, L"" EXEC_PREFIX, MAXPATHLEN); +- joinpath(exec_prefix, L"lib/lib-dynload"); ++ joinpath(exec_prefix, L"lib64/lib-dynload"); + } + /* If we found EXEC_PREFIX do *not* reduce it! (Yet.) */ + +diff -uar Python-3.1.3.orig/setup.py Python-3.1.3/setup.py +--- Python-3.1.3.orig/setup.py 2010-11-26 13:56:26.000000000 +0200 ++++ Python-3.1.3/setup.py 2010-11-29 22:06:52.939575911 +0200 +@@ -341,7 +341,7 @@ + + def detect_modules(self): + # Ensure that /usr/local is always used +- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') ++ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64') + add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') + + # Add paths specified in the environment variables LDFLAGS and +@@ -610,11 +610,11 @@ + elif curses_library: + readline_libs.append(curses_library) + elif self.compiler.find_library_file(lib_dirs + +- ['/usr/lib/termcap'], ++ ['/usr/lib64/termcap'], + 'termcap'): + readline_libs.append('termcap') + exts.append( Extension('readline', ['readline.c'], +- library_dirs=['/usr/lib/termcap'], ++ library_dirs=['/usr/lib64/termcap'], + extra_link_args=readline_extra_link_args, + libraries=readline_libs) ) + else: +@@ -651,8 +651,8 @@ + if krb5_h: + ssl_incs += krb5_h + ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs, +- ['/usr/local/ssl/lib', +- '/usr/contrib/ssl/lib/' ++ ['/usr/local/ssl/lib64', ++ '/usr/contrib/ssl/lib64/' + ] ) + + if (ssl_incs is not None and diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild new file mode 100644 index 000000000000..253bef21aa17 --- /dev/null +++ b/python/python3/python3.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for python3 +# Written by Audrius Kažukauskas <audrius@neutrino.lt> +# Based on Patrick Volkerding's official build script for python + +PRGNAM=python3 +VERSION=${VERSION:-3.1.3} +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} + +# Don't set any SLKCFLAGS here, or OPT="$SLKCFLAGS" before the ./configure. +# Python gets the compile options right without any help. +if [ "$ARCH" = "i486" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +else + LIBDIRSUFFIX="" +fi + +set -eu + +# Location for Python site-packages: +SITEPK=$PKG/usr/lib${LIBDIRSUFFIX}/python3.1/site-packages +# same as above without $PKG +TOOLSDIR=/usr/lib${LIBDIRSUFFIX}/python3.1/site-packages + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf Python-$VERSION +tar xvf $CWD/Python-$VERSION.tar.bz2 +cd Python-$VERSION + +patch -p1 < $CWD/patches/python3.readline.set_pre_input_hook.diff + +if [ "$ARCH" = "x86_64" ]; then + # Install to lib64 instead of lib: + patch -p1 < $CWD/patches/python3.x86_64.diff + # Python must report /usr/lib64/python3.1/site-packages as python_lib_dir: + patch -p1 < $CWD/patches/python3.pure64.diff +fi + +chown -R root:root . +chmod -R u+w,go+r-w,a-s+X . + +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-ncurses \ + --with-threads \ + --enable-ipv6 \ + --enable-shared \ + --with-computed-gotos \ + --build=$ARCH-slackware-linux + +make +make altinstall DESTDIR=$PKG + +# Create a symlink for convenience. +( cd $PKG/usr/bin ; ln -sf python3.1 python3 ) + +# We'll install the python-tools under site-packages: +mkdir -p $SITEPK +cp -a Tools/* $SITEPK + +# Python 2.6 already has this script. +rm -f $PKG/usr/bin/2to3 + +# Install docs and demos: +mkdir -p $PKG/usr/doc/python3-$VERSION +cp -a README LICENSE Demo Doc Misc $PKG/usr/doc/python3-$VERSION +mv $SITEPK/README $PKG/usr/doc/python3-$VERSION/README.python-tools +( cd $PKG/usr/doc/python3-$VERSION ; ln -sf $TOOLSDIR Tools ) + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +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/python3/python3.info b/python/python3/python3.info new file mode 100644 index 000000000000..4bb3fb83ec95 --- /dev/null +++ b/python/python3/python3.info @@ -0,0 +1,10 @@ +PRGNAM="python3" +VERSION="3.1.3" +HOMEPAGE="http://python.org/" +DOWNLOAD="http://python.org/ftp/python/3.1.3/Python-3.1.3.tar.bz2" +MD5SUM="ad5e5f1c07e829321e0a015f8cafe245" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Audrius Kažukauskas" +EMAIL="audrius@neutrino.lt" +APPROVED="rworkman" diff --git a/python/python3/slack-desc b/python/python3/slack-desc new file mode 100644 index 000000000000..694d9ed798ff --- /dev/null +++ b/python/python3/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------------------------------------------------------| +python3: python3 (object-oriented interpreted programming language) +python3: +python3: Python is an interpreted, interactive, object-oriented programming +python3: language that combines remarkable power with very clear syntax. +python3: This is a new version of the language that is incompatible with the +python3: 2.x line of releases. The language is mostly the same, but many +python3: details, especially how built-in objects like dictionaries and strings +python3: work, have changed considerably, and a lot of deprecated features have +python3: finally been removed. Also, the standard library has been reorganized +python3: in a few prominent places. +python3: diff --git a/python/pytz/README b/python/pytz/README new file mode 100644 index 000000000000..354f8ea02c87 --- /dev/null +++ b/python/pytz/README @@ -0,0 +1,5 @@ +pytz brings the Olson tz database into Python. This library allows +accurate and cross platform timezone calculations using Python 2.3 +or higher. It also solves the issue of ambiguous times at the end +of daylight savings, which you can read more about in the Python +Library Reference (datetime.tzinfo). diff --git a/python/pytz/pytz.SlackBuild b/python/pytz/pytz.SlackBuild new file mode 100644 index 000000000000..27d8fb5cd57d --- /dev/null +++ b/python/pytz/pytz.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh + +# Slackware build script for pytz + +# Copyright 2009 Heinz Wiesinger, Amsterdam, The Netherlands +# 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=pytz +VERSION=2009n +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 + +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.bz2 +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 + +find $PKG | xargs 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 +cp -a CHANGES.txt LICENSE.txt PKG-INFO README.txt \ + $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/pytz/pytz.info b/python/pytz/pytz.info new file mode 100644 index 000000000000..24ce6093c0da --- /dev/null +++ b/python/pytz/pytz.info @@ -0,0 +1,10 @@ +PRGNAM="pytz" +VERSION="2009n" +HOMEPAGE="https://launchpad.net/pytz" +DOWNLOAD="http://pypi.python.org/packages/source/p/pytz/pytz-2009n.tar.bz2" +MD5SUM="7f069d7221bbe0a580c2300677e204ce" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" +APPROVED="rworkman" diff --git a/python/pytz/slack-desc b/python/pytz/slack-desc new file mode 100644 index 000000000000..a875d79ef782 --- /dev/null +++ b/python/pytz/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----------------------------------------------------| +pytz: pytz (World timezone definitions for Python) +pytz: +pytz: pytz brings the Olson tz database into Python. This library allows +pytz: accurate and cross platform timezone calculations using Python 2.3 +pytz: or higher. It also solves the issue of ambiguous times at the end +pytz: of daylight savings, which you can read more about in the Python +pytz: Library Reference (datetime.tzinfo). +pytz: +pytz: Homepage: https://launchpad.net/pytz +pytz: +pytz: diff --git a/python/pyusb/README b/python/pyusb/README new file mode 100644 index 000000000000..c93b48b72bbf --- /dev/null +++ b/python/pyusb/README @@ -0,0 +1,3 @@ +PyUSB is a native Python module written in C which provides easy USB access +to Python. The module contains classes and methods to support most USB +operations. diff --git a/python/pyusb/pyusb.SlackBuild b/python/pyusb/pyusb.SlackBuild new file mode 100644 index 000000000000..c7b73e018bbd --- /dev/null +++ b/python/pyusb/pyusb.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/sh + +# Slackware build script for pyusb +# Written by Kyle Guinn <elyk03@gmail.com> + +PRGNAM=pyusb +VERSION=${VERSION:-0.4.1} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM-$VERSION +OUTPUT=${OUTPUT:-/tmp} + +DOCS="PKG-INFO README license.txt" + +if [ $ARCH = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ $ARCH = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ $ARCH = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xzvf $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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +python ./setup.py install --root=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Normalize line endings +sed -i "s/\xd$//g" README + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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/pyusb/pyusb.info b/python/pyusb/pyusb.info new file mode 100644 index 000000000000..09b9b8432c54 --- /dev/null +++ b/python/pyusb/pyusb.info @@ -0,0 +1,10 @@ +PRGNAM="pyusb" +VERSION="0.4.1" +HOMEPAGE="http://pyusb.berlios.de/" +DOWNLOAD="http://downloads.sourceforge.net/pyusb/pyusb-0.4.1.tar.gz" +MD5SUM="9576c3e471e40e021fa44f36712bbd04" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Kyle Guinn" +EMAIL="elyk03@gmail.com" +APPROVED="dsomero" diff --git a/python/pyusb/slack-desc b/python/pyusb/slack-desc new file mode 100644 index 000000000000..6062d08814ec --- /dev/null +++ b/python/pyusb/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------------------------------------------------------| +pyusb: PyUSB (USB module for Python) +pyusb: +pyusb: PyUSB is a native Python module written in C which provides easy USB +pyusb: access to Python. The module contains classes and methods to +pyusb: support most USB operations. +pyusb: +pyusb: +pyusb: +pyusb: +pyusb: +pyusb: diff --git a/python/pyutil/README b/python/pyutil/README new file mode 100644 index 000000000000..f206473186e5 --- /dev/null +++ b/python/pyutil/README @@ -0,0 +1,4 @@ +A collection of functions and data structures from allmydata.org. + +This package requires pysetuptools, argparse and zbase32. Note that the +last one is a circular dependency, however it will only be needed at runtime. diff --git a/python/pyutil/pyutil.SlackBuild b/python/pyutil/pyutil.SlackBuild new file mode 100644 index 000000000000..824237078695 --- /dev/null +++ b/python/pyutil/pyutil.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for pyutil. + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.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. + +PRGNAM=pyutil +VERSION=${VERSION:-1.7.1} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="COPYING.GPL COPYING.TGPPL.html README.txt" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +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 build || exit 1 +python setup.py install --root=$PKG || exit 1 + +find $PKG | xargs 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 +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc +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/pyutil/pyutil.info b/python/pyutil/pyutil.info new file mode 100644 index 000000000000..59938637658f --- /dev/null +++ b/python/pyutil/pyutil.info @@ -0,0 +1,10 @@ +PRGNAM="pyutil" +VERSION="1.7.1" +HOMEPAGE="http://allmydata.org/trac/pyutil" +DOWNLOAD="http://pypi.python.org/packages/source/p/pyutil/pyutil-1.7.1.tar.gz" +MD5SUM="d6efa4b42a3e6d2d602f6b72b40a62e8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/python/pyutil/slack-desc b/python/pyutil/slack-desc new file mode 100644 index 000000000000..a667506f3024 --- /dev/null +++ b/python/pyutil/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----------------------------------------------------| +pyutil: pyutil (Python utilities) +pyutil: +pyutil: A collection of functions and data structures from allmydata.org +pyutil: +pyutil: Homepage: http://allmydata.org/trac/pyutil +pyutil: +pyutil: +pyutil: +pyutil: +pyutil: +pyutil: diff --git a/python/pywebkitgtk/README b/python/pywebkitgtk/README new file mode 100644 index 000000000000..fb38d0edf6b2 --- /dev/null +++ b/python/pywebkitgtk/README @@ -0,0 +1,4 @@ +PyWebKitGtk allows Python (Gtk) developers to create software +on top of the WebKitGtk rendering engine. + +This package requires webkitgtk. diff --git a/python/pywebkitgtk/pywebkitgtk.SlackBuild b/python/pywebkitgtk/pywebkitgtk.SlackBuild new file mode 100644 index 000000000000..66f8e0d3df0b --- /dev/null +++ b/python/pywebkitgtk/pywebkitgtk.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for pywebkitgtk + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=pywebkitgtk +VERSION=1.1.8 +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --enable-static=no \ + --disable-dependency-tracking \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs 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 +cp -a \ + AUTHORS ChangeLog COPYING MAINTAINERS NEWS README \ + $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/pywebkitgtk/pywebkitgtk.info b/python/pywebkitgtk/pywebkitgtk.info new file mode 100644 index 000000000000..4d4ffdacb25f --- /dev/null +++ b/python/pywebkitgtk/pywebkitgtk.info @@ -0,0 +1,10 @@ +PRGNAM="pywebkitgtk" +VERSION="1.1.8" +HOMEPAGE="http://code.google.com/p/pywebkitgtk/" +DOWNLOAD="http://pywebkitgtk.googlecode.com/files/pywebkitgtk-1.1.8.tar.bz2" +MD5SUM="19f3c184eebcfde1c9d1ce56bbe75cf2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="Erik Hanson" diff --git a/python/pywebkitgtk/slack-desc b/python/pywebkitgtk/slack-desc new file mode 100644 index 000000000000..6fe646ba610d --- /dev/null +++ b/python/pywebkitgtk/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------------------------------------------------------| +pywebkitgtk: PyWebkitGTK +pywebkitgtk: +pywebkitgtk: PyWebKitGtk allows Python (Gtk) developers to create software on top +pywebkitgtk: of the WebKitGtk rendering engine. +pywebkitgtk: +pywebkitgtk: Homepage: http://code.google.com/p/pywebkitgtk/ +pywebkitgtk: +pywebkitgtk: +pywebkitgtk: +pywebkitgtk: +pywebkitgtk: diff --git a/python/pyxdg/README b/python/pyxdg/README new file mode 100644 index 000000000000..485a238ba1f9 --- /dev/null +++ b/python/pyxdg/README @@ -0,0 +1 @@ +PyXDG contains implementations of freedesktop.org standards in python. diff --git a/python/pyxdg/pyxdg.SlackBuild b/python/pyxdg/pyxdg.SlackBuild new file mode 100644 index 000000000000..07d51b256b35 --- /dev/null +++ b/python/pyxdg/pyxdg.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for PyXDG + +# Copyright 2008-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com> +# 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=pyxdg +VERSION=${VERSION:-0.18} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 + +find $PKG | xargs 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 +cp -a AUTHORS ChangeLog COPYING INSTALL PKG-INFO README TODO \ + $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/pyxdg/pyxdg.info b/python/pyxdg/pyxdg.info new file mode 100644 index 000000000000..dbd326401848 --- /dev/null +++ b/python/pyxdg/pyxdg.info @@ -0,0 +1,10 @@ +PRGNAM="pyxdg" +VERSION="0.18" +HOMEPAGE="http://freedesktop.org/wiki/Software/pyxdg" +DOWNLOAD="http://www.freedesktop.org/~lanius/pyxdg-0.18.tar.gz" +MD5SUM="076b57722e91dab8ab83028c6ef9dcea" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Frank Caraballo" +EMAIL="fecaraballo{at}gmail{dot}com" +APPROVED="rworkman" diff --git a/python/pyxdg/slack-desc b/python/pyxdg/slack-desc new file mode 100644 index 000000000000..0b61589cfd6a --- /dev/null +++ b/python/pyxdg/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------------------------------------------------------| +pyxdg: PyXDG (Python Library) +pyxdg: +pyxdg: PyXDG contains implementations of freedesktop.org standards in python. +pyxdg: +pyxdg: Homepage: http://freedesktop.org/wiki/Software/pyxdg +pyxdg: +pyxdg: +pyxdg: +pyxdg: +pyxdg: +pyxdg: diff --git a/python/sexy-python/README b/python/sexy-python/README new file mode 100644 index 000000000000..d35d497a27e8 --- /dev/null +++ b/python/sexy-python/README @@ -0,0 +1,3 @@ +Sexy-python is a set of Python bindings around libsexy. + +Requires libsexy available at SlackBuilds.org.
\ No newline at end of file diff --git a/python/sexy-python/fix-sexy_tooltip_position_to_rect.patch b/python/sexy-python/fix-sexy_tooltip_position_to_rect.patch new file mode 100644 index 000000000000..93b45e93d10c --- /dev/null +++ b/python/sexy-python/fix-sexy_tooltip_position_to_rect.patch @@ -0,0 +1,50 @@ +diff -Nur sexy-python-0.1.9/sexy/sexy.override sexy-python-0.1.9.new/sexy/sexy.override +--- sexy-python-0.1.9/sexy/sexy.override 2006-03-18 22:48:12.000000000 +0100 ++++ sexy-python-0.1.9.new/sexy/sexy.override 2007-03-08 11:11:46.000000000 +0100 +@@ -163,5 +163,46 @@ + return 0; + } + %% ++override sexy_tooltip_position_to_rect kwargs ++ ++/* Stock pygdk_rectangle_from_pyobject crashes with (at least) PyGTK 2.6.8 */ ++static gboolean ++_gimmie_pygdk_rectangle_from_pyobject(PyObject *object, GdkRectangle *rectangle) ++{ ++ g_return_val_if_fail(rectangle != NULL, FALSE); ++ ++ if (pyg_boxed_check(object, GDK_TYPE_RECTANGLE)) { ++ *rectangle = *pyg_boxed_get(object, GdkRectangle); ++ return TRUE; ++ } ++ if (PyArg_ParseTuple(object, "iiii", &rectangle->x, &rectangle->y, ++ &rectangle->width, &rectangle->height)) { ++ return TRUE; ++ } ++ PyErr_Clear(); ++ PyErr_SetString(PyExc_TypeError, "could not convert to GdkRectangle"); ++ return FALSE; ++} ++ ++static PyObject * ++_wrap_sexy_tooltip_position_to_rect(PyGObject *self, PyObject *args, PyObject *kwargs) ++{ ++ static char *kwlist[] = { "rect", "screen", NULL }; ++ PyObject *py_rect; ++ PyGObject *screen; ++ GdkRectangle rect = { 0, 0, 0, 0 }; ++ ++ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO!:SexyTooltip.position_to_rect", kwlist, &py_rect, &PyGdkScreen_Type, &screen)) ++ return NULL; ++ ++ /* FIXME: Force the use of a newer version which does not crash */ ++ if (!_gimmie_pygdk_rectangle_from_pyobject(py_rect, &rect)) ++ return NULL; ++ ++ sexy_tooltip_position_to_rect(SEXY_TOOLTIP(self->obj), &rect, GDK_SCREEN(screen->obj)); ++ Py_INCREF(Py_None); ++ return Py_None; ++} ++%% + init + pyg_set_object_has_new_constructor(SEXY_TYPE_URL_LABEL); diff --git a/python/sexy-python/sexy-python.SlackBuild b/python/sexy-python/sexy-python.SlackBuild new file mode 100644 index 000000000000..48fd61775e33 --- /dev/null +++ b/python/sexy-python/sexy-python.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for sexy-python + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=sexy-python +VERSION=${VERSION:-0.1.9} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 {} \; + +patch -p1 < $CWD/fix-sexy_tooltip_position_to_rect.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-dependency-tracking \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \ + $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/sexy-python/sexy-python.info b/python/sexy-python/sexy-python.info new file mode 100644 index 000000000000..646906385c37 --- /dev/null +++ b/python/sexy-python/sexy-python.info @@ -0,0 +1,10 @@ +PRGNAM="sexy-python" +VERSION="0.1.9" +HOMEPAGE="http://www.chipx86.com/w/index.php/Libsexy" +DOWNLOAD="http://releases.chipx86.com/libsexy/sexy-python/sexy-python-0.1.9.tar.gz" +MD5SUM="313f11e98555b0e9eea28219564e5063" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="dsomero" diff --git a/python/sexy-python/slack-desc b/python/sexy-python/slack-desc new file mode 100644 index 000000000000..f53104545f99 --- /dev/null +++ b/python/sexy-python/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------------------------------------------------------| +sexy-python: sexy-python (Python bindings for libsexy) +sexy-python: +sexy-python: Sexy-python is a set of Python bindings around libsexy. +sexy-python: +sexy-python: Homepage: http://www.chipx86.com/w/index.php/Libsexy +sexy-python: +sexy-python: +sexy-python: +sexy-python: +sexy-python: +sexy-python: diff --git a/python/subvertpy/README b/python/subvertpy/README new file mode 100644 index 000000000000..7414605457c3 --- /dev/null +++ b/python/subvertpy/README @@ -0,0 +1,3 @@ +Alternative Python bindings for Subversion, split out from bzr-svn. +The goal is to have complete, portable and "Pythonic" Python +bindings. diff --git a/python/subvertpy/slack-desc b/python/subvertpy/slack-desc new file mode 100644 index 000000000000..7f6139b6dbf7 --- /dev/null +++ b/python/subvertpy/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------------------------------------------------------| +subvertpy: subvertpy (Alternative Python bindings for Subversion) +subvertpy: +subvertpy: Alternative Python bindings for Subversion, split out from bzr-svn. +subvertpy: The goal is to have complete, portable and "Pythonic" Python +subvertpy: bindings. +subvertpy: +subvertpy: Homepage: http://samba.org/~jelmer/subvertpy/ +subvertpy: +subvertpy: +subvertpy: +subvertpy: diff --git a/python/subvertpy/subvertpy.SlackBuild b/python/subvertpy/subvertpy.SlackBuild new file mode 100644 index 000000000000..2d6874be6c46 --- /dev/null +++ b/python/subvertpy/subvertpy.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for subvertpy + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=subvertpy +VERSION=${VERSION:-0.7.5} +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 + +find $PKG | xargs 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 +cp -a AUTHORS COPYING INSTALL NEWS TODO examples $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/subvertpy/subvertpy.info b/python/subvertpy/subvertpy.info new file mode 100644 index 000000000000..17f39a61e1f5 --- /dev/null +++ b/python/subvertpy/subvertpy.info @@ -0,0 +1,10 @@ +PRGNAM="subvertpy" +VERSION="0.7.5" +HOMEPAGE="http://samba.org/~jelmer/subvertpy/" +DOWNLOAD="http://samba.org/~jelmer/subvertpy/subvertpy-0.7.5.tar.gz" +MD5SUM="2e84979c7380a396d6beec278f2d6104" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero,Niels Horn" diff --git a/python/tagpy/README b/python/tagpy/README new file mode 100644 index 000000000000..1561d0c25eef --- /dev/null +++ b/python/tagpy/README @@ -0,0 +1,5 @@ +TagPy is a set of Python bindings for Scott Wheeler's TagLib. It +builds upon Boost.Python, a wrapper generation library which is +part of the Boost set of C++ libraries. + +pysetuptools (available at SBo) is required to build TagPy. diff --git a/python/tagpy/slack-desc b/python/tagpy/slack-desc new file mode 100644 index 000000000000..d4489ebfba87 --- /dev/null +++ b/python/tagpy/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------------------------------------------------------| +tagpy: TagPy (Python Bindings for TagLib) +tagpy: +tagpy: TagPy is a set of Python bindings for Scott Wheeler's TagLib. It +tagpy: builds upon Boost.Python, a wrapper generation library which is +tagpy: part of the Boost set of C++ libraries. +tagpy: +tagpy: Homepage: http://mathema.tician.de/software/tagpy +tagpy: +tagpy: +tagpy: +tagpy: diff --git a/python/tagpy/tagpy.SlackBuild b/python/tagpy/tagpy.SlackBuild new file mode 100644 index 000000000000..0ca35aa015e4 --- /dev/null +++ b/python/tagpy/tagpy.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +# Slackware build script for TagPy + +# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com> +# 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=tagpy +VERSION=${VERSION:-0.94.5} +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 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 +cd $PRGNAM-$VERSION || exit 1 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --boost-inc-dir=/usr/include/boost \ + --boost-lib-dir=/usr/lib \ + --boost-python-libname=boost_python \ + --taglib-inc-dir=/usr/include/taglib \ + || exit 1 + +python setup.py build || exit 1 +python setup.py install --root $PKG || exit 1 + +find $PKG | xargs 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 +cp -a LICENSE PKG-INFO README* \ + $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/tagpy/tagpy.info b/python/tagpy/tagpy.info new file mode 100644 index 000000000000..c813a1e5fdeb --- /dev/null +++ b/python/tagpy/tagpy.info @@ -0,0 +1,10 @@ +PRGNAM="tagpy" +VERSION="0.94.5" +HOMEPAGE="http://mathema.tician.de/software/tagpy" +DOWNLOAD="http://pypi.python.org/packages/source/t/tagpy/tagpy-0.94.5.tar.gz" +MD5SUM="84d7862786ad7bab91d0d45ded15a875" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Frank Caraballo" +EMAIL="fecaraballo{at}gmail{dot}com" +APPROVED="dsomero" |