~ruther/guix-local

ed0b121366630757fb0dd96a88fcebcca1f92d0a — Sharlatan Hellseher 2 months ago e4e3eb5
gnu: python-sendgrid: Update to 6.9.7.

* gnu/packages/python-web.scm (python-sendgrid): Update to 6.9.7.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Add python-cryptography, python-flask,
python-pyyaml, python-six, and python-werkzeug.
[native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I7bfe8845aed9d0f44cc732fc1c825f90bae25716
1 files changed, 27 insertions(+), 13 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +27 -13
@@ 12782,20 12782,34 @@ possible, supporting most common functionality.")
  (package
    (name "python-sendgrid")
    (version "6.9.7")
    (home-page "https://github.com/sendgrid/sendgrid-python/")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url home-page)
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/sendgrid/sendgrid-python")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:tests? #f))       ;241/340 tests fail due to attempted web access
    (propagated-inputs (list python-http-client python-starkbank-ecdsa))
     (list
      #:test-flags
      #~(list "--ignore=test/integ"
              ;; Network access is required.
              "--ignore=live_test.py")))
    (native-inputs
     (list python-pytest
           python-setuptools))
    (propagated-inputs
     (list python-cryptography
           python-http-client
           python-flask
           python-pyyaml
           python-six                            ;hard dependency
           python-starkbank-ecdsa
           python-werkzeug))
    (home-page "https://github.com/sendgrid/sendgrid-python/")
    (synopsis "SendGrid API library for Python")
    (description
     "The @code{sendgrid} Python library allows access to the