From de34aface7e0c83b02c3def1ec55630e29bed6b7 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 14 Sep 2015 22:16:53 +0200 Subject: [PATCH] gnu: Add python-webob. * gnu/packages/python.scm (python-webob, python2-webob): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c58d7f3fc1..408064d9be 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4853,3 +4853,30 @@ fractional seconds) of a clock which never goes backwards.") (define-public python2-monotonic (package-with-python2 python-monotonic)) + +(define-public python-webob + (package + (name "python-webob") + (version "1.5.0b0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/W/WebOb/WebOb-" + version ".tar.gz")) + (sha256 + (base32 + "140b3iczclk1j0405rvw5gxshqfkhcc8254fj520z3m23cwbql4a")))) + (build-system python-build-system) + (inputs + `(("python-nose" ,python-nose) + ("python-setuptools" ,python-setuptools))) + (home-page "http://webob.org/") + (synopsis "WSGI request and response object") + (description + "WebOb provides wrappers around the WSGI request environment, and an +object to help create WSGI responses.") + (license license:expat))) + +(define-public python2-webob + (package-with-python2 python-webob))