1 #Maintainer: Damien Churchill <damoxc@gmail.com>
5 pkgdesc='Pyramid is a small, fast, down-to-earth, open source Python web development framework'
7 url='http://pylonshq.com/'
12 'python-paste-deploy>=1.3.3'
13 'python-paste-script>=1.7.3'
14 'python2-webob>=0.9.6.1'
16 'python2-zope-component'
17 'python2-zope-configuration'
18 'python2-zope-deprecation'
20 'python2-zope-interface'
21 'python2-zope-i18nmessageid'
24 'python2-translationstring')
25 makedepends=('python2-distribute')
26 source=(http://pypi.python.org/packages/source/p/pyramid/pyramid-${pkgver}.tar.gz)
27 md5sums=('be9cfc78ec7fd72a4bd1e1f677f31063')
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')