[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/19: gnu: Add python2-celery.
From: |
Christopher Allan Webber |
Subject: |
16/19: gnu: Add python2-celery. |
Date: |
Mon, 15 Feb 2016 22:12:44 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 373ea7a4962b660366e414c81782f49e48b7b6ff
Author: Christopher Allan Webber <address@hidden>
Date: Sun Feb 14 15:57:24 2016 -0800
gnu: Add python2-celery.
* gnu/packages/python.scm (python-celery, python2-celery): New variables.
---
gnu/packages/python.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 168d4ce..b36edfa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8004,3 +8004,42 @@ Python 2.4 and 2.5, and will draw its fixes/improvements
from python-trunk.")
("python2-unittest2" ,python2-unittest2)
("python2-mock" ,python2-mock)
,@(package-native-inputs billiard))))))
+
+(define-public python-celery
+ (package
+ (name "python-celery")
+ (version "3.1.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "celery" version))
+ (sha256
+ (base32
+ "1md6ywg1s0946qyp8ndnsd677wm0yax933h2sb4m3a4j7lf1jbyh"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (inputs
+ `(("python-pytz" ,python-pytz)
+ ("python-billiard" ,python-billiard)
+ ("python-kombu" ,python-kombu)))
+ (home-page "http://celeryproject.org")
+ (synopsis "Distributed Task Queue")
+ (description "Celery is an asynchronous task queue/job queue based on
+distributed message passing. It is focused on real-time operation, but supports
+scheduling as well. The execution units, called tasks, are executed
+concurrently on a single or more worker servers using multiprocessing,
+Eventlet, or gevent. Tasks can execute asynchronously (in the background) or
+synchronously (wait until ready).")
+ (license bsd-3)
+ (properties `((python2-variant . ,(delay python2-celery))))))
+
+(define-public python2-celery
+ (let ((celery (package-with-python2
+ (strip-python2-variant python-celery))))
+ (package
+ (inherit celery)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-unittest2" ,python2-unittest2)
+ ("python2-mock" ,python2-mock)
+ ,@(package-native-inputs celery))))))
- 06/19: gnu: Add python-beautifulsoup4, (continued)
- 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, 2016/02/15
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python2-celery.,
Christopher Allan Webber <=
- 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