python-google-auth-httplib2: fix pycompile_module and short_desc

This commit is contained in:
Alessio Sergi 2018-08-07 00:51:07 +02:00
parent f4430c18f6
commit ffe0f9ec65

View file

@ -1,24 +1,24 @@
# Template file for 'python-google-auth-httplib2'
pkgname=python-google-auth-httplib2
version=0.0.3
revision=1
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="google_auth_httplib2"
pycompile_module="google_auth_httplib2.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-google-auth python-httplib2 python-six"
short_desc="Google authentication library for Python2"
depends="python-google-auth python-httplib2"
short_desc="Google Authentication Library: httplib2 transport (Python2)"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0"
homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
distfiles="${PYPI_SITE}/g/google-auth-httplib2/google-auth-httplib2-${version}.tar.gz"
checksum=098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445
noarch=yes
python3-google-auth-httplib2_package() {
noarch=yes
depends="python3-google-auth python3-httplib2 python3-six"
pycompile_module="google_auth_httplib2"
depends="python3-google-auth python3-httplib2"
pycompile_module="google_auth_httplib2.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*