From 8185891e28635bdb83fdf4ba4391030912dae596 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 18 Feb 2014 01:56:34 +0000 Subject: Tue Feb 18 01:56:27 UTC 2014 --- pcr/python-paste/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/python-paste/PKGBUILD (limited to 'pcr/python-paste') 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 +# Contributor: Cilyan Olowen +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +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') +} -- cgit v1.2.3-54-g00ecf