From 89ad88452a71c5d611fc1f5ca3ef4737dcca6cea Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Sun, 10 Jan 2016 17:28:26 -0500 Subject: [PATCH] New package: python-oauth2client-1.5.2 --- srcpkgs/python-oauth2client/template | 29 ++++++++++++++++++++++++++++ srcpkgs/python3.4-oauth2client | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-oauth2client/template create mode 120000 srcpkgs/python3.4-oauth2client diff --git a/srcpkgs/python-oauth2client/template b/srcpkgs/python-oauth2client/template new file mode 100644 index 00000000000..d4963ceceb7 --- /dev/null +++ b/srcpkgs/python-oauth2client/template @@ -0,0 +1,29 @@ +# Template file for 'python-oauth2client' +pkgname=python-oauth2client +version=1.5.2 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="oauth2client" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-httplib2 python-pyasn1 python-pyasn1-modules python-rsa python-six" +short_desc="Python2 OAuth 2.0 client library" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/google/oauth2client/" +distfiles="${PYPI_SITE}/o/oauth2client/oauth2client-${version}.tar.gz" +checksum=937dc5b1c9c7e9d41daf78b38a3f70e1be83bb31871afed2470a98544edfcf62 + +python3.4-oauth2client_package() { + noarch=yes + depends="python3.4-httplib2 python3.4-pyasn1 python3.4-pyasn1-modules + python3.4-rsa python3.4-six" + pycompile_version="3.4" + pycompile_module="oauth2client" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-oauth2client b/srcpkgs/python3.4-oauth2client new file mode 120000 index 00000000000..7a8acac8397 --- /dev/null +++ b/srcpkgs/python3.4-oauth2client @@ -0,0 +1 @@ +python-oauth2client \ No newline at end of file