void-packages/srcpkgs/python-oauth2client/template
2019-12-23 18:05:18 +01:00

27 lines
912 B
Bash

# Template file for 'python-oauth2client'
pkgname=python-oauth2client
version=4.1.3
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="oauth2client"
hostmakedepends="python-setuptools python3-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=d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6
python3-oauth2client_package() {
archs=noarch
depends="python3-httplib2 python3-pyasn1 python3-pyasn1-modules
python3-rsa python3-six"
pycompile_module="oauth2client"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}