mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
a065c38de1
commit
fa5e3062e1
1 changed files with 30 additions and 20 deletions
|
@ -6320,26 +6320,36 @@ library.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-grequests
|
(define-public python-grequests
|
||||||
|
(let ((commit "60f70e99e942a2df378b4e4f6202dcf862754c2d")
|
||||||
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "python-grequests")
|
(name "python-grequests")
|
||||||
(version "0.3.0")
|
(version (git-version "0.7.0" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "grequests" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/kennethreitz/grequests")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0132yv1rr4pmrmwasrnasqbnd80pi6rgy52608731p7lidkmxz9a"))))
|
||||||
"1j9icncllbkv7x5719b20mx670c6q1jrdx1sakskkarvx3pc8h8g"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
(propagated-inputs
|
(list
|
||||||
(list python-gevent python-requests))
|
;; XXX: Most failing tests seem to be caused by network access,
|
||||||
(native-inputs
|
;; but there is no easy/flag way to disable tests selectively.
|
||||||
(list python-nose python-zope-interface python-zope-event))
|
#: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")
|
(home-page "https://github.com/kennethreitz/grequests")
|
||||||
(synopsis "Python library for asynchronous HTTP requests")
|
(synopsis "Python library for asynchronous HTTP requests")
|
||||||
(description "GRequests is a Python library that allows you to use
|
(description
|
||||||
@code{Requests} with @code{Gevent} to make asynchronous HTTP Requests easily")
|
"GRequests is a Python library that allows you to use @code{Requests}
|
||||||
(license license:bsd-2)))
|
with @code{Gevent} to make asynchronous HTTP Requests easily.")
|
||||||
|
(license license:bsd-2))))
|
||||||
|
|
||||||
(define-public python-gwebsockets
|
(define-public python-gwebsockets
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue