4 pkgdesc="A rapid web development megaframework"
6 url="http://www.turbogears.org"
8 makedepends=('python2-distribute')
10 source=('http://www.turbogears.org/1.5/downloads/1.5/TurboGears-1.5-py2.7.egg')
11 md5sums=('248486a1f45d555273ff23f49afdcf50')
12 options=(!strip !zipman)
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*