From 0a9a064dde6943f5ce78d9eb03f403326cd5b4ef Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 24 Nov 2012 09:24:52 +0100 Subject: glance nova python2-amqplib python2-carrot python2-daemon python2-eventlet python2-iso8601 python2-kombu python2-netaddr python2-passlib python2-pkgtools python2-sendfile python2-suds python2-webob pyt hon-anyjson python-paste-deploy python-paste python-repoze.lru python-routes python-wsgiref python-xattr --- pcr/python-paste-deploy/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr/python-paste-deploy/PKGBUILD (limited to 'pcr/python-paste-deploy/PKGBUILD') 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 +# Contributor: Cilyan Olowen +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +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') +} -- cgit v1.2.3