diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 02:30:40 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 02:30:40 -0500 |
commit | 8394d37f84f194498ca15bf8d656ede8d8f0f611 (patch) | |
tree | e3f580f947771a2fa8bf77e5a868b62f383e3a3e | |
parent | d5c399d9e8e4ef7671ac14b83d21f868a7ec2ca7 (diff) | |
download | abslibre-8394d37f84f194498ca15bf8d656ede8d8f0f611.tar.gz abslibre-8394d37f84f194498ca15bf8d656ede8d8f0f611.tar.bz2 abslibre-8394d37f84f194498ca15bf8d656ede8d8f0f611.zip |
python2-oauth2-1.5.211-2: rebuild
-rw-r--r-- | pcr/python2-oauth2/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pcr/python2-oauth2/PKGBUILD b/pcr/python2-oauth2/PKGBUILD index e44c92152..39b174eaa 100644 --- a/pcr/python2-oauth2/PKGBUILD +++ b/pcr/python2-oauth2/PKGBUILD @@ -3,18 +3,25 @@ pkgname=python2-oauth2 pkgver=1.5.211 -pkgrel=1 +pkgrel=2 _libname=${pkgname/python2-/} -pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers" +pkgdesc="A fully tested, abstract interface to creating OAuth 1.0 clients and servers" arch=(any) url="https://github.com/simplegeo/python-oauth2" license=('GPL') depends=(python2-httplib2) -makedepends=(python2-distribute) +makedepends=(python2-setuptools) 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 + python2 setup.py build +} + +package() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --skip-build -O1 --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests } + +sha256sums=('82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21') |