pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-celery Changes 4.0.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/871102cbdb11
branches:  trunk
changeset: 360897:871102cbdb11
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 09 17:37:18 2017 +0000

description:
Changes 4.0.2:
* Requirements: Now depends on Kombu 4.0.2.
* Tasks: Fixed problem with JSON serialization of group
* Worker: Fixed JSON serialization issue when using inspect active and friends
* App: Fixed saferef errors when using signals
* Prefork: Fixed bug with pack requiring bytes argument on Python 2.7.5 and earlier
* Tasks: Saferepr did not handle unicode in bytestrings on Python 2
* Testing: Added new celery_worker_paremeters fixture.
* Tasks: Added new app argument to GroupResult.restore
  This makes the restore method behave the same way as the GroupResult constructor.
* Tasks: Fixed type checking crash when task takes *args on Python 3
* Documentation and examples improvements

diffstat:

 net/py-celery/Makefile |   17 +-
 net/py-celery/PLIST    |  555 +++++++++++++-----------------------------------
 net/py-celery/distinfo |   10 +-
 3 files changed, 159 insertions(+), 423 deletions(-)

diffs (truncated from 794 to 300 lines):

diff -r 8b8730899004 -r 871102cbdb11 net/py-celery/Makefile
--- a/net/py-celery/Makefile    Sun Apr 09 17:14:41 2017 +0000
+++ b/net/py-celery/Makefile    Sun Apr 09 17:37:18 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2017/01/03 13:23:03 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2017/04/09 17:37:18 adam Exp $
 
-DISTNAME=      celery-3.1.16
+DISTNAME=      celery-4.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/celery/}
@@ -8,11 +8,10 @@
 MAINTAINER=    rodent%NetBSD.org@localhost
 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
+LICENSE=       modified-bsd
 
-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}-billiard>=3.5.0.2:../../parallel/py-billiard
+DEPENDS+=      ${PYPKGPREFIX}-kombu>=4.0.2:../../net/py-kombu
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 
 USE_LANGUAGES= c
