summaryrefslogtreecommitdiff
path: root/pcr/python-paste
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
commit360e56ec622617a2b121c7ec51e3381ad89f0eab (patch)
treee74250415c5e21080779befbb7898bd151039d63 /pcr/python-paste
parent34b4025bc7b0c6d8d47988decd140df38b1d98ac (diff)
parentb1c14cd929ca53e06945a5cda3965dc6fcd9d6b7 (diff)
downloadabslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.tar.gz
abslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.tar.bz2
abslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python-paste')
-rw-r--r--pcr/python-paste/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
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')
+}