blob: 63c017389d9f39bf4dd285a19cf710d7b1d705f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=py-oauth2client
_pkgname=oauth2client
pkgver=1.4.11
pkgrel=0
pkgdesc="A client library for OAuth 2.0"
url="https://github.com/google/oauth2client"
arch="noarch"
license="Apache"
depends="python py-asn1 py-httplib2 py-asn1-modules py-rsa py-six"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="ace6b6e4c9cd17fd611d9984d6746c7b oauth2client-1.4.11.tar.gz"
sha256sums="dcc9bfaa544791206ca86a2f311872f0c4c1e81b068775c3da16abe72a506873 oauth2client-1.4.11.tar.gz"
sha512sums="46e5b475fd032bc1de6cb4a404747a62988fc337c9c73a329cf4127fc4a1966124a506316fb4a4e90ea68e78103cab571cd42f9eb683ce1413c8a501ace5ed91 oauth2client-1.4.11.tar.gz"
|