diff --git a/srcpkgs/python-google-api-python-client/template b/srcpkgs/python-google-api-python-client/template new file mode 100644 index 00000000000..ea599b3c5b8 --- /dev/null +++ b/srcpkgs/python-google-api-python-client/template @@ -0,0 +1,28 @@ +# Template file for 'python-google-api-python-client' +pkgname=python-google-api-python-client +version=1.4.2 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="apiclient googleapiclient" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-httplib2 python-oauth2client 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=2cd7ccc797b0f5d1ef75ea1ebf749da47c4972daf534d22fd3c6b4dfbd9a88ee + +python3.4-google-api-python-client_package() { + noarch=yes + depends="python3.4-httplib2 python3.4-oauth2client python3.4-uritemplate python3.4-six" + pycompile_version="3.4" + pycompile_module="apiclient googleapiclient" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-google-api-python-client b/srcpkgs/python3.4-google-api-python-client new file mode 120000 index 00000000000..53e8037ccc5 --- /dev/null +++ b/srcpkgs/python3.4-google-api-python-client @@ -0,0 +1 @@ +python-google-api-python-client \ No newline at end of file