diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/glance/PKGBUILD | 62 | ||||
-rw-r--r-- | pcr/nova/PKGBUILD | 55 | ||||
-rw-r--r-- | pcr/python-anyjson/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/python-paste-deploy/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/python-paste/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/python-repoze.lru/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/python-routes/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/python-wsgiref/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/python-xattr/PKGBUILD | 31 | ||||
-rw-r--r-- | pcr/python2-amqplib/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/python2-carrot/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/python2-daemon/PKGBUILD | 20 | ||||
-rw-r--r-- | pcr/python2-eventlet/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/python2-iso8601/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/python2-kombu/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/python2-netaddr/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/python2-passlib/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/python2-pkgtools/PKGBUILD | 20 | ||||
-rw-r--r-- | pcr/python2-sendfile/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/python2-suds/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/python2-webob/Changelog | 26 | ||||
-rw-r--r-- | pcr/python2-webob/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/thinkfan/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/thinkfan/thinkfan | 54 | ||||
-rw-r--r-- | pcr/thinkfan/thinkfan.service | 9 |
25 files changed, 688 insertions, 0 deletions
diff --git a/pcr/glance/PKGBUILD b/pcr/glance/PKGBUILD new file mode 100644 index 000000000..a05e66686 --- /dev/null +++ b/pcr/glance/PKGBUILD @@ -0,0 +1,62 @@ +# Contributor: Josh Chase <jcjoshuachase@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=glance +pkgver=2012.1.2 +pkgrel=1 +_ostackver=essex +_clientname=python-glanceclient +_clientver=0.5.1 +pkgdesc="OpenStack image service" +arch=('any') +license=('custom') +url="https://launchpad.net/$pkgname" +depends=('python2' + 'python2-httplib2' + 'python2-webob' + 'python2-eventlet' + 'python2-greenlet' + 'python-paste' + 'python-paste-deploy' + 'python-routes' + 'python2-sqlalchemy' + 'python2-migrate' + 'python2-passlib' + 'python2-lxml' + 'python-anyjson' + 'python-wsgiref' + 'python2-argparse' + 'python2-boto' + 'python-xattr' + 'python2-kombu' + 'python2-crypto' + 'python2-sendfile' + 'python2-iso8601') +makedepends=('python2-distribute') +source=("https://launchpad.net/$pkgname/$_ostackver/$pkgver/+download/$pkgname-$pkgver.tar.gz" + "http://pypi.python.org/packages/source/${_clientname:0:1}/$_clientname/$_clientname-$_clientver.tar.gz") + +build() { + cd $srcdir + + find . -type f -exec sed -i -e 's|^#!/usr/bin/python$|#!/usr/bin/python2|' \ + -e 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' {} + + + cd $srcdir/$_clientname-$_clientver + python2 setup.py build + + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd $srcdir/$_clientname-$_clientver + python2 setup.py install --root=$pkgdir + + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -dm600 "$pkgdir"/etc/$pkgname + install -Dm600 etc/* "$pkgdir"/etc/$pkgname/ + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/nova/PKGBUILD b/pcr/nova/PKGBUILD new file mode 100644 index 000000000..181e5a626 --- /dev/null +++ b/pcr/nova/PKGBUILD @@ -0,0 +1,55 @@ +# Contributor: Josh Chase <jcjoshuachase@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=nova +pkgver=2012.1.2 +_clientname=python-novaclient +_clientver=2.8.0 +pkgrel=1.1 +pkgdesc="OpenStack cloud computing fabric controller" +arch=('any') +license=('custom') +url="https://launchpad.net/nova" +depends=('python2' + 'python2-cheetah' + 'python2-simplejson' + 'python2-prettytable' + 'python2-amqplib' + 'python2-carrot' + 'python2-lockfile' + 'python2-daemon' + 'python2-gflags' + 'python2-netaddr' + 'glance' + 'python2-suds' + 'python2-paramiko' + 'python2-feedparser' + 'python2-babel' ) +makedepends=('python2-distribute') +source=("https://launchpad.net/nova/essex/2012.1.2/+download/nova-2012.1.2.tar.gz" + "http://pypi.python.org/packages/source/${_clientname:0:1}/$_clientname/$_clientname-$_clientver.tar.gz") + +build() { + cd $srcdir + + find . -type f -exec sed -i -e 's|^#!/usr/bin/python$|#!/usr/bin/python2|' \ + -e 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' {} + + + cd $srcdir/$_clientname-$_clientver + python2 setup.py build + + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd $srcdir/$_clientname-$_clientver + python2 setup.py install --root=$pkgdir + + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -dm600 "$pkgdir"/etc/$pkgname + install -Dm600 etc/$pkgname/* "$pkgdir"/etc/$pkgname/ + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/python-anyjson/PKGBUILD b/pcr/python-anyjson/PKGBUILD new file mode 100644 index 000000000..8ab20d1c9 --- /dev/null +++ b/pcr/python-anyjson/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Benjamin A. Shelton <zancarius@gmail.com> +# Contributor: p2k <Patrick.Schneider@uni-ulm.de> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-anyjson +pkgver=0.3.3 +pkgrel=1 +pkgdesc="Wraps the best available JSON implementation available in a common interface." +arch=('any') +url="http://pypi.python.org/pypi/anyjson" +license=('BSD') +depends=('python2') +makedepends=('python2-distribute') +source=("http://pypi.python.org/packages/source/a/anyjson/anyjson-${pkgver}.tar.gz") + +build () { + + cd "${srcdir}/anyjson-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + +} diff --git a/pcr/python-paste-deploy/PKGBUILD b/pcr/python-paste-deploy/PKGBUILD new file mode 100644 index 000000000..57b7ca0d3 --- /dev/null +++ b/pcr/python-paste-deploy/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: David Campbell <davekong@archlinux.us> +# Contributor: Cilyan Olowen <gaknar@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-paste-deploy +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Load, configure, and compose WSGI applications and servers" +arch=('any') +url="http://pythonpaste.org/deploy/" +license=('custom') +depends=('python2') +makedepends=('setuptools') +source=(http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-${pkgver}.tar.gz) + + +build() { + cd $srcdir/PasteDeploy-${pkgver} + python2 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find $pkgdir -name '*.py') +} diff --git a/pcr/python-paste/PKGBUILD b/pcr/python-paste/PKGBUILD new file mode 100644 index 000000000..3ffc12ca3 --- /dev/null +++ b/pcr/python-paste/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: David Campbell <davekong@archlinux.us> +# Contributor: Cilyan Olowen <gaknar@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-paste +pkgver=1.7.5.1 +pkgrel=1 +pkgdesc="Tools for using a Web Server Gateway Interface stack." +arch=('any') +url="http://pythonpaste.org/index.html" +license=('custom') +depends=('python2') +makedepends=('setuptools') +source=(http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz) +optdepends=('python-flup: WSGI utilities' + 'python-openid: Support for OpenID') + +build() { + cd ${srcdir}/Paste-${pkgver} + python2 setup.py install --root=${pkgdir} --optimize=1 + install -Dm644 docs/license.txt ${pkgdir}/usr/share/licenses/$pkgname/license.txt + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find $pkgdir -name '*.py') +} diff --git a/pcr/python-repoze.lru/PKGBUILD b/pcr/python-repoze.lru/PKGBUILD new file mode 100644 index 000000000..844658c27 --- /dev/null +++ b/pcr/python-repoze.lru/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: speps <speps at aur dot archlinux dot org> +# Contributor: DasIch <dasdasich@googlemail.com> +# Maintainer : Paraobla GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +_name=repoze.lru +pkgname=python-$_name +pkgver=0.6 +pkgrel=1 +pkgdesc="A tiny LRU cache implementation and decorator" +arch=('any') +license=('custom:BSD') +url="http://pypi.python.org/pypi/$_name" +depends=('python') +makedepends=('python-distribute') +provides=(python-repoze-lru) +conflicts=(python-repoze-lru) +replaces=(python-repoze-lru) +source=("http://pypi.python.org/packages/source/r/$_name/$_name-$pkgver.tar.gz") + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" + + # license + install -Dm644 LICENSE.txt \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/pcr/python-routes/PKGBUILD b/pcr/python-routes/PKGBUILD new file mode 100644 index 000000000..511934ef2 --- /dev/null +++ b/pcr/python-routes/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: David Moore <davidm@sjsoft.com> +# Contributor: Nathan Jones <nathanj@insightbb.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-routes +pkgver=1.13 +pkgrel=2 +pkgdesc="A routing package for Python that matches URL's to dicts and vice versa" +arch=('any') +url="http://pypi.python.org/pypi/Routes" +license=('custom:BSD') +depends=('python-repoze.lru') +makedepends=('python-distribute') +source=("http://pypi.python.org/packages/source/R/Routes/Routes-$pkgver.tar.gz") + +build() { + cd "$srcdir/Routes-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/Routes-$pkgver" + + python setup.py install --root="$pkgdir/" + install -Dm644 LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + diff --git a/pcr/python-wsgiref/PKGBUILD b/pcr/python-wsgiref/PKGBUILD new file mode 100644 index 000000000..3f3b38bd2 --- /dev/null +++ b/pcr/python-wsgiref/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: Philipp Schmidt <philschmidt at gmx dot net> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-wsgiref +pkgver=0.1.2 +pkgrel=2 +pkgdesc="WSGI (PEP 333) Reference Library" +arch=('i686' 'x86_64') +url="http://cheeseshop.python.org/pypi/wsgiref" +license=('PSF or ZPL') +depends=('python2') +makedepends=('unzip' 'setuptools') +source=("http://pypi.python.org/packages/source/w/wsgiref/wsgiref-$pkgver.zip") + +build() { + cd "$srcdir/wsgiref-$pkgver" + + python2 setup.py install --root=$pkgdir +} diff --git a/pcr/python-xattr/PKGBUILD b/pcr/python-xattr/PKGBUILD new file mode 100644 index 000000000..d6977f435 --- /dev/null +++ b/pcr/python-xattr/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python-xattr +pkgver=20111028 +pkgrel=1 +pkgdesc="module for manipulating filesystem extended attributes" +arch=('i686' 'x86_64') +url="http://undefined.org/python/#xattr" +license=('MIT') +conflicts=('pyattr') +provied=('pyattr') +makedepends=('setuptools') +depends=('python2' 'git') + +_gitroot=https://github.com/xattr/xattr.git +_gitname=xattr + +build() { + cd $srcdir/ + + if [ -e ${_gitname} ] ; then + cd ${_gitname} + git pull + cd .. + else + git clone ${_gitroot} ${_gitname} + fi + + cd $srcdir/xattr/ + python2 setup.py install --prefix=/usr --root=$pkgdir +} diff --git a/pcr/python2-amqplib/PKGBUILD b/pcr/python2-amqplib/PKGBUILD new file mode 100644 index 000000000..d67800a06 --- /dev/null +++ b/pcr/python2-amqplib/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Tevin Zhang <mail2tevin {at} gmail {dot} com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-amqplib +pkgver=1.0.2 +pkgrel=3 +pkgdesc="Python client for the Advanced Message Queuing Procotol (AMQP). Uses Python2." +arch=('any') +url="http://code.google.com/p/py-amqplib/" +license=("LGPL") +depends=('python2>=2.6' 'setuptools') +source=(http://py-amqplib.googlecode.com/files/amqplib-$pkgver.tgz) + +build() { + cd $srcdir/amqplib-$pkgver + + # replace /usr/bin/env python with python2 + find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \; + + python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1 +} + diff --git a/pcr/python2-carrot/PKGBUILD b/pcr/python2-carrot/PKGBUILD new file mode 100644 index 000000000..b620eca9e --- /dev/null +++ b/pcr/python2-carrot/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Lukas Linhart <bugs@almad.net> +# Contributor: Marco Elver <marco.elver AT gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-carrot +pkgver=0.10.5 +pkgrel=1 +pkgdesc="AMQP Messaging Framwork for Python" +arch=('any') +url='http://ask.github.com/carrot/' +license=('BSD') +depends=('python2' 'python2-amqplib') +makedepends=('setuptools') +source=("http://pypi.python.org/packages/source/c/carrot/carrot-$pkgver.tar.gz") +options=(!emptydirs) + +build() { + cd ${srcdir}/carrot-$pkgver + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 +} + diff --git a/pcr/python2-daemon/PKGBUILD b/pcr/python2-daemon/PKGBUILD new file mode 100644 index 000000000..18358f9cb --- /dev/null +++ b/pcr/python2-daemon/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-daemon +pkgver=1.6 +pkgrel=2 +pkgdesc="Library to implement a well-behaved Unix daemon process" +license=("PSF-2+") +url="http://pypi.python.org/pypi/python-daemon" +depends=('python2-lockfile') +makedepends=('python2-distribute') +source=(http://pypi.python.org/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz) +arch=('any') +options=(!emptydirs) + +build() { + cd "$srcdir/python-daemon-$pkgver" + python2 setup.py install --root="$pkgdir" +} + diff --git a/pcr/python2-eventlet/PKGBUILD b/pcr/python2-eventlet/PKGBUILD new file mode 100644 index 000000000..d9dc41d8d --- /dev/null +++ b/pcr/python2-eventlet/PKGBUILD @@ -0,0 +1,22 @@ +# -*- shell-script -*- +#Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +python=python2 +name=eventlet + +pkgname=$python-$name +pkgver=0.9.16 +pkgrel=1 +pkgdesc="Highly concurrent networking library" +arch=(any) +url="http://eventlet.net" +license=(MIT) +depends=('python2-greenlet' 'python' 'python2-distribute') +makedepends=("$python") +source=("http://pypi.python.org/packages/source/e/$name/$name-$pkgver.tar.gz") + +build() { + cd "$srcdir/$name-$pkgver" + $python setup.py install --prefix=/usr --root=$pkgdir +} + diff --git a/pcr/python2-iso8601/PKGBUILD b/pcr/python2-iso8601/PKGBUILD new file mode 100644 index 000000000..08ca49004 --- /dev/null +++ b/pcr/python2-iso8601/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: WU Jun <quark at lihdd dot net> +# Contributor: Vsevolod Balashov <vsevolod@balashov.name> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +name=iso8601 +pkgname=python2-$name +pkgver=0.1.4 +pkgrel=3 +pkgdesc="Simple module to parse ISO 8601 dates" +arch=(any) +url="http://pypi.python.org/pypi/$name" +license=(MIT) +depends=(python2) +makedepends=(python2-distribute) +source=("http://pypi.python.org/packages/source/i/$name/$name-$pkgver.tar.gz") +build() { + cd "$srcdir/$name-$pkgver" + python2 setup.py install --prefix=/usr --root=$pkgdir || return 1 +} diff --git a/pcr/python2-kombu/PKGBUILD b/pcr/python2-kombu/PKGBUILD new file mode 100644 index 000000000..ef99b0beb --- /dev/null +++ b/pcr/python2-kombu/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Felix Yan <felixonmars@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-kombu +pkgver=2.4.10 +pkgrel=1 +pkgdesc="AMQP Messaging Framework for Python 2.x" +arch=('any') +url="http://pypi.python.org/pypi/kombu/" +license=('BSD') +depends=('python2' 'python-anyjson') +optdepends=( + "python2-librabbitmq: High performance AMQP transport written in C" +) +makedepends=('setuptools') +source=("http://pypi.python.org/packages/source/k/kombu/kombu-$pkgver.tar.gz") +options=(!emptydirs) + +build() { + cd "$srcdir"/kombu-$pkgver + python2 setup.py build +} + +package() { + cd "$srcdir"/kombu-$pkgver + python2 setup.py install --root="$pkgdir/" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/pcr/python2-netaddr/PKGBUILD b/pcr/python2-netaddr/PKGBUILD new file mode 100644 index 000000000..8d9f2a827 --- /dev/null +++ b/pcr/python2-netaddr/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: Sebastien LEDUC <sebastien@sleduc.fr> +# Contributor: Gilles CHAUVIN <gcnweb at gmail dot com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-netaddr +pkgver=0.7.10 +pkgrel=1 +pkgdesc="A pure Python network address representation and manipulation library" +arch=('i686' 'x86_64') +license=('BSD') +url="http://github.com/drkjam/netaddr/" +depends=('python2') +source=("http://github.com/downloads/drkjam/netaddr/netaddr-$pkgver.tar.gz") + +build() { + cd "$srcdir/netaddr-$pkgver/" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + diff --git a/pcr/python2-passlib/PKGBUILD b/pcr/python2-passlib/PKGBUILD new file mode 100644 index 000000000..753677827 --- /dev/null +++ b/pcr/python2-passlib/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: onny <onny@project-insanity.org> +# Contributor: onny <onny@project-insanity.org> +# Maintainer : Parabola GNU /Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-passlib +pkgver=1.6.1 +pkgrel=1 +pkgdesc="A password hashing library for Python." +arch=('i686' 'x86_64') +url=("https://code.google.com/p/passlib/") +license=('custom') +depends=('python2') +source=("https://passlib.googlecode.com/files/passlib-${pkgver}.tar.gz") +sha512sums=('93c047dc0a06f19a20e5da97db43c5c76e06d69baeac15cc932ef0306ae22dac5c1a3925889a140fd181ab4e00ac513ec829951e15babf5aad89bd2d08dc9907') + +build() { + cd "$srcdir/passlib-${pkgver}" + python2 setup.py build install --root="${pkgdir}" || return 1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python2-pkgtools/PKGBUILD b/pcr/python2-pkgtools/PKGBUILD new file mode 100644 index 000000000..7060dc416 --- /dev/null +++ b/pcr/python2-pkgtools/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Fabien Devaux <fdev31 at gmail dot com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-pkgtools +pkgver=0.7.1 +pkgrel=1 +pkgdesc="Python packages tools" +arch=('any') +url="http://pkgtools.readthedocs.org/en/latest/" +license=('MIT') +depends=('python2') +makedepends=('python2-distribute') +source=(http://pypi.python.org/packages/source/p/pkgtools/pkgtools-${pkgver}.tar.gz) + +build() { + cd "${srcdir}/pkgtools-${pkgver}" + python2 setup.py build || exit 1 + python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1 +} + diff --git a/pcr/python2-sendfile/PKGBUILD b/pcr/python2-sendfile/PKGBUILD new file mode 100644 index 000000000..3de2d5a48 --- /dev/null +++ b/pcr/python2-sendfile/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Josh Chase <jcjoshuachase@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-sendfile +_pkgname=py-sendfile +pkgver=1.2.3 +pkgrel=1 +pkgdesc="pysendfile" +url="http://code.google.com/p/pysendfile" +license=('MIT') +arch=('i686' 'x86_64') +depends=('python2' 'setuptools') +conflicts=() +replaces=() +backup=() +source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") + +build() { + cd $srcdir/$_pkgname-$pkgver + python2 setup.py build + python2 setup.py install --root=$pkgdir + } diff --git a/pcr/python2-suds/PKGBUILD b/pcr/python2-suds/PKGBUILD new file mode 100644 index 000000000..a45009a2b --- /dev/null +++ b/pcr/python2-suds/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Jonathan Liu <net147@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=python2-suds +pkgver=0.4 +pkgrel=3 +pkgdesc="A lightweight SOAP python client." +arch=('any') +url="https://fedorahosted.org/suds/" +license=('LGPL') +depends=('python2') +makedepends=('python2-distribute') +source=("https://fedorahosted.org/releases/s/u/suds/python-suds-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/python-suds-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/python-suds-${pkgver}" + python2 setup.py install --root="${pkgdir}" -O1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python2-webob/Changelog b/pcr/python2-webob/Changelog new file mode 100644 index 000000000..d67f3b16b --- /dev/null +++ b/pcr/python2-webob/Changelog @@ -0,0 +1,26 @@ +2012-10-30 Aaron DeVore <aaron.devore@gmail.com> (1.2.3-1) +- Version bump to 1.2.3 +- Change WebOb-${pkgver}.zip to WebOb-${pkgver}.tar.gz +2012-06-07 Aaron DeVore <aaron.devore@gmail.com> (1.2.2-1) +- Version bump to 1.2.2 +2012-06-07 Aaron DeVore <aaron.devore@gmail.com> (1.2-1) +- Version bump to 1.2 +2012-10-07 Aaron DeVore <aaron.devore@gmail.com> +- Version bump to 1.1.1 +2011-8-8 Aaron DeVore <aaron.devore@gmail.com> (1.1b2) +- Version bump to 1.1b2 +- Add python-sphinx to makedepends +2011-5-14 Aaron DeVore <aaron.devore@gmail.com> (1.0.7-2) +- Revert from split build (AUR doesn't work with split builds) +2011-5-14 Aaron DeVore <aaron.devore@gmail.com> (1.0.7-1) +- Version bump to 1.0.7 +- Switch to split build +- Split Sphinx html docs into python-webob-docs package +- Don't bundle license file (upstream has restored it) +2011-4-13 Aaron DeVore <aaron.devore@gmail.com> (1.0.6-1) +- Version bump to 1.0.6 +- Bundle the license file (upstream removed it from the Pypi zip file) +2011-3-24 Aaron DeVore <aaron.devore@gmail.com> (1.0.5-1) +- Version bump to 1.0.5 +- Fix source URL (file extension changed on Pypi) +- Fix some recently change idioms diff --git a/pcr/python2-webob/PKGBUILD b/pcr/python2-webob/PKGBUILD new file mode 100644 index 000000000..8dd0df386 --- /dev/null +++ b/pcr/python2-webob/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Aaron DeVore <aaron.devore@gmail.com> +# Contributor: Cilyan Olowen <gaknar@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname='python2-webob' +pkgver='1.2.3' +pkgrel='1' +pkgdesc="WebOb provides objects for HTTP requests and responses." +arch=('any') +url="http://webob.org/" +license=('MIT') +depends=('python2') +makedepends=('python2-distribute') +optdepends=('python-webob-docs: documentation') +changelog='Changelog' +source=("http://pypi.python.org/packages/source/W/WebOb/WebOb-${pkgver}.tar.gz") + +build() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py build +} + +package() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py install "--root=$pkgdir" --optimize=1 + install -D -m644 "docs/license.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/license.txt" +} + +check() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py test +} + diff --git a/pcr/thinkfan/PKGBUILD b/pcr/thinkfan/PKGBUILD new file mode 100644 index 000000000..18a97754f --- /dev/null +++ b/pcr/thinkfan/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: nblock <nblock [/at\] archlinux DOT us> +# Contributor: Frederik Alkærsig (FALKER) <havnelisten AT gmail.com> + +pkgname=thinkfan +pkgver=0.8.1 +pkgrel=3 +pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz + "thinkfan" "thinkfan.service") +url="http://thinkfan.sourceforge.net/" +md5sums=('aaa6c88bab3b43756ac5a1638622828c' + '16fc3a83a1468e3ccaeba67e14ab2177' + '7639b82035fcee712753e05de6b0601d') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + make + install -D -m755 ${pkgname} ${pkgdir}/usr/sbin/${pkgname} + install -D -m755 ${srcdir}/${pkgname} ${pkgdir}/etc/rc.d/${pkgname} + install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}/README + install -D -m644 ${srcdir}/thinkfan.service ${pkgdir}/usr/lib/systemd/system/thinkfan.service + cp -r examples ${pkgdir}/usr/share/doc/${pkgname}/ +} + +# vim:set ts=2 sw=2 noet: diff --git a/pcr/thinkfan/thinkfan b/pcr/thinkfan/thinkfan new file mode 100644 index 000000000..d37c81424 --- /dev/null +++ b/pcr/thinkfan/thinkfan @@ -0,0 +1,54 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +test -f /usr/sbin/thinkfan || exit 0 + +case "$1" in + start) + stat_busy "Starting thinkfan" + /usr/sbin/thinkfan -- -q -s5 >/dev/null 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon thinkfan + stat_done + fi + ;; + stop) + stat_busy "Stopping thinkfan" + PID=$(</var/run/thinkfan.pid) + kill $PID + rm -f /var/run/thinkfan.pid + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon thinkfan + stat_done + fi + ;; + restart) + stat_busy "Restarting thinkfan" + + PID=$(</var/run/thinkfan.pid) + kill $PID + rm -f /var/run/thinkfan.pid + if [ $? -gt 0 ]; then + stat_fail + rm_daemon thinkfan + else + /usr/sbin/thinkfan -- -q -s5 >/dev/null 2>&1 + if [ $? -gt 0 ]; then + stat_fail + rm_daemon thinkfan + else + stat_done + fi + fi + ;; + *) + echo "Usage: $0 {stop|start|restart}" + ;; +esac +exit 0 diff --git a/pcr/thinkfan/thinkfan.service b/pcr/thinkfan/thinkfan.service new file mode 100644 index 000000000..7895b8d3a --- /dev/null +++ b/pcr/thinkfan/thinkfan.service @@ -0,0 +1,9 @@ +[Unit] +Description=Thinkfan Daemon - simple and lightweight fan control program +After=basic.target + +[Service] +ExecStart=/usr/sbin/thinkfan -n -s5 -q + +[Install] +WantedBy=multi-user.target |