diff --git a/srcpkgs/python-google-auth-httplib2/template b/srcpkgs/python-google-auth-httplib2/python-google-auth-httplib2/template similarity index 100% rename from srcpkgs/python-google-auth-httplib2/template rename to srcpkgs/python-google-auth-httplib2/python-google-auth-httplib2/template diff --git a/srcpkgs/python3-google-auth-httplib2 b/srcpkgs/python3-google-auth-httplib2 deleted file mode 120000 index e093655eb79..00000000000 --- a/srcpkgs/python3-google-auth-httplib2 +++ /dev/null @@ -1 +0,0 @@ -python-google-auth-httplib2 \ No newline at end of file diff --git a/srcpkgs/python3-google-auth-httplib2/python-google-auth-httplib2/template b/srcpkgs/python3-google-auth-httplib2/python-google-auth-httplib2/template new file mode 100644 index 00000000000..9a7fd093ce5 --- /dev/null +++ b/srcpkgs/python3-google-auth-httplib2/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=2 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="google_auth_httplib2.py" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-google-auth python-httplib2" +short_desc="Google Authentication Library: httplib2 transport (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 + +python3-google-auth-httplib2_package() { + archs=noarch + depends="python3-google-auth python3-httplib2" + pycompile_module="google_auth_httplib2.py" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-google-auth-httplib2/template b/srcpkgs/python3-google-auth-httplib2/template new file mode 100644 index 00000000000..f5d4844a0c5 --- /dev/null +++ b/srcpkgs/python3-google-auth-httplib2/template @@ -0,0 +1,24 @@ +# Template file for 'python3-google-auth-httplib2' +pkgname=python3-google-auth-httplib2 +version=0.0.3 +revision=3 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools" +depends="python3-google-auth python3-httplib2" +short_desc="Google Authentication Library: httplib2 transport (Python3)" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python3-httplib2" +distfiles="${PYPI_SITE}/g/google-auth-httplib2/google-auth-httplib2-${version}.tar.gz" +checksum=098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445 + +python3-google-auth-httplib2_package() { + archs=noarch + depends="python3-google-auth python3-httplib2" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +}