4 pkgdesc='A framework for making simple, correct command line applications in Python. Also known as pyCLI.'
6 url="http://packages.python.org/pyCLI/"
8 depends=('python2>=2.6')
9 makedepends=('setuptools')
10 source=(http://opensource.errorcode420.com/pyCLI/pyCLI-v$pkgver.tar.gz)
11 md5sums=('cfeb66497b6d67af684e2c0b2fe5500f')
16 # replace /usr/bin/env python with python2
17 find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \;
19 python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1