From e38a80120eccec75700950d1753cf716b678a0ac Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 13 Aug 2018 00:28:26 +0200 Subject: [PATCH] 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. --- gnu/packages/python-web.scm | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7e891fa13a..11ce6d8759 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1350,29 +1350,23 @@ Amazon Web Services (AWS) API.") (define-public python-wsgiproxy2 (package (name "python-wsgiproxy2") - (version "0.4.2") + (version "0.4.4") (source (origin (method url-fetch) - (uri (pypi-uri "WSGIProxy2" version ".zip")) + (uri (pypi-uri "WSGIProxy2" version ".tar.gz")) (sha256 (base32 - "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4")))) + "16532rjc94h3w74x52jfckf3yzsp8h6z34522jk4xgjy82hpnd7r")))) (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 - `(("unzip" ,unzip) - ("python-nose" ,python-nose) - ("python-coverage" ,python-coverage))) + `(("python-webtest" ,python-webtest))) (propagated-inputs - `(("python-six" ,python-six) + `(("python-requests" ,python-requests) + ("python-six" ,python-six) + ("python-urllib3" ,python-urllib3) ("python-webob" ,python-webob))) - (home-page - "https://github.com/gawel/WSGIProxy2/") + (home-page "https://github.com/gawel/WSGIProxy2/") (synopsis "WSGI Proxy with various http client backends") (description "WSGI turns HTTP requests into WSGI function calls. WSGIProxy turns WSGI function calls into HTTP requests.