1 # Contributor: meatballhat <daniel.buch@gmail.com>
3 __pypi="http://pypi.python.org"
5 pkgname=python-$__shortname
8 pkgdesc="grep + find, or 'A grep program configured the way I like it.'"
10 url="http://pypi.python.org/pypi/$__shortname/$pkgver"
11 license=("custom:Enthought")
13 depends=(python python-argparse)
14 makedepends=(setuptools)
22 source=("$__pypi/packages/source/g/$__shortname/$__shortname-$pkgver.tar.gz")
24 md5sums=(9dca5a5876938adfd9dfc20869818660)
27 cd $srcdir/$__shortname-$pkgver
28 python setup.py install --root=$pkgdir/ --optimize=1 || return 1
30 install -D -m644 $srcdir/$__shortname-$pkgver/LICENSE.txt \
31 $pkgdir/usr/share/licenses/$pkgname/LICENSE