From ce001b68069ca4b9c1472c39d441777ff15cb2ad Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Fri, 20 Dec 2019 13:25:55 -0500 Subject: [PATCH] python3-google-api-python-client: drop Python2 support. --- .../python-google-api-python-client/template | 28 ------------------- srcpkgs/python3-google-api-python-client | 1 - .../python3-google-api-python-client/template | 16 +++++++++++ 3 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/python-google-api-python-client/template delete mode 120000 srcpkgs/python3-google-api-python-client create mode 100644 srcpkgs/python3-google-api-python-client/template diff --git a/srcpkgs/python-google-api-python-client/template b/srcpkgs/python-google-api-python-client/template deleted file mode 100644 index 69c2d4e96eb..00000000000 --- a/srcpkgs/python-google-api-python-client/template +++ /dev/null @@ -1,28 +0,0 @@ -# Template file for 'python-google-api-python-client' -pkgname=python-google-api-python-client -version=1.7.11 -revision=2 -archs=noarch -wrksrc="${pkgname#*-}-${version}" -build_style=python-module -pycompile_module="apiclient googleapiclient" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-httplib2 python-google-auth python-google-auth-httplib2 - python-uritemplate python-six" -short_desc="Google API client library for Python2" -maintainer="Peter Bui " -license="Apache-2.0" -homepage="https://github.com/google/google-api-python-client/" -distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz" -checksum=a8a88174f66d92aed7ebbd73744c2c319b4b1ce828e565f9ec721352d2e2fb8c - -python3-google-api-python-client_package() { - archs=noarch - depends="python3-httplib2 python3-google-auth - python3-google-auth-httplib2 python3-uritemplate python3-six" - pycompile_module="apiclient googleapiclient" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-google-api-python-client b/srcpkgs/python3-google-api-python-client deleted file mode 120000 index 53e8037ccc5..00000000000 --- a/srcpkgs/python3-google-api-python-client +++ /dev/null @@ -1 +0,0 @@ -python-google-api-python-client \ No newline at end of file diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template new file mode 100644 index 00000000000..7881d49bab6 --- /dev/null +++ b/srcpkgs/python3-google-api-python-client/template @@ -0,0 +1,16 @@ +# Template file for 'python3-google-api-python-client' +pkgname=python3-google-api-python-client +version=1.7.11 +revision=2 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools" +depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2 + python3-uritemplate python3-six" +short_desc="Google API client library for Python3" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/googleapis/google-api-python-client" +distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz" +checksum=a8a88174f66d92aed7ebbd73744c2c319b4b1ce828e565f9ec721352d2e2fb8c