summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-celery/package.py
blob: 69189209f3b6b12cd1cf42b9c7c753acf58cdd33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class PyCelery(PythonPackage):
    """Celery - Distributed Task Queue."""

    homepage = "https://pypi.org/project/celery/"
    url      = "https://pypi.io/packages/source/c/celery/celery-4.2.1.tar.gz"

    version('4.3.0', sha256='4c4532aa683f170f40bd76f928b70bc06ff171a959e06e71bf35f2f9d6031ef9')

    variant('redis', default=False, description="Use redis transport")
    # 'auth',
    # 'cassandra',
    # 'django',
    # 'elasticsearch',
    # 'memcache',
    # 'pymemcache',
    # 'couchbase',
    # 'arangodb',
    # 'eventlet',
    # 'rabbitmq'
    # 'gevent',
    # 'msgpack',
    # 'yaml',
    # 'sqs',
    # 'couchdb',
    # 'riak',
    # 'zookeeper',
    # 'solar',
    # 'sqlalchemy',
    # 'azureblockblob',
    # 'librabbitmq',
    # 'pyro',
    # 'slmq',
    # 'tblib',
    # 'consul',
    # 'dynamodb',
    # 'mongodb',
    # 'cosmosdbsql',
    # 's3',

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))

    depends_on('py-setuptools', type=('build', 'run'))

    depends_on('py-redis@3.2.0:', when='+redis', type=('build', 'run'))

    depends_on('py-pytz@2019.3:', type=('build', 'run'))
    depends_on('py-billiard@3.6.0:3.999', type=('build', 'run'))
    depends_on('py-kombu@4.4.0:4.999', type=('build', 'run'))
    depends_on('py-vine@1.3.0:', type=('build', 'run'))