blob: 87804976b78fca26f666275d45d52d9bbaa9f7bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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=3
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=('setuptools')
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
}
|