From a569b934c2196be74aaf81ea36bf264cdbdb2f29 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Fri, 20 Dec 2019 13:10:55 -0500 Subject: [PATCH] python3-google-auth: update to 1.11.2. Upstream is dropping Python2 support. --- .../{ => python-google-auth}/template | 0 srcpkgs/python3-google-auth | 1 - .../python-google-auth/template | 26 +++++++++++++++++++ srcpkgs/python3-google-auth/template | 15 +++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) rename srcpkgs/python-google-auth/{ => python-google-auth}/template (100%) delete mode 120000 srcpkgs/python3-google-auth create mode 100644 srcpkgs/python3-google-auth/python-google-auth/template create mode 100644 srcpkgs/python3-google-auth/template diff --git a/srcpkgs/python-google-auth/template b/srcpkgs/python-google-auth/python-google-auth/template similarity index 100% rename from srcpkgs/python-google-auth/template rename to srcpkgs/python-google-auth/python-google-auth/template diff --git a/srcpkgs/python3-google-auth b/srcpkgs/python3-google-auth deleted file mode 120000 index 7a4b47596eb..00000000000 --- a/srcpkgs/python3-google-auth +++ /dev/null @@ -1 +0,0 @@ -python-google-auth \ No newline at end of file diff --git a/srcpkgs/python3-google-auth/python-google-auth/template b/srcpkgs/python3-google-auth/python-google-auth/template new file mode 100644 index 00000000000..938aa95669f --- /dev/null +++ b/srcpkgs/python3-google-auth/python-google-auth/template @@ -0,0 +1,26 @@ +# Template file for 'python-google-auth' +pkgname=python-google-auth +version=1.7.0 +revision=1 +archs=noarch +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 (Python2)" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python" +distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz" +checksum=8b67e34a07055b9785948ff9d3e044f93be9019f4f69711b04450087ae150817 + +python3-google-auth_package() { + archs=noarch + 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/template b/srcpkgs/python3-google-auth/template new file mode 100644 index 00000000000..78e85356271 --- /dev/null +++ b/srcpkgs/python3-google-auth/template @@ -0,0 +1,15 @@ +# Template file for 'python3-google-auth' +pkgname=python3-google-auth +version=1.11.2 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools" +depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools" +short_desc="Google Authentication Library (Python3)" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python" +distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz" +checksum=1ee22e22f35d6e00f068d7b3999b2ce24ecb5d0dcbd485aa6896d2b83c8907d6