updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / turbogears / PKGBUILD
bloba7eef4367bc6b71e4b77ab5eb56ff0e337de9dfb
1 pkgname=turbogears
2 pkgver=1.5
3 pkgrel=3
4 pkgdesc="A rapid web development megaframework"
5 arch=('i686' 'x86_64')
6 url="http://www.turbogears.org"
7 license=('GPL')
8 makedepends=('python2-distribute')
9 depends=('python2')
10 source=('http://www.turbogears.org/1.5/downloads/1.5/TurboGears-1.5-py2.7.egg')
11 md5sums=('248486a1f45d555273ff23f49afdcf50')
12 options=(!strip !zipman)
14 build() {
15     mkdir -p $pkgdir/usr/bin
16     python2_sitelib=$(python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
17     mkdir -p ${pkgdir}${python2_sitelib}
18     PYTHONPATH="${pkgdir}${python2_sitelib}" easy_install-2.7  --install-dir ${pkgdir}${python2_sitelib} "${srcdir}/TurboGears-1.5-py2.7.egg"
19 # site.py is the same on both accounts. So lets remove this one and
20 # use the one that's already there
21     rm ${pkgdir}${python2_sitelib}/site.py*