unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 8/18] gnu: Add python-wsgiproxy2.
@ 2016-02-15 23:28 Christopher Allan Webber
  2016-02-20  2:32 ` Christopher Allan Webber
  2016-02-20  2:32 ` Christopher Allan Webber
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Allan Webber @ 2016-02-15 23:28 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0008-gnu-Add-python-wsgiproxy2.patch --]
[-- Type: text/x-patch, Size: 2127 bytes --]

From fdedc5819c7a4615128cd2d6558cd00fa2340eb4 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 20:22:47 -0800
Subject: [PATCH 08/18] gnu: Add python-wsgiproxy2.

* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2):
  New variables.
---
 gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

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))))))
-- 
2.6.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 8/18] gnu: Add python-wsgiproxy2.
  2016-02-15 23:28 [PATCH 8/18] gnu: Add python-wsgiproxy2 Christopher Allan Webber
@ 2016-02-20  2:32 ` Christopher Allan Webber
  2016-02-20  2:32 ` Christopher Allan Webber
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:32 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

Updated.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0007-gnu-Add-python-wsgiproxy2.patch --]
[-- Type: text/x-diff, Size: 2146 bytes --]

From a218a15f547e65f1f2e8856d3198989eeb5a2014 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 20:22:47 -0800
Subject: [PATCH 07/18] gnu: Add python-wsgiproxy2.

* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2):
  New variables.
---
 gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9b3c11f..9baaa0a 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)))
     (native-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)))
+    (propagated-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))))))
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 8/18] gnu: Add python-wsgiproxy2.
  2016-02-15 23:28 [PATCH 8/18] gnu: Add python-wsgiproxy2 Christopher Allan Webber
  2016-02-20  2:32 ` Christopher Allan Webber
@ 2016-02-20  2:32 ` Christopher Allan Webber
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:32 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

Updated.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0007-gnu-Add-python-wsgiproxy2.patch --]
[-- Type: text/x-diff, Size: 2146 bytes --]

From a218a15f547e65f1f2e8856d3198989eeb5a2014 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 20:22:47 -0800
Subject: [PATCH 07/18] gnu: Add python-wsgiproxy2.

* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2):
  New variables.
---
 gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9b3c11f..9baaa0a 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)))
     (native-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)))
+    (propagated-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))))))
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-20  2:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 23:28 [PATCH 8/18] gnu: Add python-wsgiproxy2 Christopher Allan Webber
2016-02-20  2:32 ` Christopher Allan Webber
2016-02-20  2:32 ` Christopher Allan Webber

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).