1 |
commit: 6baba224f4e357d69b021309d730d29089be4f6d |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 15 02:00:28 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 15 02:00:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6baba224 |
7 |
|
8 |
dev-python/celery: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
dev-python/celery/Manifest | 1 - |
13 |
dev-python/celery/celery-4.0.2.ebuild | 112 --------------------- |
14 |
dev-python/celery/files/celery-3.1.19-test.patch | 16 --- |
15 |
.../files/celery-4.0.2-log-endless-loop.patch | 22 ---- |
16 |
dev-python/celery/files/celery-docs.patch | 19 ---- |
17 |
5 files changed, 170 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/celery/Manifest b/dev-python/celery/Manifest |
20 |
index 6d8d8736632..788948c4524 100644 |
21 |
--- a/dev-python/celery/Manifest |
22 |
+++ b/dev-python/celery/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST celery-4.0.2.tar.gz 1337804 BLAKE2B b040ada555d02c2c943ac86211b06d03e738db586fc811fed5cf6c6c1a4d6945c909e04444170da4d00dfd0f874b0723bff1f18d01ab8d557f989edaadfe03c9 SHA512 1110b634cafa13f9d9ab0b0a7a17042325271bd5ea45a5f442e36e871db87b87e3f496d54b771d274a1676900d9dfdc7e21887943dfd1a299a9fcd8b3f6d2189 |
25 |
DIST celery-4.1.0.tar.gz 1331689 BLAKE2B ac134d26a21bfd1172ea7a2ccc5f9934b4fdf56dccb6f840726040adf5b81ab0c675c0c93754340c0429c4eb5777a344be74415a795a9dd6654578979609cecd SHA512 5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64 |
26 |
|
27 |
diff --git a/dev-python/celery/celery-4.0.2.ebuild b/dev-python/celery/celery-4.0.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 762d6dc8a34..00000000000 |
30 |
--- a/dev-python/celery/celery-4.0.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,112 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
39 |
- |
40 |
-inherit distutils-r1 bash-completion-r1 |
41 |
- |
42 |
-DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" |
43 |
-HOMEPAGE="http://celeryproject.org/ https://pypi.org/project/celery/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~x86" |
49 |
-# There are a number of other optional 'extras' which overlap with those of kombu, however |
50 |
-# there has been no apparent expression of interest or demand by users for them. See requires.txt |
51 |
-IUSE="doc examples redis sqs test yaml" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- <dev-python/kombu-5.0[${PYTHON_USEDEP}] |
55 |
- >=dev-python/kombu-4.0.2[${PYTHON_USEDEP}] |
56 |
- >=dev-python/billiard-3.5.0.2[${PYTHON_USEDEP}] |
57 |
- <dev-python/billiard-3.6.0[${PYTHON_USEDEP}] |
58 |
- dev-python/pytz[${PYTHON_USEDEP}] |
59 |
- dev-python/greenlet[${PYTHON_USEDEP}] |
60 |
- dev-python/vine[${PYTHON_USEDEP}] |
61 |
-" |
62 |
- |
63 |
-DEPEND=" |
64 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
- test? ( ${RDEPEND} |
66 |
- >=dev-python/case-1.3.1[${PYTHON_USEDEP}] |
67 |
- dev-python/eventlet[${PYTHON_USEDEP}] |
68 |
- dev-python/gevent[$(python_gen_usedep python2_7)] |
69 |
- >=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}] |
70 |
- dev-python/pyopenssl[${PYTHON_USEDEP}] |
71 |
- >=dev-python/pytest-3.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
73 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
74 |
- dev-python/redis-py[${PYTHON_USEDEP}] |
75 |
- >=dev-db/redis-2.8.0 |
76 |
- >=dev-python/boto-2.13.3[${PYTHON_USEDEP}] |
77 |
- >=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}] |
78 |
- >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
79 |
- >=dev-python/unittest2-0.5.1[${PYTHON_USEDEP}] |
80 |
- ) |
81 |
- doc? ( |
82 |
- dev-python/docutils[${PYTHON_USEDEP}] |
83 |
- >=dev-python/sphinx_celery-1.3[${PYTHON_USEDEP}] |
84 |
- dev-python/jinja[${PYTHON_USEDEP}] |
85 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
86 |
- $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python2_7 python3_4) |
87 |
- )" |
88 |
- |
89 |
-# testsuite needs it own source |
90 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
91 |
- |
92 |
-PATCHES=( |
93 |
- "${FILESDIR}"/${P}-log-endless-loop.patch |
94 |
- ) |
95 |
- |
96 |
-python_compile_all() { |
97 |
- if use doc; then |
98 |
- mkdir docs/.build || die |
99 |
- emake -C docs html |
100 |
- fi |
101 |
-} |
102 |
- |
103 |
-python_test() { |
104 |
- esetup.py test |
105 |
-} |
106 |
- |
107 |
-python_install_all() { |
108 |
- # Main celeryd init.d and conf.d |
109 |
- newinitd "${FILESDIR}/celery.initd-r2" celery |
110 |
- newconfd "${FILESDIR}/celery.confd-r2" celery |
111 |
- |
112 |
- if use examples; then |
113 |
- docompress -x "/usr/share/doc/${PF}/examples" |
114 |
- docinto examples |
115 |
- dodoc -r examples/. |
116 |
- fi |
117 |
- |
118 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
119 |
- |
120 |
- newbashcomp extra/bash-completion/celery.bash ${PN} |
121 |
- |
122 |
- distutils-r1_python_install_all |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- optfeature "zookeeper support" dev-python/kazoo |
127 |
- optfeature "msgpack support" dev-python/msgpack |
128 |
- #optfeature "rabbitmq support" dev-python/librabbitmq |
129 |
- #optfeature "slmq support" dev-python/softlayer_messaging |
130 |
- optfeature "eventlet support" dev-python/eventlet |
131 |
- #optfeature "couchbase support" dev-python/couchbase |
132 |
- optfeature "redis support" dev-db/redis dev-python/redis-py |
133 |
- optfeature "couchdb support" dev-db/couchdb dev-python/couchdb-python |
134 |
- optfeature "gevent support" dev-python/gevent |
135 |
- optfeature "auth support" dev-python/pyopenssl |
136 |
- optfeature "pyro support" dev-python/pyro:4 |
137 |
- optfeature "yaml support" dev-python/pyyaml |
138 |
- optfeature "memcache support" dev-python/pylibmc |
139 |
- #optfeature "threads support" dev-python/threadpool |
140 |
- optfeature "mongodb support" dev-python/pymongo |
141 |
- optfeature "sqlalchemy support" dev-python/sqlalchemy |
142 |
- optfeature "sqs support" dev-python/boto |
143 |
- #optfeature "cassandra support" dev-python/pycassa |
144 |
-} |
145 |
|
146 |
diff --git a/dev-python/celery/files/celery-3.1.19-test.patch b/dev-python/celery/files/celery-3.1.19-test.patch |
147 |
deleted file mode 100644 |
148 |
index 25b41456a0c..00000000000 |
149 |
--- a/dev-python/celery/files/celery-3.1.19-test.patch |
150 |
+++ /dev/null |
151 |
@@ -1,16 +0,0 @@ |
152 |
-https://github.com/celery/celery/commit/fb48b1f357f7a416d1413d0056158a74191185af.diff |
153 |
-diff --git a/celery/tests/backends/test_mongodb.py b/celery/tests/backends/test_mongodb.py |
154 |
-index f7546d3..a32d9ed 100644 |
155 |
---- a/celery/tests/backends/test_mongodb.py |
156 |
-+++ b/celery/tests/backends/test_mongodb.py |
157 |
-@@ -253,8 +253,8 @@ def test_restore_group(self, mock_get_database): |
158 |
- mock_collection.find_one.assert_called_once_with( |
159 |
- {'_id': sentinel.taskset_id}) |
160 |
- self.assertItemsEqual( |
161 |
-- ['date_done', 'result', 'task_id'], |
162 |
-- list(ret_val.keys()), |
163 |
-+ list(sorted(['date_done', 'result', 'task_id'])), |
164 |
-+ list(sorted(ret_val.keys())), |
165 |
- ) |
166 |
- |
167 |
- @patch('celery.backends.mongodb.MongoBackend._get_database') |
168 |
|
169 |
diff --git a/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch b/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch |
170 |
deleted file mode 100644 |
171 |
index bf9396e45a3..00000000000 |
172 |
--- a/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch |
173 |
+++ /dev/null |
174 |
@@ -1,22 +0,0 @@ |
175 |
-From 9c950b47eca2b4e93fd2fe52cf80f158e6cf97ad Mon Sep 17 00:00:00 2001 |
176 |
-From: George Psarakis <giwrgos.psarakis@×××××.com> |
177 |
-Date: Mon, 23 Jan 2017 11:49:38 +0200 |
178 |
-Subject: [PATCH] AWS DynamoDB result backend (#3736) |
179 |
- |
180 |
-* Fix endless loop in logger_isa (Python 3.6) |
181 |
- |
182 |
-https://github.com/celery/celery/pull/3736#issuecomment-274155454 |
183 |
- |
184 |
-diff --git a/celery/utils/log.py b/celery/utils/log.py |
185 |
-index 2fb15e6..00df476 100644 |
186 |
---- a/celery/utils/log.py |
187 |
-+++ b/celery/utils/log.py |
188 |
-@@ -82,7 +82,7 @@ def logger_isa(l, p, max=1000): |
189 |
- else: |
190 |
- if this in seen: |
191 |
- raise RuntimeError( |
192 |
-- 'Logger {0!r} parents recursive'.format(l), |
193 |
-+ 'Logger {0!r} parents recursive'.format(l.name), |
194 |
- ) |
195 |
- seen.add(this) |
196 |
- this = this.parent |
197 |
|
198 |
diff --git a/dev-python/celery/files/celery-docs.patch b/dev-python/celery/files/celery-docs.patch |
199 |
deleted file mode 100644 |
200 |
index 5e09718feb2..00000000000 |
201 |
--- a/dev-python/celery/files/celery-docs.patch |
202 |
+++ /dev/null |
203 |
@@ -1,19 +0,0 @@ |
204 |
-# Prevent un-needed objects.inv files |
205 |
-diff -ur celery-3.0.19.orig/docs/conf.py celery-3.0.19/docs/conf.py |
206 |
---- docs/conf.py 2013-04-15 22:51:46.000000000 +0800 |
207 |
-+++ docs/conf.py 2013-04-27 21:46:25.070423582 +0800 |
208 |
-@@ -74,14 +74,6 @@ |
209 |
- # If true, '()' will be appended to :func: etc. cross-reference text. |
210 |
- add_function_parentheses = True |
211 |
- |
212 |
--intersphinx_mapping = { |
213 |
-- 'python': ('http://docs.python.org/dev', None), |
214 |
-- 'kombu': ('http://kombu.readthedocs.org/en/latest/', None), |
215 |
-- 'djcelery': ('http://django-celery.readthedocs.org/en/latest', None), |
216 |
-- 'cyme': ('http://cyme.readthedocs.org/en/latest', None), |
217 |
-- 'amqp': ('http://amqp.readthedocs.org/en/latest', None), |
218 |
--} |
219 |
-- |
220 |
- # The name of the Pygments (syntax highlighting) style to use. |
221 |
- pygments_style = 'colorful' |
222 |
- |