diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-27 09:36:14 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-27 10:04:04 +0100 |
commit | 2c1d645b9505fed87d022714d1f1831d6a2ae47f (patch) | |
tree | cb49ccfe0082123edf22cdb568499e377e6e6350 /dev-python/celery | |
parent | dev-python/kombu: Version Bump (diff) | |
download | gentoo-2c1d645b9505fed87d022714d1f1831d6a2ae47f.tar.gz gentoo-2c1d645b9505fed87d022714d1f1831d6a2ae47f.tar.bz2 gentoo-2c1d645b9505fed87d022714d1f1831d6a2ae47f.zip |
dev-python/celery: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/celery')
-rw-r--r-- | dev-python/celery/Manifest | 1 | ||||
-rw-r--r-- | dev-python/celery/celery-3.1.19.ebuild | 109 | ||||
-rw-r--r-- | dev-python/celery/files/celery-3.1.19-test.patch | 16 |
3 files changed, 126 insertions, 0 deletions
diff --git a/dev-python/celery/Manifest b/dev-python/celery/Manifest index bf6365d1456b..d144acdb5d5d 100644 --- a/dev-python/celery/Manifest +++ b/dev-python/celery/Manifest @@ -1,2 +1,3 @@ DIST celery-3.1.17.tar.gz 1297008 SHA256 cfe2b653268bd586e2d08a75e886f7be3be55ba372f72e2f5747aeb76c470362 SHA512 f45f92161c134f528719768ad863df6b49fa69e022b47ea801e590de8579c24c6a5ec9dd88f712e180ed7d23f4510cecf4f17a959c3338d4bad79f8d7d202453 WHIRLPOOL c0f4ddab40eab2afe579c88bc9e47d46a650a73212abb7cb1d343d7ba72c1d96913c1c04a6e9920789bd6f9bf6907c09e6326aa08e6ba3cf68545e44432b95de DIST celery-3.1.18.tar.gz 1298756 SHA256 0924f94070c6fc57d408b169848c5b38832668fffe060e48b4803fb23e0e3eaf SHA512 219291a64c72a0c95a2b184903e491d5b6b1396b4b519d54503bb059af305c2f118865b71510d5685b8f5946135596c9d80d6ca10162a938ed90baaf4c3c48c3 WHIRLPOOL 0d27eda95fea5b6235afd7d5f90de249eec6d7c58a7563afb0cc73d29b84cb6903eced4b9515fe574206111fc4a304c5f24d3c476b4315416b441f324f2ebfa5 +DIST celery-3.1.19.tar.gz 1302241 SHA256 bd6a21290c822ecf78947a7dbc8b2270d88a5fa08a7a2bfcd908bb3d5ed66b71 SHA512 47aef118fb4178a4874608a8e9370d6f81d5594aba6d25e679a78bd530b57f0566a27db4fdb50786a237b1747dfc2b662462f107230d0653da28ac1d4b64b703 WHIRLPOOL 37076e3d414cdd74e4b2d2145189a11380da58f77fe1acd44d190f8de1744b909512d895c00ec2c0252c23d9300b7b011f06b388a45526d9573fa00bc71986d7 diff --git a/dev-python/celery/celery-3.1.19.ebuild b/dev-python/celery/celery-3.1.19.ebuild new file mode 100644 index 000000000000..e746f2b1cb88 --- /dev/null +++ b/dev-python/celery/celery-3.1.19.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 bash-completion-r1 + +DESCRIPTION="Open source asynchronous task queue/job queue based on distributed message passing" +HOMEPAGE="http://celeryproject.org/ https://pypi.python.org/pypi/celery" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# There are a number of other optional 'extras' which overlap with those of kombu, however +# there has been no apparent expression of interest or demand by users for them. See requires.txt +IUSE="doc examples redis sqs test yaml zeromq" + +RDEPEND=" + <dev-python/kombu-3.1[${PYTHON_USEDEP}] + >=dev-python/kombu-3.0.29[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/billiard-3.3.0.21[${PYTHON_USEDEP}] + <dev-python/billiard-3.4[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] +" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/gevent[$(python_gen_usedep python2_7)] + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + dev-python/nose-cover3[${PYTHON_USEDEP}] + >=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/redis-py[${PYTHON_USEDEP}] + >=dev-db/redis-2.8.0 + >=dev-python/boto-2.13.3[${PYTHON_USEDEP}] + >=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + ) + doc? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/celery-docs.patch + "${FILESDIR}"/${P}-test.patch +) + +# testsuite needs it own source +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + if use doc; then + mkdir docs/.build || die + emake -C docs html + fi +} + +python_test() { + nosetests --verbose || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + # Main celeryd init.d and conf.d + newinitd "${FILESDIR}/celery.initd-r2" celery + newconfd "${FILESDIR}/celery.confd-r2" celery + + use examples && local EXAMPLES=( examples/. ) + + use doc && local HTML_DOCS=( docs/.build/html/. ) + + newbashcomp extra/bash-completion/celery.bash ${PN} + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "zookeper support" dev-python/kazoo + optfeature "msgpack support" dev-python/msgpack + #optfeature "rabbitmq support" dev-python/librabbitmq + #optfeature "slmq support" dev-python/softlayer_messaging + optfeature "eventlet support" dev-python/eventlet + #optfeature "couchbase support" dev-python/couchbase + optfeature "redis support" dev-db/redis dev-python/redis-py + optfeature "couchdb support" dev-db/couchdb dev-python/couchdb-python + optfeature "gevent support" dev-python/gevent + optfeature "auth support" dev-python/pyopenssl + optfeature "pyro support" dev-python/pyro:4 + optfeature "yaml support" dev-python/pyyaml + optfeature "beanstalk support" dev-python/beanstalkc + optfeature "memcache support" dev-python/pylibmc + #optfeature "threads support" dev-python/threadpool + optfeature "mongodb support" dev-python/pymongo + optfeature "zeromq support" dev-python/pyzmq + optfeature "sqlalchemy support" dev-python/sqlalchemy + optfeature "sqs support" dev-python/boto + #optfeature "cassandra support" dev-python/pycassa +} diff --git a/dev-python/celery/files/celery-3.1.19-test.patch b/dev-python/celery/files/celery-3.1.19-test.patch new file mode 100644 index 000000000000..25b41456a0ce --- /dev/null +++ b/dev-python/celery/files/celery-3.1.19-test.patch @@ -0,0 +1,16 @@ +https://github.com/celery/celery/commit/fb48b1f357f7a416d1413d0056158a74191185af.diff +diff --git a/celery/tests/backends/test_mongodb.py b/celery/tests/backends/test_mongodb.py +index f7546d3..a32d9ed 100644 +--- a/celery/tests/backends/test_mongodb.py ++++ b/celery/tests/backends/test_mongodb.py +@@ -253,8 +253,8 @@ def test_restore_group(self, mock_get_database): + mock_collection.find_one.assert_called_once_with( + {'_id': sentinel.taskset_id}) + self.assertItemsEqual( +- ['date_done', 'result', 'task_id'], +- list(ret_val.keys()), ++ list(sorted(['date_done', 'result', 'task_id'])), ++ list(sorted(ret_val.keys())), + ) + + @patch('celery.backends.mongodb.MongoBackend._get_database') |