~ruther/guix-local

36f94ae8c1352a15f4f16a785b5ceb0b358c053f — Nicolas Graves 2 months ago 1ccde4f
gnu: python-google-api-client: Update to 2.187.0.

* gnu/packages/python-web.scm (python-google-api-client): Update to 2.187.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore a single failing test.
[native-inputs]: Add python-parameterized, python-pytest,
python-setuptools.
[propagated-inputs]: Remove python-six.

Change-Id: Icc763db0362ec109d2775ffa0e83485c888181ea
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 18 insertions(+), 8 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +18 -8
@@ 8776,24 8776,34 @@ engine.  Its module is called @code{googlesearch}.")
(define-public python-google-api-client
  (package
    (name "python-google-api-client")
    (version "2.102.0")
    (version "2.187.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "google-api-python-client" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/google/google-api-python-client")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "07b9afz3g3lk976i974h6ikvl7wzwm0a0ws0iynxvmd4favgjvwh"))))
    (build-system python-build-system)
        (base32 "09vq5d32avri0gl8c7nn5dv2xds1jzjms7vqk3gn66nm2m37x8mv"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:tests? #f))    ; tests require internet access
     (list
      #:test-flags
      #~(list "-k"
              ;; XXX: Requires CA certificates.
              "not test_credentials_and_credentials_file_mutually_exclusive"
              "tests")))
    (native-inputs
     (list python-parameterized
           python-pytest
           python-setuptools))
    (propagated-inputs
     (list python-google-api-core
           python-google-auth
           python-google-auth-httplib2
           python-httplib2
           python-pyparsing
           python-six
           python-uritemplate-3))
    (home-page "https://github.com/google/google-api-python-client")
    (synopsis "Core Python library for accessing Google APIs")