[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/19: gnu: Add python-kombu.
From: |
Christopher Allan Webber |
Subject: |
14/19: gnu: Add python-kombu. |
Date: |
Mon, 15 Feb 2016 22:11:56 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 5ad4a2d7727e75da7595a80ad378d2e11270788c
Author: Christopher Allan Webber <address@hidden>
Date: Sun Feb 14 15:38:10 2016 -0800
gnu: Add python-kombu.
* gnu/packages/python.scm (python-kombu, python2-kombu): New variables.
---
gnu/packages/python.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 13a78b2..94b456e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7931,3 +7931,41 @@ alternative when librabbitmq is not available.")
,@(package-arguments amqp)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs amqp))))))
+
+(define-public python-kombu
+ (package
+ (name "python-kombu")
+ (version "3.0.33")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "kombu" version))
+ (sha256
+ (base32
+ "16brjx2lgwbj2a37d0pjbfb84nvld6irghmqrs3qfncajp51hgc5"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)))
+ (inputs
+ `(("python-anyjson" ,python-anyjson)
+ ("python-amqp" ,python-amqp)))
+ (home-page "http://kombu.readthedocs.org")
+ (synopsis "Message passing library for Python")
+ (description "The aim of Kombu is to make messaging in Python as easy as
+possible by providing an idiomatic high-level interface for the AMQ protocol,
+and also provide proven and tested solutions to common messaging problems.
+AMQP is the Advanced Message Queuing Protocol, an open standard protocol for
+message orientation, queuing, routing, reliability and security, for which the
+RabbitMQ messaging server is the most popular implementation.")
+ (license bsd-3)
+ (properties `((python2-variant . ,(delay python2-kombu))))))
+
+(define-public python2-kombu
+ (let ((kombu (package-with-python2
+ (strip-python2-variant python-kombu))))
+ (package
+ (inherit kombu)
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-unittest2" ,python2-unittest2)
+ ,@(package-inputs kombu))))))
- 04/19: gnu: Add python2-execnet., (continued)
- 04/19: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/15
- 05/19: gnu: Add python-pytest-xdist., Christopher Allan Webber, 2016/02/15
- 06/19: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/15
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy, Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery, Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15
- 13/19: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/15
- 14/19: gnu: Add python-kombu.,
Christopher Allan Webber <=
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python2-celery., Christopher Allan Webber, 2016/02/15
- 17/19: gnu: Add python-translitcodec., Christopher Allan Webber, 2016/02/15
- 18/19: gnu: Add python-editor., Christopher Allan Webber, 2016/02/15
- 19/19: gnu: Add mediagoblin., Christopher Allan Webber, 2016/02/15