Skip to content
Snippets Groups Projects
Commit af8cd55c authored by Andrzej Giniewicz's avatar Andrzej Giniewicz
Browse files

python-oauth2client: new upstream release

parent 022d1d3e
No related branches found
Tags 2.0.0.post1-1
No related merge requests found
......@@ -3,8 +3,8 @@
pkgbase=python-oauth2client
pkgname=('python2-oauth2client' 'python-oauth2client')
pkgver=1.4.11
pkgrel=3
pkgver=1.4.12
pkgrel=1
pkgdesc="A client library for OAuth 2.0"
arch=('any')
url="https://github.com/google/oauth2client"
......@@ -14,14 +14,11 @@ makedepends=('python2-setuptools' 'python-setuptools' 'python-httplib2'
'python-six' 'python2-httplib2' 'python2-pyasn1'
'python2-pyasn1-modules' 'python2-rsa' 'python2-six')
source=("https://pypi.python.org/packages/source/o/oauth2client/oauth2client-${pkgver}.tar.gz")
md5sums=('ace6b6e4c9cd17fd611d9984d6746c7b')
md5sums=('829a05a559b43215d67947aaff9c11b5')
prepare() {
cd "$srcdir"
# Fix FS#45547
sed -e "s|'pyasn1_modules==0.0.5'|'pyasn1_modules>=0.0.5'|" -i oauth2client-${pkgver}/setup.py
cp -a oauth2client-${pkgver} oauth2client-py2-${pkgver}
cd oauth2client-py2-${pkgver}
......@@ -42,7 +39,7 @@ build() {
}
package_python2-oauth2client() {
depends=('python2-httplib2' 'python2-pyasn1=0.1.7' 'python2-pyasn1-modules>=0.0.5' 'python2-rsa=3.1.4' 'python2-six')
depends=('python2-httplib2' 'python2-pyasn1' 'python2-pyasn1-modules' 'python2-rsa' 'python2-six')
optdepends=('python2-gflags: for oauth2client.tools.run function')
cd "$srcdir"/oauth2client-py2-${pkgver}
......@@ -51,7 +48,7 @@ package_python2-oauth2client() {
}
package_python-oauth2client() {
depends=('python-httplib2' 'python-pyasn1=0.1.7' 'python-pyasn1-modules>=0.0.5' 'python-rsa=3.1.4' 'python-six')
depends=('python-httplib2' 'python-pyasn1' 'python-pyasn1-modules' 'python-rsa' 'python-six')
cd "$srcdir"/oauth2client-${pkgver}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment