updated on Wed Jan 11 16:09:51 UTC 2012
[aur-mirror.git] / pyramid / PKGBUILD
blob6e3d7b37411c597369fec06824c0c20aa7f2057e
1 #Maintainer: Damien Churchill <damoxc@gmail.com>
2 pkgname=pyramid
3 pkgver=1.2
4 pkgrel=2
5 pkgdesc='Pyramid is a small, fast, down-to-earth, open source Python web development framework'
6 arch=('any')
7 url='http://pylonshq.com/'
8 license=('custom:BSD')
9 depends=('python2'
10                  'python-mako>=0.3.4'
11                  'python-paste>=1.7.2'
12                  'python-paste-deploy>=1.3.3'
13                  'python-paste-script>=1.7.3'
14                  'python2-webob>=0.9.6.1'
15                  'python2-repoze.lru'
16                  'python2-zope-component'
17                  'python2-zope-configuration'
18                  'python2-zope-deprecation'
19                  'python2-zope-event'
20                  'python2-zope-interface'
21                  'python2-zope-i18nmessageid'
22                  'python2-zope-schema'
23                  'python2-venusian'
24                  'python2-translationstring')
25 makedepends=('python2-distribute')
26 source=(http://pypi.python.org/packages/source/p/pyramid/pyramid-${pkgver}.tar.gz)
27 md5sums=('be9cfc78ec7fd72a4bd1e1f677f31063')
29 build() {
30   cd $srcdir/pyramid-${pkgver}
31   python2 setup.py install --root=$pkgdir/ --optimize=1
32   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
33          -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
34     $(find $pkgdir -name '*.py')