# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
python.versions 27 34 35 36 37
maintainers {stromnov @stromnov} openmaintainer
description Distributed Task Queue
long_description Celery is an asynchronous task queue/job queue based \
on distributed message passing
homepage http://celeryproject.org/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 36d9697dbc2c312ed0ae65b43e121db1c4980afd \
sha256 77dab4677e24dc654d42dfbdfed65fa760455b6bb563a0877ecc35f4cfcfc678 \
if {${name} ne ${subport}} {
# upstream patch that can be deleted after the next version update
patchfiles-append patch-async.diff
move ${worksrcpath}/celery/backends/async.py ${worksrcpath}/celery/backends/asynchronous.py
# celery depends on pkg_resources from setuptools
depends_lib-append port:py${python.version}-setuptools \
port:py${python.version}-kombu \
port:py${python.version}-tz \
port:py${python.version}-billiard
depends_run-append port:celery_select
select.file ${filespath}/py${python.version}-celery
To make the Python ${python.branch} version of py-celery the one that is run\
when you execute the commands without a version suffix, e.g. 'celery', run:
port select --set ${select.group} [file tail ${select.file}]