Archived
1
0
Fork 0

gnu: python-wsgiproxy2: Update to 0.4.4.

* gnu/packages/python-web.scm (python-wsgiproxy2): Update to 0.4.4.
[arguments]: Remove. Restkit is not longer supported.
[native-inputs]: Remove unzip, python-nose, and python-coverage.
Add python-webtest.
[propagated-inputs]: Add python-requests and python-urllib3.
This commit is contained in:
Tobias Geerinckx-Rice 2018-08-13 00:28:26 +02:00
parent 57d5d3dade
commit e38a80120e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1350,29 +1350,23 @@ Amazon Web Services (AWS) API.")
(define-public python-wsgiproxy2 (define-public python-wsgiproxy2
(package (package
(name "python-wsgiproxy2") (name "python-wsgiproxy2")
(version "0.4.2") (version "0.4.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "WSGIProxy2" version ".zip")) (uri (pypi-uri "WSGIProxy2" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4")))) "16532rjc94h3w74x52jfckf3yzsp8h6z34522jk4xgjy82hpnd7r"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(;; Wsgiproxy2's test suite requires Restkit, which does not yet fully
;; support Python 3:
;; https://github.com/benoitc/restkit/issues/140
#:tests? #f))
(native-inputs (native-inputs
`(("unzip" ,unzip) `(("python-webtest" ,python-webtest)))
("python-nose" ,python-nose)
("python-coverage" ,python-coverage)))
(propagated-inputs (propagated-inputs
`(("python-six" ,python-six) `(("python-requests" ,python-requests)
("python-six" ,python-six)
("python-urllib3" ,python-urllib3)
("python-webob" ,python-webob))) ("python-webob" ,python-webob)))
(home-page (home-page "https://github.com/gawel/WSGIProxy2/")
"https://github.com/gawel/WSGIProxy2/")
(synopsis "WSGI Proxy with various http client backends") (synopsis "WSGI Proxy with various http client backends")
(description "WSGI turns HTTP requests into WSGI function calls. (description "WSGI turns HTTP requests into WSGI function calls.
WSGIProxy turns WSGI function calls into HTTP requests. WSGIProxy turns WSGI function calls into HTTP requests.