1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # based on community version of stable ipython package
8 pkgdesc="MapReduce framework for writing and running Hadoop Streaming jobs"
9 url="https://github.com/Yelp/mrjob/"
11 depends=('python2' 'python-boto' 'python-simplejson' 'python-yaml')
13 source=("https://github.com/Yelp/mrjob/tarball/v$pkgver")
14 md5sums=('e1ef25c3fbb6da170014a88c0e9fc16d')
21 cd "$srcdir/Yelp-mrjob-$_githubtag"
23 python2 setup.py install --prefix=/usr --root="$pkgdir"
24 find "$pkgdir" -name '*.py' -print0 |xargs -0 \
25 sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
26 -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'