From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFf-0003od-IW for guix-patches@gnu.org; Wed, 23 May 2018 04:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPFb-00061a-Bx for guix-patches@gnu.org; Wed, 23 May 2018 04:36:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPFb-00061V-7o for guix-patches@gnu.org; Wed, 23 May 2018 04:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLPFb-0005yY-1i for guix-patches@gnu.org; Wed, 23 May 2018 04:36:03 -0400 Subject: [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFB-0003bH-Dt for guix-patches@gnu.org; Wed, 23 May 2018 04:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPF6-0005n7-FV for guix-patches@gnu.org; Wed, 23 May 2018 04:35:37 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:35720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPF6-0005mn-A8 for guix-patches@gnu.org; Wed, 23 May 2018 04:35:32 -0400 Received: by mail-wr0-x22f.google.com with SMTP id i14-v6so24883696wre.2 for ; Wed, 23 May 2018 01:35:32 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 23 May 2018 10:35:19 +0200 Message-Id: <1527064522-20775-2-git-send-email-m.othacehe@gmail.com> In-Reply-To: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> References: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31563@debbugs.gnu.org * gnu/packages/python-web.scm (python-google-api-client): New variable, (python2-google-api-client): new variable. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index dc1f9a1..4868baa 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2624,3 +2624,30 @@ name resolutions asynchronously.") (description "@code{yarl} module provides handy @code{URL} class for URL parsing and changing.") (license license:asl2.0))) + +(define-public python-google-api-client + (package + (name "python-google-api-client") + (version "1.6.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "google-api-python-client" version)) + (sha256 + (base32 + "1wpbbbxfpy9mwxdy3kn352cb590ladv574j1aa2l4grjdqw3ln05")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; tests require internet access + (native-inputs + `(("python-httplib2" ,python-httplib2) + ("python-six" ,python-six) + ("python-oauth2client" ,python-oauth2client) + ("python-uritemplate" ,python-uritemplate))) + (home-page "https://github.com/google/google-api-python-client") + (synopsis "Core Python library for accessing Google APIs") + (description "Python client library for Google's discovery based APIs") + (license license:asl2.0))) + +(define-public python2-google-api-client + (package-with-python2 python-google-api-client)) -- 2.7.4