5 pkgdesc="MapReduce framework for writing and running Hadoop Streaming jobs"
6 url="https://github.com/Yelp/mrjob/"
8 depends=('python2' 'python-boto' 'python-simplejson' 'python-yaml')
10 source=("https://github.com/Yelp/mrjob/tarball/v$pkgver")
11 md5sums=('f3330bf8292845d11cdd2c15c21b201a')
18 cd "$srcdir/Yelp-mrjob-$_githubtag"
20 python2 setup.py install --prefix=/usr --root="$pkgdir"
21 find "$pkgdir" -name '*.py' -print0 |xargs -0 \
22 sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
23 -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'