diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-14 17:17:06 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-14 17:17:06 -0200 |
commit | 762b84f828dc02cc9a70268b178e944469148007 (patch) | |
tree | 523f05cfa4efe2a4f48c00e8aa829a472a81f7f1 /pcr/python2-oauth2 | |
parent | f670012fe35dd14cfdf11e579ede0ec7de2a0c24 (diff) | |
parent | 3003c34a15ad9b553e8511102aebab469886754f (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-oauth2')
-rw-r--r-- | pcr/python2-oauth2/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python2-oauth2/PKGBUILD b/pcr/python2-oauth2/PKGBUILD new file mode 100644 index 000000000..c58e86f9c --- /dev/null +++ b/pcr/python2-oauth2/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +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 +} |