~ruther/guix-local

fa5e3062e18faa094e20172661781f2fc2e6aab0 — Nicolas Graves 7 months ago a065c38
gnu: python-grequests: Update to 0.7.0-0.60f70e9.

* gnu/packages/python-web.scm (python-grequests): Update to 0.7.0-0.60f70e9.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Set test-related arguments.
[description]: Improve style.

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

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +30 -20
@@ 6320,26 6320,36 @@ library.")
    (license license:asl2.0)))

(define-public python-grequests
  (package
    (name "python-grequests")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "grequests" version))
       (sha256
        (base32
         "1j9icncllbkv7x5719b20mx670c6q1jrdx1sakskkarvx3pc8h8g"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-gevent python-requests))
    (native-inputs
     (list python-nose python-zope-interface python-zope-event))
    (home-page "https://github.com/kennethreitz/grequests")
    (synopsis "Python library for asynchronous HTTP requests")
    (description "GRequests is a Python library that allows you to use
@code{Requests} with @code{Gevent} to make asynchronous HTTP Requests easily")
    (license license:bsd-2)))
  (let ((commit "60f70e99e942a2df378b4e4f6202dcf862754c2d")
        (revision "0"))
    (package
      (name "python-grequests")
      (version (git-version "0.7.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/kennethreitz/grequests")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "0132yv1rr4pmrmwasrnasqbnd80pi6rgy52608731p7lidkmxz9a"))))
      (build-system pyproject-build-system)
      (arguments
       (list
        ;; XXX: Most failing tests seem to be caused by network access,
        ;; but there is no easy/flag way to disable tests selectively.
        #:tests? #f
        #:test-backend #~'unittest
        #:test-flags #~(list "tests.py")))
      (propagated-inputs (list python-gevent python-requests))
      (native-inputs (list python-setuptools))
      (home-page "https://github.com/kennethreitz/grequests")
      (synopsis "Python library for asynchronous HTTP requests")
      (description
       "GRequests is a Python library that allows you to use @code{Requests}
with @code{Gevent} to make asynchronous HTTP Requests easily.")
      (license license:bsd-2))))

(define-public python-gwebsockets
  (package