GNU bug report logs - #25733
kallithea dependencies

Previous Next

Package: guix-patches;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Tue, 14 Feb 2017 20:12:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25733 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25733 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> we.make.ritual.n0.is>
Subject: [PATCH 01/18] gnu: Add python-geventhttpclient.
Date: Tue, 14 Feb 2017 20:15:46 +0000
From: ng0 <ng0 <at> we.make.ritual.n0.is>

* gnu/packages/python.scm (python-geventhttpclient): New variable.
---
 gnu/packages/python.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 35ab30ecc..8b6e55d0b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10373,6 +10373,44 @@ to provide a high-level synchronous API on top of the libev event loop.")
 (define-public python2-gevent
   (package-with-python2 python-gevent))
 
+(define-public python-geventhttpclient
+  (package
+    (name "python-geventhttpclient")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "geventhttpclient" version))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; https://github.com/gwik/geventhttpclient/pull/82
+           (delete-file-recursively "src/geventhttpclient/tests/__pycache__")))
+       (sha256
+        (base32
+         "07d0q3wzmml75227r6y6mrl5a0zpf4v9gj0ni5rhbyzmaj4az1xx"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-certifi" ,python-certifi)
+       ("python-gevent" ,python-gevent)
+       ("python-six" ,python-six)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page "https://github.com/gwik/geventhttpclient")
+    (synopsis "Http client library for gevent")
+    (description
+     "High performance, concurrent HTTP client library for Python using gevent.")
+    (license (list license:expat
+                   ;; http_parser.c is based on src/http/ngx_http_parse.c
+                   ;; from NGINX copyright Igor Sysoev
+                   license:bsd-3))
+    (properties `((python2-variant . ,(delay python2-geventhttpclient))))))
+
+(define-public python2-geventhttpclient
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-geventhttpclient)))))
+
 (define-public python-twisted
   (package
     (name "python-twisted")
-- 
2.11.1





This bug report was last modified 5 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.