@@ -20,12 +19,6 @@
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/celery \
                ${DESTDIR}${PREFIX}/bin/celery${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/bin/celerybeat \
-               ${DESTDIR}${PREFIX}/bin/celerybeat${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/bin/celeryd \
-               ${DESTDIR}${PREFIX}/bin/celeryd${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/bin/celeryd-multi \
-               ${DESTDIR}${PREFIX}/bin/celeryd-multi${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8b8730899004 -r 871102cbdb11 net/py-celery/PLIST
--- a/net/py-celery/PLIST       Sun Apr 09 17:14:41 2017 +0000
+++ b/net/py-celery/PLIST       Sun Apr 09 17:37:18 2017 +0000
@@ -1,8 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2014/04/19 17:57:31 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/04/09 17:37:18 adam Exp $
 bin/celery${PYVERSSUFFIX}
-bin/celerybeat${PYVERSSUFFIX}
-bin/celeryd${PYVERSSUFFIX}
-bin/celeryd-multi${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -28,6 +25,9 @@
 ${PYSITELIB}/celery/app/annotations.py
 ${PYSITELIB}/celery/app/annotations.pyc
 ${PYSITELIB}/celery/app/annotations.pyo
+${PYSITELIB}/celery/app/backends.py
+${PYSITELIB}/celery/app/backends.pyc
+${PYSITELIB}/celery/app/backends.pyo
 ${PYSITELIB}/celery/app/base.py
 ${PYSITELIB}/celery/app/base.pyc
 ${PYSITELIB}/celery/app/base.pyo
@@ -40,6 +40,9 @@
 ${PYSITELIB}/celery/app/defaults.py
 ${PYSITELIB}/celery/app/defaults.pyc
 ${PYSITELIB}/celery/app/defaults.pyo
+${PYSITELIB}/celery/app/events.py
+${PYSITELIB}/celery/app/events.pyc
+${PYSITELIB}/celery/app/events.pyo
 ${PYSITELIB}/celery/app/log.py
 ${PYSITELIB}/celery/app/log.pyc
 ${PYSITELIB}/celery/app/log.pyo
@@ -64,6 +67,9 @@
 ${PYSITELIB}/celery/apps/beat.py
 ${PYSITELIB}/celery/apps/beat.pyc
 ${PYSITELIB}/celery/apps/beat.pyo
+${PYSITELIB}/celery/apps/multi.py
+${PYSITELIB}/celery/apps/multi.pyc
+${PYSITELIB}/celery/apps/multi.pyo
 ${PYSITELIB}/celery/apps/worker.py
 ${PYSITELIB}/celery/apps/worker.pyc
 ${PYSITELIB}/celery/apps/worker.pyo
@@ -73,6 +79,9 @@
 ${PYSITELIB}/celery/backends/amqp.py
 ${PYSITELIB}/celery/backends/amqp.pyc
 ${PYSITELIB}/celery/backends/amqp.pyo
+${PYSITELIB}/celery/backends/async.py
+${PYSITELIB}/celery/backends/async.pyc
+${PYSITELIB}/celery/backends/async.pyo
 ${PYSITELIB}/celery/backends/base.py
 ${PYSITELIB}/celery/backends/base.pyc
 ${PYSITELIB}/celery/backends/base.pyo
@@ -82,9 +91,15 @@
 ${PYSITELIB}/celery/backends/cassandra.py
 ${PYSITELIB}/celery/backends/cassandra.pyc
 ${PYSITELIB}/celery/backends/cassandra.pyo
+${PYSITELIB}/celery/backends/consul.py
+${PYSITELIB}/celery/backends/consul.pyc
+${PYSITELIB}/celery/backends/consul.pyo
 ${PYSITELIB}/celery/backends/couchbase.py
 ${PYSITELIB}/celery/backends/couchbase.pyc
 ${PYSITELIB}/celery/backends/couchbase.pyo
+${PYSITELIB}/celery/backends/couchdb.py
+${PYSITELIB}/celery/backends/couchdb.pyc
+${PYSITELIB}/celery/backends/couchdb.pyo
 ${PYSITELIB}/celery/backends/database/__init__.py
 ${PYSITELIB}/celery/backends/database/__init__.pyc
 ${PYSITELIB}/celery/backends/database/__init__.pyo
@@ -94,12 +109,21 @@
 ${PYSITELIB}/celery/backends/database/session.py
 ${PYSITELIB}/celery/backends/database/session.pyc
 ${PYSITELIB}/celery/backends/database/session.pyo
+${PYSITELIB}/celery/backends/elasticsearch.py
+${PYSITELIB}/celery/backends/elasticsearch.pyc
+${PYSITELIB}/celery/backends/elasticsearch.pyo
+${PYSITELIB}/celery/backends/filesystem.py
+${PYSITELIB}/celery/backends/filesystem.pyc
+${PYSITELIB}/celery/backends/filesystem.pyo
 ${PYSITELIB}/celery/backends/mongodb.py
 ${PYSITELIB}/celery/backends/mongodb.pyc
 ${PYSITELIB}/celery/backends/mongodb.pyo
 ${PYSITELIB}/celery/backends/redis.py
 ${PYSITELIB}/celery/backends/redis.pyc
 ${PYSITELIB}/celery/backends/redis.pyo
+${PYSITELIB}/celery/backends/riak.py
+${PYSITELIB}/celery/backends/riak.pyc
+${PYSITELIB}/celery/backends/riak.pyo
 ${PYSITELIB}/celery/backends/rpc.py
 ${PYSITELIB}/celery/backends/rpc.pyc
 ${PYSITELIB}/celery/backends/rpc.pyo
@@ -118,21 +142,48 @@
 ${PYSITELIB}/celery/bin/beat.py
 ${PYSITELIB}/celery/bin/beat.pyc
 ${PYSITELIB}/celery/bin/beat.pyo
+${PYSITELIB}/celery/bin/call.py
+${PYSITELIB}/celery/bin/call.pyc
+${PYSITELIB}/celery/bin/call.pyo
 ${PYSITELIB}/celery/bin/celery.py
 ${PYSITELIB}/celery/bin/celery.pyc
 ${PYSITELIB}/celery/bin/celery.pyo
 ${PYSITELIB}/celery/bin/celeryd_detach.py
 ${PYSITELIB}/celery/bin/celeryd_detach.pyc
 ${PYSITELIB}/celery/bin/celeryd_detach.pyo
+${PYSITELIB}/celery/bin/control.py
+${PYSITELIB}/celery/bin/control.pyc
+${PYSITELIB}/celery/bin/control.pyo
 ${PYSITELIB}/celery/bin/events.py
 ${PYSITELIB}/celery/bin/events.pyc
 ${PYSITELIB}/celery/bin/events.pyo
 ${PYSITELIB}/celery/bin/graph.py
 ${PYSITELIB}/celery/bin/graph.pyc
 ${PYSITELIB}/celery/bin/graph.pyo
+${PYSITELIB}/celery/bin/list.py
+${PYSITELIB}/celery/bin/list.pyc
+${PYSITELIB}/celery/bin/list.pyo
+${PYSITELIB}/celery/bin/logtool.py
+${PYSITELIB}/celery/bin/logtool.pyc
+${PYSITELIB}/celery/bin/logtool.pyo
+${PYSITELIB}/celery/bin/migrate.py
+${PYSITELIB}/celery/bin/migrate.pyc
+${PYSITELIB}/celery/bin/migrate.pyo
 ${PYSITELIB}/celery/bin/multi.py
 ${PYSITELIB}/celery/bin/multi.pyc
 ${PYSITELIB}/celery/bin/multi.pyo
+${PYSITELIB}/celery/bin/purge.py
+${PYSITELIB}/celery/bin/purge.pyc
+${PYSITELIB}/celery/bin/purge.pyo
+${PYSITELIB}/celery/bin/result.py
+${PYSITELIB}/celery/bin/result.pyc
+${PYSITELIB}/celery/bin/result.pyo
+${PYSITELIB}/celery/bin/shell.py
+${PYSITELIB}/celery/bin/shell.pyc
+${PYSITELIB}/celery/bin/shell.pyo
+${PYSITELIB}/celery/bin/upgrade.py
+${PYSITELIB}/celery/bin/upgrade.pyc
+${PYSITELIB}/celery/bin/upgrade.pyo
 ${PYSITELIB}/celery/bin/worker.py
 ${PYSITELIB}/celery/bin/worker.pyc
 ${PYSITELIB}/celery/bin/worker.pyo
@@ -163,42 +214,60 @@
 ${PYSITELIB}/celery/concurrency/solo.py
 ${PYSITELIB}/celery/concurrency/solo.pyc
 ${PYSITELIB}/celery/concurrency/solo.pyo
-${PYSITELIB}/celery/concurrency/threads.py
-${PYSITELIB}/celery/concurrency/threads.pyc
-${PYSITELIB}/celery/concurrency/threads.pyo
 ${PYSITELIB}/celery/contrib/__init__.py
 ${PYSITELIB}/celery/contrib/__init__.pyc
 ${PYSITELIB}/celery/contrib/__init__.pyo
 ${PYSITELIB}/celery/contrib/abortable.py
 ${PYSITELIB}/celery/contrib/abortable.pyc
 ${PYSITELIB}/celery/contrib/abortable.pyo
-${PYSITELIB}/celery/contrib/batches.py
-${PYSITELIB}/celery/contrib/batches.pyc
-${PYSITELIB}/celery/contrib/batches.pyo
-${PYSITELIB}/celery/contrib/methods.py
-${PYSITELIB}/celery/contrib/methods.pyc
-${PYSITELIB}/celery/contrib/methods.pyo
 ${PYSITELIB}/celery/contrib/migrate.py
 ${PYSITELIB}/celery/contrib/migrate.pyc
 ${PYSITELIB}/celery/contrib/migrate.pyo
+${PYSITELIB}/celery/contrib/pytest.py
+${PYSITELIB}/celery/contrib/pytest.pyc
+${PYSITELIB}/celery/contrib/pytest.pyo
 ${PYSITELIB}/celery/contrib/rdb.py
 ${PYSITELIB}/celery/contrib/rdb.pyc
 ${PYSITELIB}/celery/contrib/rdb.pyo
 ${PYSITELIB}/celery/contrib/sphinx.py
 ${PYSITELIB}/celery/contrib/sphinx.pyc
 ${PYSITELIB}/celery/contrib/sphinx.pyo
-${PYSITELIB}/celery/datastructures.py
-${PYSITELIB}/celery/datastructures.pyc
-${PYSITELIB}/celery/datastructures.pyo
+${PYSITELIB}/celery/contrib/testing/__init__.py
+${PYSITELIB}/celery/contrib/testing/__init__.pyc
+${PYSITELIB}/celery/contrib/testing/__init__.pyo
+${PYSITELIB}/celery/contrib/testing/app.py
+${PYSITELIB}/celery/contrib/testing/app.pyc
+${PYSITELIB}/celery/contrib/testing/app.pyo
+${PYSITELIB}/celery/contrib/testing/manager.py
+${PYSITELIB}/celery/contrib/testing/manager.pyc
+${PYSITELIB}/celery/contrib/testing/manager.pyo
+${PYSITELIB}/celery/contrib/testing/mocks.py
+${PYSITELIB}/celery/contrib/testing/mocks.pyc
+${PYSITELIB}/celery/contrib/testing/mocks.pyo
+${PYSITELIB}/celery/contrib/testing/tasks.py
+${PYSITELIB}/celery/contrib/testing/tasks.pyc
+${PYSITELIB}/celery/contrib/testing/tasks.pyo
+${PYSITELIB}/celery/contrib/testing/worker.py
+${PYSITELIB}/celery/contrib/testing/worker.pyc
+${PYSITELIB}/celery/contrib/testing/worker.pyo
 ${PYSITELIB}/celery/events/__init__.py
 ${PYSITELIB}/celery/events/__init__.pyc
 ${PYSITELIB}/celery/events/__init__.pyo
 ${PYSITELIB}/celery/events/cursesmon.py
 ${PYSITELIB}/celery/events/cursesmon.pyc
 ${PYSITELIB}/celery/events/cursesmon.pyo
+${PYSITELIB}/celery/events/dispatcher.py
+${PYSITELIB}/celery/events/dispatcher.pyc
+${PYSITELIB}/celery/events/dispatcher.pyo
 ${PYSITELIB}/celery/events/dumper.py
 ${PYSITELIB}/celery/events/dumper.pyc
 ${PYSITELIB}/celery/events/dumper.pyo
+${PYSITELIB}/celery/events/event.py
+${PYSITELIB}/celery/events/event.pyc
+${PYSITELIB}/celery/events/event.pyo
+${PYSITELIB}/celery/events/receiver.py
+${PYSITELIB}/celery/events/receiver.pyc
+${PYSITELIB}/celery/events/receiver.pyo
 ${PYSITELIB}/celery/events/snapshot.py
 ${PYSITELIB}/celery/events/snapshot.pyc
 ${PYSITELIB}/celery/events/snapshot.pyo
@@ -268,399 +337,39 @@
 ${PYSITELIB}/celery/task/base.py
 ${PYSITELIB}/celery/task/base.pyc
 ${PYSITELIB}/celery/task/base.pyo
-${PYSITELIB}/celery/task/http.py
-${PYSITELIB}/celery/task/http.pyc
-${PYSITELIB}/celery/task/http.pyo
-${PYSITELIB}/celery/task/sets.py
-${PYSITELIB}/celery/task/sets.pyc
-${PYSITELIB}/celery/task/sets.pyo
-${PYSITELIB}/celery/task/trace.py
-${PYSITELIB}/celery/task/trace.pyc
-${PYSITELIB}/celery/task/trace.pyo
-${PYSITELIB}/celery/tests/__init__.py
-${PYSITELIB}/celery/tests/__init__.pyc
-${PYSITELIB}/celery/tests/__init__.pyo
-${PYSITELIB}/celery/tests/app/__init__.py
-${PYSITELIB}/celery/tests/app/__init__.pyc
-${PYSITELIB}/celery/tests/app/__init__.pyo
-${PYSITELIB}/celery/tests/app/test_amqp.py
-${PYSITELIB}/celery/tests/app/test_amqp.pyc
-${PYSITELIB}/celery/tests/app/test_amqp.pyo
-${PYSITELIB}/celery/tests/app/test_annotations.py
-${PYSITELIB}/celery/tests/app/test_annotations.pyc
-${PYSITELIB}/celery/tests/app/test_annotations.pyo
-${PYSITELIB}/celery/tests/app/test_app.py
-${PYSITELIB}/celery/tests/app/test_app.pyc
-${PYSITELIB}/celery/tests/app/test_app.pyo
-${PYSITELIB}/celery/tests/app/test_beat.py
-${PYSITELIB}/celery/tests/app/test_beat.pyc
-${PYSITELIB}/celery/tests/app/test_beat.pyo
-${PYSITELIB}/celery/tests/app/test_builtins.py
-${PYSITELIB}/celery/tests/app/test_builtins.pyc
-${PYSITELIB}/celery/tests/app/test_builtins.pyo
-${PYSITELIB}/celery/tests/app/test_celery.py
-${PYSITELIB}/celery/tests/app/test_celery.pyc
-${PYSITELIB}/celery/tests/app/test_celery.pyo
-${PYSITELIB}/celery/tests/app/test_control.py
-${PYSITELIB}/celery/tests/app/test_control.pyc
-${PYSITELIB}/celery/tests/app/test_control.pyo
-${PYSITELIB}/celery/tests/app/test_defaults.py
-${PYSITELIB}/celery/tests/app/test_defaults.pyc
-${PYSITELIB}/celery/tests/app/test_defaults.pyo
-${PYSITELIB}/celery/tests/app/test_exceptions.py
-${PYSITELIB}/celery/tests/app/test_exceptions.pyc
-${PYSITELIB}/celery/tests/app/test_exceptions.pyo
-${PYSITELIB}/celery/tests/app/test_loaders.py



Home | Main Index | Thread Index | Old Index