diff --git a/srcpkgs/python-google-auth/template b/srcpkgs/python-google-auth/template new file mode 100644 index 0000000000..dd6a57885e --- /dev/null +++ b/srcpkgs/python-google-auth/template @@ -0,0 +1,26 @@ +# Template file for 'python-google-auth' +pkgname=python-google-auth +version=1.5.0 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="google" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-pyasn1-modules python-rsa python-six python-cachetools" +short_desc="Google authentication library for Python2" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://google-auth.readthedocs.io/en/latest/" +distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz" +checksum=1745c9066f698eac3da99cef082914495fb71bc09597ba7626efbbb64c4acc57 +noarch=yes + +python3-google-auth_package() { + noarch=yes + depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools" + pycompile_module="google" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-google-auth b/srcpkgs/python3-google-auth new file mode 120000 index 0000000000..7a4b47596e --- /dev/null +++ b/srcpkgs/python3-google-auth @@ -0,0 +1 @@ +python-google-auth \ No newline at end of file