[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/17: gnu: Add python-wsgi-intercept.
From: |
Leo Famulari |
Subject: |
09/17: gnu: Add python-wsgi-intercept. |
Date: |
Fri, 15 Jan 2016 22:16:26 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit 28cecbb7ccbb87593d5f81b4ab0a7d32477b10f4
Author: Leo Famulari <address@hidden>
Date: Tue Dec 29 06:09:39 2015 -0500
gnu: Add python-wsgi-intercept.
* gnu/packages/python.scm (python-wsgi-intercept): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d45db21..9bc8b8d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6880,3 +6880,30 @@ the last py.test invocation.")
framework which enables you to test server connections locally.")
(home-page "https://pypi.python.org/pypi/pytest-localserver")
(license license:expat)))
+
+(define-public python-wsgi-intercept
+ (package
+ (name "python-wsgi-intercept")
+ (version "0.10.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "wsgi_intercept" version))
+ (sha256
+ (base32
+ "0xyfchacywb1mql84270mcidsqc5ssyspd18yacjk82x2xc68h0r"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-httplib2" ,python-httplib2)
+ ("python-requests" ,python-requests)))
+ (synopsis "Puts a WSGI application in place of a real URI for testing")
+ (description "Wsgi_intercept installs a WSGI application in place of a real
+URI for testing. Testing a WSGI application normally involves starting a
+server at a local host and port, then pointing your test code to that address.
+Instead, this library lets you intercept calls to any specific host/port
+combination and redirect them into a WSGI application importable by your test
+program. Thus, you can avoid spawning multiple processes or threads to test
+your Web app.")
+ (home-page "https://github.com/cdent/wsgi-intercept")
+ (license license:expat)))
- branch master updated (f5ca44b -> 78e6c4a), Leo Famulari, 2016/01/15
- 02/17: gnu: Add python-requests-toolbelt., Leo Famulari, 2016/01/15
- 01/17: gnu: Add python-atomicwrites., Leo Famulari, 2016/01/15
- 06/17: gnu: Add python-execnet., Leo Famulari, 2016/01/15
- 07/17: gnu: Add python-pytest-cache., Leo Famulari, 2016/01/15
- 03/17: gnu: Add python-click-threading., Leo Famulari, 2016/01/15
- 05/17: gnu: Add python-apipkg., Leo Famulari, 2016/01/15
- 04/17: gnu: Add python-click-log., Leo Famulari, 2016/01/15
- 08/17: gnu: Add python-pytest-localserver., Leo Famulari, 2016/01/15
- 10/17: gnu: Add python-pytest-xprocess., Leo Famulari, 2016/01/15
- 09/17: gnu: Add python-wsgi-intercept.,
Leo Famulari <=
- 13/17: gnu: Add python-icalendar., Leo Famulari, 2016/01/15
- 11/17: gnu: Add radicale., Leo Famulari, 2016/01/15
- 14/17: gnu: Add python-sphinxcontrib-newsfeed., Leo Famulari, 2016/01/15
- 12/17: gnu: Add vdirsyncer., Leo Famulari, 2016/01/15
- 16/17: gnu: python-urwid: Disable failing test test_remove_watch_file., Leo Famulari, 2016/01/15
- 15/17: gnu: Update python-tzlocal to 1.2., Leo Famulari, 2016/01/15
- 17/17: gnu: Add khal., Leo Famulari, 2016/01/15