mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
21 lines
638 B
Bash
21 lines
638 B
Bash
# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
|
|
|
|
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)
|
|
md5sums=(987ad7365a70e2286bd1cebb344debbc)
|
|
|
|
build() {
|
|
cd "$srcdir/$_libname-$pkgver"
|
|
python2 setup.py install --root=$pkgdir
|
|
rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests
|
|
}
|