[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/18] gnu: Add python-geventhttpclient.
From: |
ng0 |
Subject: |
[PATCH 01/18] gnu: Add python-geventhttpclient. |
Date: |
Sun, 2 Oct 2016 11:00:38 +0000 |
From: ng0 <address@hidden>
* gnu/packages/python.scm (python-geventhttpclient): New variable.
---
gnu/packages/python.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2e1ec2..d18aa79 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9174,6 +9174,45 @@ 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)))
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
(define-public python-twisted
(package
(name "python-twisted")
--
2.10.0
- Add most of the Kallithea (SCM) dependencies, ng0, 2016/10/02
- [PATCH 02/18] gnu: Add python-fastimport., ng0, 2016/10/02
- [PATCH 01/18] gnu: Add python-geventhttpclient.,
ng0 <=
- [PATCH 08/18] gnu: Add python-routes., ng0, 2016/10/02
- [PATCH 06/18] gnu: Add python-dulwich-0.9.9., ng0, 2016/10/02
- [PATCH 05/18] gnu: Add python2-mysql-python., ng0, 2016/10/02
- [PATCH 04/18] gnu: Add address@hidden, ng0, 2016/10/02
- [PATCH 03/18] gnu: Add python-dulwich., ng0, 2016/10/02
- [PATCH 09/18] gnu: Add python-routes-1.13., ng0, 2016/10/02
- [PATCH 13/18] gnu: Add python-markdown-2.2.1., ng0, 2016/10/02
- [PATCH 11/18] gnu: Add python-urlobject-2.3.4., ng0, 2016/10/02
- [PATCH 15/18] gnu: Add python-pyparsing-1.5.0., ng0, 2016/10/02
- [PATCH 16/18] gnu: Add python-amqplib., ng0, 2016/10/02