[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/19: gnu: Add python-wsgiproxy2.
From: |
Christopher Allan Webber |
Subject: |
08/19: gnu: Add python-wsgiproxy2. |
Date: |
Mon, 15 Feb 2016 23:44:44 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit fdedc5819c7a4615128cd2d6558cd00fa2340eb4
Author: Christopher Allan Webber <address@hidden>
Date: Sat Feb 13 20:22:47 2016 -0800
gnu: Add python-wsgiproxy2.
* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2):
New variables.
---
gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9c86e43..e1d20f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7709,3 +7709,40 @@ server with very acceptable performance.")
(inherit (package-with-python2
(strip-python2-variant python-waitress)))
(inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-wsgiproxy2
+ (package
+ (name "python-wsgiproxy2")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "WSGIProxy2" version ".zip"))
+ (sha256
+ (base32
+ "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("unzip" ,unzip)
+ ("python-nose" ,python-nose)
+ ("python-coverage" ,python-coverage)))
+ (inputs
+ `(("python-six" ,python-six)
+ ("python-webob" ,python-webob)))
+ (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.
+It also includes code to sign requests and pass private data,
+and to spawn subprocesses to handle requests.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-wsgiproxy2))))))
+
+(define-public python2-wsgiproxy2
+ (let ((wsgiproxy2 (package-with-python2
+ (strip-python2-variant python-wsgiproxy2))))
+ (package
+ (inherit wsgiproxy2)
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-inputs wsgiproxy2))))))
- branch wip-mediagoblin created (now bd90e38), Christopher Allan Webber, 2016/02/15
- 01/19: gnu: Add python-mako., Christopher Allan Webber, 2016/02/15
- 02/19: gnu: Add python-alembic., Christopher Allan Webber, 2016/02/15
- 03/19: gnu: Add python2-apipkg., Christopher Allan Webber, 2016/02/15
- 04/19: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/15
- 05/19: gnu: Add python-pytest-xdist., Christopher Allan Webber, 2016/02/15
- 06/19: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/15
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2.,
Christopher Allan Webber <=
- 09/19: gnu: Add python-pastedeploy., Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery., Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15
- 13/19: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/15
- 14/19: gnu: Add python-kombu., Christopher Allan Webber, 2016/02/15
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python-celery., Christopher Allan Webber, 2016/02/15
- 17/19: gnu: Add python-translitcodec., Christopher Allan Webber, 2016/02/15
- 18/19: gnu: Add python-editor., Christopher Allan Webber, 2016/02/15