pkgsrc/net/py-celery/Makefile
rodent 83dda0a7ff 3.1.16
======

- **Worker**: 3.1.15 broke ``-Ofair`` behavior.

    This regression could result in all tasks executing
    in a single child process if ``-Ofair`` was enabled.

- **Canvas**: ``celery.signature`` now properly forwards app argument
  in all cases.
- **Task**: ``.retry()`` did not raise the exception correctly
  when called without a current exception.
- **Worker**: The ``enable_events`` remote control command
  disabled worker-related events by mistake.
- **Django**: Adds support for Django 1.7 class names in INSTALLED_APPS
  when using ``app.autodiscover_tasks()``.
- **Sphinx**: ``celery.contrib.sphinx`` now uses ``getfullargspec``
  on Python 3.

3.1.15
======

- **Django**: Now makes sure ``django.setup()`` is called
  before importing any task modules (Django 1.7 compatibility)
- **Results**: ``result.get()`` was misbehaving by calling
 ``backend.get_task_meta`` in a finally call leading to
 AMQP result backend queues not being properly cleaned up.

3.1.14
======

- **Requirements**
- **Init scripts**: The generic worker init scripts ``status`` command
  now gets an accurate pidfile list.
- **Init scripts**: The generic beat script now implements the ``status``
  command.
- **Commands**: Multi now writes informational output to stdout instead of
  stderr.
- **Worker**: Now ignores not implemented error for ``pool.restart``
- **Task**: Retry no longer raises retry exception when executed in eager mode
- **AMQP Result backend**: Now ensured ``on_interval`` is called at least
  every second for blocking calls to properly propagate parent errors.
- **Django**: Compatibility with Django 1.7 on Windows.
- **Programs**: `--umask` argument can be now specified in both octal (if
  starting
2014-11-09 20:47:58 +00:00

34 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2014/11/09 20:47:58 rodent Exp $
#
DISTNAME= celery-3.1.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= https://pypi.python.org/packages/source/c/celery/
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://www.celeryproject.org/
COMMENT= Asynchronous task/job queue based on distributed message passing
LICENSE= modified-bsd AND cc-by-nc-sa-v3.0-license
DEPENDS+= ${PYPKGPREFIX}-anyjson-[0-9]*:../../textproc/py-anyjson
DEPENDS+= ${PYPKGPREFIX}-billiard>=3.3.0.18:../../parallel/py-billiard
DEPENDS+= ${PYPKGPREFIX}-kombu>=3.0.22:../../net/py-kombu
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
USE_LANGUAGES= c
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/celery \
${DESTDIR}${PREFIX}/bin/celery${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/celerybeat \
${DESTDIR}${PREFIX}/bin/celerybeat${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/celeryd \
${DESTDIR}${PREFIX}/bin/celeryd${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/celeryd-multi \
${DESTDIR}${PREFIX}/bin/celeryd-multi${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"