1 |
commit: a80d2e6b923ddfd0416999d6e4a422afff9b0ed1 |
2 |
Author: lillypad <lillypadgirl86 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 16 20:00:34 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 30 21:57:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80d2e6b |
7 |
|
8 |
dev-python/celery: Bump to version 4.3.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/688034 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/12270 |
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
13 |
Signed-off-by: Lilly Chalupowski <lillypadgirl86 <AT> gmail.com> |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
dev-python/celery/Manifest | 1 + |
17 |
dev-python/celery/celery-4.3.0.ebuild | 125 ++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 126 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/celery/Manifest b/dev-python/celery/Manifest |
21 |
index 788948c4524..e7419d4b6d4 100644 |
22 |
--- a/dev-python/celery/Manifest |
23 |
+++ b/dev-python/celery/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST celery-4.1.0.tar.gz 1331689 BLAKE2B ac134d26a21bfd1172ea7a2ccc5f9934b4fdf56dccb6f840726040adf5b81ab0c675c0c93754340c0429c4eb5777a344be74415a795a9dd6654578979609cecd SHA512 5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64 |
26 |
+DIST celery-4.3.0.tar.gz 1434073 BLAKE2B 47d9d461a9bf3d3418a7cb37684f53cce58ef1d1bee928e74cc8b6ff8e9bfde19d99a59d7a8ef7b638efa24263d5b35f50c774fb5f81e9c693c9d3c6242015ac SHA512 6a4f99857c2b329eddb5200934b2c83bc2377b5b89ccbcfed548d8f52cff40800db7b94ea321f74e932ea4be42a546fb9b515569266435cecdbe204a0a891b2f |
27 |
|
28 |
diff --git a/dev-python/celery/celery-4.3.0.ebuild b/dev-python/celery/celery-4.3.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..3776ae77abe |
31 |
--- /dev/null |
32 |
+++ b/dev-python/celery/celery-4.3.0.ebuild |
33 |
@@ -0,0 +1,125 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
40 |
+ |
41 |
+inherit bash-completion-r1 distutils-r1 eutils |
42 |
+ |
43 |
+DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" |
44 |
+HOMEPAGE="http://celeryproject.org/ https://pypi.org/project/celery/" |
45 |
+# The pypi tarball lacks CONTRIBUTING.rst required for documentation build. |
46 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+SRC_URI="https://github.com/celery/celery/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+# There are a number of other optional 'extras' which overlap with those of kombu, however |
53 |
+# there has been no apparent expression of interest or demand by users for them. See requires.txt |
54 |
+IUSE="doc examples test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ <dev-python/kombu-5.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/kombu-4.4.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/billiard-3.6.0[${PYTHON_USEDEP}] |
61 |
+ <dev-python/billiard-4.0.0[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
63 |
+ dev-python/greenlet[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/vine-1.3.0[${PYTHON_USEDEP}] |
65 |
+" |
66 |
+ |
67 |
+DEPEND=" |
68 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
69 |
+ test? ( ${RDEPEND} |
70 |
+ >=dev-python/case-1.3.1[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/eventlet-0.24.1[${PYTHON_USEDEP}] |
72 |
+ dev-python/gevent[$(python_gen_usedep python2_7)] |
73 |
+ >=dev-python/pymongo-3.7[${PYTHON_USEDEP}] |
74 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/pytest-4.3.1[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
77 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/redis-py-3.2.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-db/redis-2.8.0 |
80 |
+ >=dev-python/boto-2.13.3[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/boto3-1.4.6[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/moto-1.3.7[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/unittest2-0.5.1[${PYTHON_USEDEP}] |
86 |
+ ) |
87 |
+ doc? ( |
88 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/sphinx_celery-2.0[$(python_gen_usedep 'python3*')] |
90 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
91 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
92 |
+ $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python2_7) |
93 |
+ )" |
94 |
+ |
95 |
+# testsuite needs it own source |
96 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
97 |
+ |
98 |
+python_prepare_all() { |
99 |
+ # Loosen requirements |
100 |
+ sed -e 's|==|>=|' \ |
101 |
+ -e 's|pytest>=4.3.1,<4.4.0|pytest>=4.3.1|' \ |
102 |
+ -i requirements/*.txt || die |
103 |
+ |
104 |
+ # Suppress KeyError: 'refdoc' |
105 |
+ sed -e 's|^[[:space:]]*return domain.resolve_xref(env, node\['\''refdoc'\''\], app.builder,$| if '\''refdoc'\'' not in node:\n return None\n\0|' \ |
106 |
+ -i docs/_ext/celerydocs.py || die |
107 |
+ |
108 |
+ distutils-r1_python_prepare_all |
109 |
+} |
110 |
+ |
111 |
+python_compile_all() { |
112 |
+ if use doc; then |
113 |
+ python_setup -3 |
114 |
+ mkdir docs/.build || die |
115 |
+ emake -C docs html |
116 |
+ fi |
117 |
+} |
118 |
+ |
119 |
+python_test() { |
120 |
+ esetup.py test |
121 |
+} |
122 |
+ |
123 |
+python_install_all() { |
124 |
+ # Main celeryd init.d and conf.d |
125 |
+ newinitd "${FILESDIR}/celery.initd-r2" celery |
126 |
+ newconfd "${FILESDIR}/celery.confd-r2" celery |
127 |
+ |
128 |
+ if use examples; then |
129 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
130 |
+ docinto examples |
131 |
+ dodoc -r examples/. |
132 |
+ fi |
133 |
+ |
134 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
135 |
+ |
136 |
+ newbashcomp extra/bash-completion/celery.bash ${PN} |
137 |
+ |
138 |
+ distutils-r1_python_install_all |
139 |
+} |
140 |
+ |
141 |
+pkg_postinst() { |
142 |
+ optfeature "zookeeper support" dev-python/kazoo |
143 |
+ optfeature "msgpack support" dev-python/msgpack |
144 |
+ #optfeature "rabbitmq support" dev-python/librabbitmq |
145 |
+ #optfeature "slmq support" dev-python/softlayer_messaging |
146 |
+ optfeature "eventlet support" dev-python/eventlet |
147 |
+ #optfeature "couchbase support" dev-python/couchbase |
148 |
+ optfeature "redis support" dev-db/redis dev-python/redis-py |
149 |
+ optfeature "gevent support" dev-python/gevent |
150 |
+ optfeature "auth support" dev-python/pyopenssl |
151 |
+ optfeature "pyro support" dev-python/pyro:4 |
152 |
+ optfeature "yaml support" dev-python/pyyaml |
153 |
+ optfeature "memcache support" dev-python/pylibmc |
154 |
+ optfeature "mongodb support" dev-python/pymongo |
155 |
+ optfeature "sqlalchemy support" dev-python/sqlalchemy |
156 |
+ optfeature "sqs support" dev-python/boto |
157 |
+ #optfeature "cassandra support" dev-python/cassandra-driver |
158 |
+} |