[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/18] gnu: Add python-amqplib.
From: |
ng0 |
Subject: |
[PATCH 16/18] gnu: Add python-amqplib. |
Date: |
Sun, 2 Oct 2016 11:00:53 +0000 |
* gnu/packages/python.scm (python-amqplib): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1bdce65..ef14ca4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8463,6 +8463,33 @@ alternative when librabbitmq is not available.")
(native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs amqp))))))
+(define-public python-amqplib
+ (package
+ (name "python-amqplib")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "amqplib" version ".tgz"))
+ (sha256
+ (base32
+ "0nvy45bb9ws1kmpczpqkkpgzqrzc0h2323zmzchzs2m6h6v6jgc4"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/barryp/py-amqplib")
+ (synopsis "AMQP Client Library")
+ (description "Python client for the Advanced Message Queuing Procotol
(AMQP)")
+ (license license:gpl2+)))
+
+(define-public python2-amqplib
+ (let ((amqplib (package-with-python2
+ (strip-python2-variant python-amqplib))))
+ (package
+ (inherit amqplib)
+ (arguments
+ `(#:tests? #f)) ;; For python2 there are no tests
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools))))))
+
(define-public python-kombu
(package
(name "python-kombu")
--
2.10.0
- [PATCH 01/18] gnu: Add python-geventhttpclient., (continued)
- [PATCH 01/18] gnu: Add python-geventhttpclient., ng0, 2016/10/02
- [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 <=
- [PATCH 10/18] gnu: Add python-urlobject., ng0, 2016/10/02
- [PATCH 17/18] gnu: Add python2-kombu-1., ng0, 2016/10/02
- [PATCH 14/18] gnu: Add python2-babel-1.3., ng0, 2016/10/02
- [PATCH 12/18] gnu: Add python-docutils-0.11., ng0, 2016/10/02
- [PATCH 07/18] gnu: Add python-repoze.lru., ng0, 2016/10/02