# Contributor: Massimiliano Torromeo # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=python2-oauth2 pkgver=1.5.211 pkgrel=1 _libname=${pkgname/python2-/} pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers" arch=(any) url="https://github.com/simplegeo/python-oauth2" license=('GPL') depends=(python2-httplib2) makedepends=(python2-distribute) source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) build() { cd "$srcdir/$_libname-$pkgver" python2 setup.py install --root=$pkgdir rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests }