58 lines
1.5 KiB
Python
58 lines
1.5 KiB
Python
# 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'))
|