all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ngillmann@runbox.com>
To: guix-devel@gnu.org
Cc: ng0 <ng0@we.make.ritual.n0.is>
Subject: [PATCH 01/18] gnu: Add python-geventhttpclient.
Date: Sun,  2 Oct 2016 11:00:38 +0000	[thread overview]
Message-ID: <20161002110054.2297-2-ngillmann@runbox.com> (raw)
In-Reply-To: <20161002110054.2297-1-ngillmann@runbox.com>

From: ng0 <ng0@we.make.ritual.n0.is>

* 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

  reply	other threads:[~2016-10-02 11:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 19:56 Kallithea - looking for someone to take over ng0
2016-09-26 10:32 ` Ludovic Courtès
2016-09-27 14:06   ` ng0
2016-10-02 11:00     ` Add most of the Kallithea (SCM) dependencies ng0
2016-10-02 11:00       ` ng0 [this message]
2016-10-02 11:00       ` [PATCH 02/18] gnu: Add python-fastimport ng0
2016-10-02 11:00       ` [PATCH 03/18] gnu: Add python-dulwich ng0
2016-10-02 11:00       ` [PATCH 04/18] gnu: Add mercurial@3.7.3 ng0
2016-10-02 11:00       ` [PATCH 05/18] gnu: Add python2-mysql-python ng0
2016-10-02 11:00       ` [PATCH 06/18] gnu: Add python-dulwich-0.9.9 ng0
2016-10-02 11:00       ` [PATCH 07/18] gnu: Add python-repoze.lru ng0
2016-10-02 11:00       ` [PATCH 08/18] gnu: Add python-routes ng0
2016-10-02 11:00       ` [PATCH 09/18] gnu: Add python-routes-1.13 ng0
2016-10-02 11:00       ` [PATCH 10/18] gnu: Add python-urlobject ng0
2016-10-02 11:00       ` [PATCH 11/18] gnu: Add python-urlobject-2.3.4 ng0
2016-10-02 11:00       ` [PATCH 12/18] gnu: Add python-docutils-0.11 ng0
2016-10-02 11:00       ` [PATCH 13/18] gnu: Add python-markdown-2.2.1 ng0
2016-10-02 11:00       ` [PATCH 14/18] gnu: Add python2-babel-1.3 ng0
2016-10-02 11:00       ` [PATCH 15/18] gnu: Add python-pyparsing-1.5.0 ng0
2016-10-02 11:00       ` [PATCH 16/18] gnu: Add python-amqplib ng0
2016-10-02 11:00       ` [PATCH 17/18] gnu: Add python2-kombu-1 ng0
2016-10-02 11:04     ` Kallithea - looking for someone to take over ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161002110054.2297-2-ngillmann@runbox.com \
    --to=ngillmann@runbox.com \
    --cc=guix-devel@gnu.org \
    --cc=ng0@we.make.ritual.n0.is \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.