Files
macports-ports/python/py-celery/Portfile
2025-10-22 22:57:02 -04:00

49 lines
1.6 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup select 1.0
name py-celery
version 5.2.3
revision 0
categories-append devel
license BSD
supported_archs noarch
platforms {darwin any}
python.versions 310 311 312 313
maintainers {stromnov @stromnov} openmaintainer
description Distributed Task Queue
long_description Celery is an asynchronous task queue/job queue based \
on distributed message passing
homepage https://docs.celeryq.dev
checksums rmd160 56215e5192dd7b2e085c31285cc76d42e287cdd1 \
sha256 e2cd41667ad97d4f6a2f4672d1c6a6ebada194c619253058b5f23704aaadaa82 \
size 1472455
if {${name} ne ${subport}} {
# 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.group celery
select.file ${filespath}/py${python.version}-celery
notes "
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}]
"
}