diff --git a/srcpkgs/python-google-auth-httplib2/template b/srcpkgs/python-google-auth-httplib2/template new file mode 100644 index 00000000000..35e3b0ae63d --- /dev/null +++ b/srcpkgs/python-google-auth-httplib2/template @@ -0,0 +1,26 @@ +# Template file for 'python-google-auth-httplib2' +pkgname=python-google-auth-httplib2 +version=0.0.3 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="google_auth_httplib2" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-google-auth python-httplib2 python-six" +short_desc="Google authentication library for Python2" +maintainer="Peter Bui " +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" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-google-auth-httplib2 b/srcpkgs/python3-google-auth-httplib2 new file mode 120000 index 00000000000..e093655eb79 --- /dev/null +++ b/srcpkgs/python3-google-auth-httplib2 @@ -0,0 +1 @@ +python-google-auth-httplib2 \ No newline at end of file