New package: python-oauth2client-1.5.2

This commit is contained in:
Peter Bui 2016-01-10 17:28:26 -05:00 committed by Alessio Sergi
parent e764aef5f7
commit 89ad88452a
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Template file for 'python-oauth2client'
pkgname=python-oauth2client
version=1.5.2
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="oauth2client"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-httplib2 python-pyasn1 python-pyasn1-modules python-rsa python-six"
short_desc="Python2 OAuth 2.0 client library"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/oauth2client/"
distfiles="${PYPI_SITE}/o/oauth2client/oauth2client-${version}.tar.gz"
checksum=937dc5b1c9c7e9d41daf78b38a3f70e1be83bb31871afed2470a98544edfcf62
python3.4-oauth2client_package() {
noarch=yes
depends="python3.4-httplib2 python3.4-pyasn1 python3.4-pyasn1-modules
python3.4-rsa python3.4-six"
pycompile_version="3.4"
pycompile_module="oauth2client"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

View File

@ -0,0 +1 @@
python-oauth2client