summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/python-beaker/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/python-beaker/PKGBUILD')
-rw-r--r--abs/extra/community/python-beaker/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/extra/community/python-beaker/PKGBUILD b/abs/extra/community/python-beaker/PKGBUILD
new file mode 100644
index 0000000..6cf06b4
--- /dev/null
+++ b/abs/extra/community/python-beaker/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 87715 2010-08-18 03:37:40Z allan $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
+pkgname=python-beaker
+pkgver=1.5.4
+pkgrel=2
+arch=('any')
+license=('custom')
+pkgdesc="Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications"
+url="http://beaker.groovie.org/"
+depends=('python2')
+makedepends=('python2-distribute')
+source=("http://cheeseshop.python.org/packages/source/B/Beaker/Beaker-$pkgver.tar.gz")
+md5sums=('de84e7511119dc0b8eb4ac177d3e2512')
+
+build() {
+ cd ${srcdir}/Beaker-${pkgver}
+ sed -i "s#/usr/bin/python#/usr/bin/python2#" beaker/crypto/pbkdf2.py
+ python2 setup.py install --root=${pkgdir} --optimize=1
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}