Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/kombu/
Date: Sat, 29 Oct 2016 23:15:05
Message-Id: 1477782897.5b148f259682be6cedb1cdbeededc424391c4582.floppym@gentoo
1 commit: 5b148f259682be6cedb1cdbeededc424391c4582
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 23:06:44 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 29 23:14:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b148f25
7
8 dev-python/kombu: remove old
9
10 Package-Manager: portage-2.3.2
11
12 dev-python/kombu/Manifest | 6 --
13 dev-python/kombu/kombu-3.0.24.ebuild | 95 ------------------------------
14 dev-python/kombu/kombu-3.0.26.ebuild | 102 --------------------------------
15 dev-python/kombu/kombu-3.0.29.ebuild | 107 ---------------------------------
16 dev-python/kombu/kombu-3.0.30.ebuild | 111 -----------------------------------
17 dev-python/kombu/kombu-3.0.32.ebuild | 111 -----------------------------------
18 dev-python/kombu/kombu-3.0.33.ebuild | 111 -----------------------------------
19 7 files changed, 643 deletions(-)
20
21 diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
22 index a61c949..83c0e1c 100644
23 --- a/dev-python/kombu/Manifest
24 +++ b/dev-python/kombu/Manifest
25 @@ -1,8 +1,2 @@
26 -DIST kombu-3.0.24.tar.gz 374539 SHA256 b9ff0437607113aea701fd5122c2afa40c05dff6f1da4f58b2f1ea18d9f2bf8d SHA512 fdc42073d37c0888f564ae3feec517212e3cadd534cae2a0893f799c6fea7c217aa979617ec73b63466a7b5a3dbb836b57422ce514087d4e4821e88eec5e4ffa WHIRLPOOL 8513cbe9df4337fe3545cc2a2ff3cec3c9f28b60f200aff5395b2acb484c6b75fe710b5227df6eb3fd41a6faeb49a0aaf968618e66594e9e87c20c448475d27c
27 -DIST kombu-3.0.26.tar.gz 375553 SHA256 1f565abd44c4b7dfaa4dd543d52f982d2f006aba0a2b3830542b4d25a801fe09 SHA512 71656cc8f44101700c5489e0b0a66918a00cf8ff39e65feab1090865e3c8d50b6dd2458f95d48fb58cc4387de954530fe27a5713838509d51123bac7009631a2 WHIRLPOOL d706dcd752e24eebc3a1091a8a2ba91a0b6adf30fa9be4d9d1a95b5c008f8036eb518f03ccb1d3393502488120c9ad2ad2f2e01c41b59beb3576389b3f9c000f
28 -DIST kombu-3.0.29.tar.gz 378270 SHA256 970a55ec65e668403c3e6ef4aa2213362568387885f5cc0ff8429abd44a6dca8 SHA512 1093826ec4ba8234f8f8a1082252df20e600f0b58fc46c5c5b3ee6ef3b2582e2c986f997edfa13d4c85b9473236f3cca902375109266a809d33fd76c6eb45c35 WHIRLPOOL 9e4909c02ed2be14235861d2838278d71ab90da20f59c4b02123d9ce84212c0e93cc8b162e2ef8df45d224ed0166c022fca849a6cb39143fd6554e6a00b71893
29 -DIST kombu-3.0.30.tar.gz 380706 SHA256 b902fe768ea49173c7c26b117bf6c51d258f822d00d753e543b7e2285540f85a SHA512 91d43c7bf9902fe58b2a06f81286be81945c751ca4677a7ab9c78287e006726908b143510efcb4abf91b584f2fa0be7828df5631f552665fb3bbd9806f703075 WHIRLPOOL 75d62e8e395205157e1d018b6e20cc7f2b5ba0a7dd7ec40cfc21e0341aa9108eafd811277a0a9ed0fa6f1f41b9e96b7d1e8e4c32674e6db601b418afe6e70e3e
30 -DIST kombu-3.0.32.tar.gz 380958 SHA256 d3edda02076ae04fa62d128007756f4c4298fe479119ca070a47a22afe867660 SHA512 ffdccbdb9ddde28b5eb159dcc9697d48dddfbb1b74f9f9ced8eed92a25e53d21b5e2aa3a770b014397c73a92102a9d8dc9839bcdd1f49e1700fdfd79c5fcf022 WHIRLPOOL e7af358e76088039c8a407a2ea383208be4e4b5e37965dd88fae690dd7b7117829ac2d5c49f22374d8425f92a6c651520955526b1342dd7b5ed407d50f0d56d2
31 -DIST kombu-3.0.33.tar.gz 379423 SHA256 853d18ca958a598787ceb8c297a369745b82965bf28276861272f14745977999 SHA512 1f2772b79087038f5ec802fc8c1d511dc5e1de9bb663fb36878b5af4b0f925f83961e80a34f8a71af6d78fd45c719dfc62275923353ff38d06af5dae361f2059 WHIRLPOOL e55cdcaa550e1829b0d7cd00e03c63983f9a5525a6587428eabac6bc3379c1ba85e47173ffd14047edfc54f10391145c19fc0621074798fa7bb1e34b400f6fce
32 DIST kombu-3.0.34.tar.gz 380374 SHA256 8878ff19b09d86b2689682a4a3eb163d70115ef4ebd974966079a0edd80075da SHA512 9de5d9e4784d814f8c40633bfac08a4e9279d55d2122d1cfdee6418066ba61e0ef7dcaba9cf21d2b0b99989ba292125bbe4b38be90ecc288cb038aea638d1508 WHIRLPOOL d0dfe755af559f4c1d0e8fb6bbe3c7767874a34db57f4958196b853147061e078fac9d5ab31957ab88707220e738a05248afa5d86d9fbdd1a5619aab80d9711a
33 DIST kombu-3.0.37.tar.gz 411790 SHA256 e064a00c66b4d1058cd2b0523fb8d98c82c18450244177b6c0f7913016642650 SHA512 ba9bb00e23ce2d3da87eb07aacff8d63ef9879e6ca9f3fe82653cc2ee91610199fe8fc778d7c2e00df05b46130ecda0bdeceda48192b8af1fb0eca41fbb44712 WHIRLPOOL 1e3344eb25024e94d341a3928bd04a9fd13bb41fefd7254e5f2dd70a8b235ae48b93d9b003b21d9ccde4ebdb8d1f349d9af6d54b51c74d6c6b1ee7913ee06919
34
35 diff --git a/dev-python/kombu/kombu-3.0.24.ebuild b/dev-python/kombu/kombu-3.0.24.ebuild
36 deleted file mode 100644
37 index b95509f..00000000
38 --- a/dev-python/kombu/kombu-3.0.24.ebuild
39 +++ /dev/null
40 @@ -1,95 +0,0 @@
41 -# Copyright 1999-2015 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -# $Id$
44 -
45 -EAPI=5
46 -
47 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
48 -
49 -inherit distutils-r1
50 -
51 -DESCRIPTION="AMQP Messaging Framework for Python"
52 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
53 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
54 -
55 -LICENSE="BSD"
56 -SLOT="0"
57 -KEYWORDS="amd64 x86"
58 -IUSE="amqplib doc examples msgpack sqs test"
59 -
60 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
61 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
62 -RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
63 - >=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}]
64 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
65 - dev-python/pyro:4[${PYTHON_USEDEP}]
66 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
67 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
68 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
69 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
70 -
71 -DEPEND="${RDEPEND}
72 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
73 - test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
74 - dev-python/nose[${PYTHON_USEDEP}]
75 - dev-python/nose-cover3[${PYTHON_USEDEP}]
76 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
77 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
78 - dev-python/django[${PYTHON_USEDEP}]
79 - >=dev-python/redis-py-2.8.0[${PYTHON_USEDEP}]
80 - >=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}]
81 - dev-python/pyyaml[${PYTHON_USEDEP}] )
82 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
83 - dev-python/django[${PYTHON_USEDEP}]
84 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
85 - dev-python/couchdb-python[${PYTHON_USEDEP}]
86 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
87 -
88 -# kazoo and sqlalchemy are optional packages for tests.
89 -# Refrain for now, no established demand for it from users
90 -
91 -# Req'd for test phase
92 -DISTUTILS_IN_SOURCE_BUILD=1
93 -
94 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
95 -REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
96 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable
97 -
98 -PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch )
99 -
100 -python_prepare_all() {
101 - https://github.com/celery/kombu/issues/246
102 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
103 - distutils-r1_python_prepare_all
104 -}
105 -
106 -python_compile_all() {
107 - # Doc build must be done by py2.7
108 - # Doc build misses and skips only content re librabbitmq which is not in portage
109 - if use doc; then
110 - emake -C docs html || die "kombu docs failed installation"
111 - fi
112 -}
113 -
114 -python_test() {
115 - export DJANGO_SETTINGS_MODULE="django.conf"
116 - if python_is_python3; then
117 - 2to3 --no-diffs -w build/lib/kombu/transport/
118 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
119 - else
120 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
121 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
122 - # https://github.com/celery/kombu/issues/411
123 - if [[ "${EPYTHON}" == python2.7 ]]; then
124 - pushd funtests > /dev/null
125 - esetup.py test
126 - popd > /dev/null
127 - fi
128 - fi
129 -}
130 -
131 -python_install_all() {
132 - use examples && local EXAMPLES=( examples/. )
133 - use doc && local HTML_DOCS=( docs/.build/html/. )
134 - distutils-r1_python_install_all
135 -}
136
137 diff --git a/dev-python/kombu/kombu-3.0.26.ebuild b/dev-python/kombu/kombu-3.0.26.ebuild
138 deleted file mode 100644
139 index 897b4b0..00000000
140 --- a/dev-python/kombu/kombu-3.0.26.ebuild
141 +++ /dev/null
142 @@ -1,102 +0,0 @@
143 -# Copyright 1999-2016 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -# $Id$
146 -
147 -EAPI=5
148 -
149 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
150 -
151 -inherit distutils-r1
152 -
153 -DESCRIPTION="AMQP Messaging Framework for Python"
154 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
155 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
156 -
157 -LICENSE="BSD"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~x86"
160 -IUSE="amqplib doc examples msgpack sqs test"
161 -
162 -# couchdb backend support possible via dev-python/couchdb-python
163 -# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
164 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
165 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
166 -RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
167 - >=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}]
168 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
169 - dev-python/pyro:4[${PYTHON_USEDEP}]
170 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
171 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
172 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
173 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
174 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
175 -DEPEND="${RDEPEND}
176 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
177 - test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
178 - dev-python/nose[${PYTHON_USEDEP}]
179 - dev-python/nose-cover3[${PYTHON_USEDEP}]
180 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
181 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
182 - dev-python/django[${PYTHON_USEDEP}]
183 - >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
184 - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
185 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
186 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
187 - dev-python/django[${PYTHON_USEDEP}]
188 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
189 - dev-python/couchdb-python[${PYTHON_USEDEP}]
190 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
191 -
192 -# kazoo and sqlalchemy are optional packages for tests.
193 -# Refrain for now, no established demand for it from users
194 -
195 -# Req'd for test phase
196 -DISTUTILS_IN_SOURCE_BUILD=1
197 -
198 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
199 -REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
200 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
201 -
202 -PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch \
203 - "${FILESDIR}"/${P}-pymongo-test-fix.patch )
204 -
205 -python_prepare_all() {
206 - # https://github.com/celery/kombu/issues/246
207 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
208 - distutils-r1_python_prepare_all
209 -}
210 -
211 -python_compile_all() {
212 - # Doc build must be done by py2.7
213 - # Doc build misses and skips only content re librabbitmq which is not in portage
214 - if use doc; then
215 - emake -C docs html || die "kombu docs failed installation"
216 - fi
217 -}
218 -
219 -python_test() {
220 - export DJANGO_SETTINGS_MODULE="django.conf"
221 - # https://github.com/celery/kombu/issues/474
222 - # tests need </pymongo-3.0; known to cause some breakage
223 - if python_is_python3; then
224 - 2to3 --no-diffs -w build/lib/kombu/transport/
225 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
226 - else
227 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
228 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
229 - # https://github.com/celery/kombu/issues/411
230 - # Fix to https://github.com/celery/kombu/issues/474 breaks the
231 - # funtests under >=dev-python/pymongo-3.0.2
232 -# if [[ "${EPYTHON}" == python2.7 ]]; then
233 -# pushd funtests > /dev/null
234 -# esetup.py test
235 -# popd > /dev/null
236 -# fi
237 - fi
238 -}
239 -
240 -python_install_all() {
241 - use examples && local EXAMPLES=( examples/. )
242 - use doc && local HTML_DOCS=( docs/.build/html/. )
243 - distutils-r1_python_install_all
244 -}
245
246 diff --git a/dev-python/kombu/kombu-3.0.29.ebuild b/dev-python/kombu/kombu-3.0.29.ebuild
247 deleted file mode 100644
248 index 38b7487..00000000
249 --- a/dev-python/kombu/kombu-3.0.29.ebuild
250 +++ /dev/null
251 @@ -1,107 +0,0 @@
252 -# Copyright 1999-2016 Gentoo Foundation
253 -# Distributed under the terms of the GNU General Public License v2
254 -# $Id$
255 -
256 -EAPI=5
257 -
258 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
259 -
260 -inherit distutils-r1
261 -
262 -DESCRIPTION="AMQP Messaging Framework for Python"
263 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
264 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
265 -
266 -LICENSE="BSD"
267 -SLOT="0"
268 -KEYWORDS="~amd64 ~x86"
269 -IUSE="amqplib doc examples msgpack sqs test"
270 -
271 -# couchdb backend support possible via dev-python/couchdb-python
272 -# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
273 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
274 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
275 -RDEPEND="
276 - >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
277 - >=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
278 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
279 - dev-python/pyro:4[${PYTHON_USEDEP}]
280 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
281 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
282 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
283 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
284 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
285 -DEPEND="${RDEPEND}
286 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
287 - test? (
288 - >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
289 - dev-python/nose[${PYTHON_USEDEP}]
290 - dev-python/nose-cover3[${PYTHON_USEDEP}]
291 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
292 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
293 - dev-python/django[${PYTHON_USEDEP}]
294 - >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
295 - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
296 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
297 - doc? (
298 - dev-python/sphinx[${PYTHON_USEDEP}]
299 - dev-python/django[${PYTHON_USEDEP}]
300 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
301 - dev-python/couchdb-python[${PYTHON_USEDEP}]
302 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
303 -
304 -# kazoo and sqlalchemy are optional packages for tests.
305 -# Refrain for now, no established demand for it from users
306 -
307 -# Req'd for test phase
308 -DISTUTILS_IN_SOURCE_BUILD=1
309 -
310 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
311 -REQUIRED_USE="
312 - sqs? ( ${PY27_REQUSE} )
313 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
314 -
315 -PATCHES=(
316 - "${FILESDIR}"/${PN}-NA-tests-fix.patch
317 - )
318 -
319 -python_prepare_all() {
320 - # https://github.com/celery/kombu/issues/246
321 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
322 - distutils-r1_python_prepare_all
323 -}
324 -
325 -python_compile_all() {
326 - # Doc build must be done by py2.7
327 - # Doc build misses and skips only content re librabbitmq which is not in portage
328 - if use doc; then
329 - emake -C docs html || die "kombu docs failed installation"
330 - fi
331 -}
332 -
333 -python_test() {
334 - export DJANGO_SETTINGS_MODULE="django.conf"
335 - # https://github.com/celery/kombu/issues/474
336 - # tests need </pymongo-3.0; known to cause some breakage
337 - if python_is_python3; then
338 - 2to3 --no-diffs -w build/lib/kombu/transport/
339 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
340 - else
341 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
342 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
343 - # https://github.com/celery/kombu/issues/411
344 - # Fix to https://github.com/celery/kombu/issues/474 breaks the
345 - # funtests under >=dev-python/pymongo-3.0.2
346 -# if [[ "${EPYTHON}" == python2.7 ]]; then
347 -# pushd funtests > /dev/null
348 -# esetup.py test
349 -# popd > /dev/null
350 -# fi
351 - fi
352 -}
353 -
354 -python_install_all() {
355 - use examples && local EXAMPLES=( examples/. )
356 - use doc && local HTML_DOCS=( docs/.build/html/. )
357 - distutils-r1_python_install_all
358 -}
359
360 diff --git a/dev-python/kombu/kombu-3.0.30.ebuild b/dev-python/kombu/kombu-3.0.30.ebuild
361 deleted file mode 100644
362 index 7b989d2..00000000
363 --- a/dev-python/kombu/kombu-3.0.30.ebuild
364 +++ /dev/null
365 @@ -1,111 +0,0 @@
366 -# Copyright 1999-2016 Gentoo Foundation
367 -# Distributed under the terms of the GNU General Public License v2
368 -# $Id$
369 -
370 -EAPI=5
371 -
372 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
373 -
374 -inherit distutils-r1
375 -
376 -DESCRIPTION="AMQP Messaging Framework for Python"
377 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
378 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
379 -
380 -LICENSE="BSD"
381 -SLOT="0"
382 -KEYWORDS="~amd64 ~arm64 ~x86"
383 -IUSE="amqplib doc examples msgpack sqs test"
384 -
385 -# couchdb backend support possible via dev-python/couchdb-python
386 -# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
387 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
388 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
389 -RDEPEND="
390 - >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
391 - >=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
392 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
393 - dev-python/pyro:4[${PYTHON_USEDEP}]
394 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
395 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
396 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
397 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
398 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
399 -DEPEND="${RDEPEND}
400 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
401 - test? (
402 - >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
403 - dev-python/nose[${PYTHON_USEDEP}]
404 - dev-python/nose-cover3[${PYTHON_USEDEP}]
405 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
406 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
407 - dev-python/django[${PYTHON_USEDEP}]
408 - >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
409 - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
410 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
411 - doc? (
412 - dev-python/sphinx[${PYTHON_USEDEP}]
413 - dev-python/django[${PYTHON_USEDEP}]
414 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
415 - dev-python/couchdb-python[${PYTHON_USEDEP}]
416 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
417 -
418 -# kazoo and sqlalchemy are optional packages for tests.
419 -# Refrain for now, no established demand for it from users
420 -
421 -# Req'd for test phase
422 -DISTUTILS_IN_SOURCE_BUILD=1
423 -
424 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
425 -REQUIRED_USE="
426 - sqs? ( ${PY27_REQUSE} )
427 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
428 -
429 -PATCHES=(
430 - "${FILESDIR}"/${PN}-NA-tests-fix.patch
431 - )
432 -
433 -pkg_setup() {
434 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
435 -}
436 -
437 -python_prepare_all() {
438 - # https://github.com/celery/kombu/issues/246
439 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
440 - distutils-r1_python_prepare_all
441 -}
442 -
443 -python_compile_all() {
444 - # Doc build must be done by py2.7
445 - # Doc build misses and skips only content re librabbitmq which is not in portage
446 - if use doc; then
447 - emake -C docs html || die "kombu docs failed installation"
448 - fi
449 -}
450 -
451 -python_test() {
452 - export DJANGO_SETTINGS_MODULE="django.conf"
453 - # https://github.com/celery/kombu/issues/474
454 - # tests need </pymongo-3.0; known to cause some breakage
455 - if python_is_python3; then
456 - 2to3 --no-diffs -w build/lib/kombu/transport/
457 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
458 - else
459 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
460 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
461 - # https://github.com/celery/kombu/issues/411
462 - # Fix to https://github.com/celery/kombu/issues/474 breaks the
463 - # funtests under >=dev-python/pymongo-3.0.2
464 -# if [[ "${EPYTHON}" == python2.7 ]]; then
465 -# pushd funtests > /dev/null
466 -# esetup.py test
467 -# popd > /dev/null
468 -# fi
469 - fi
470 -}
471 -
472 -python_install_all() {
473 - use examples && local EXAMPLES=( examples/. )
474 - use doc && local HTML_DOCS=( docs/.build/html/. )
475 - distutils-r1_python_install_all
476 -}
477
478 diff --git a/dev-python/kombu/kombu-3.0.32.ebuild b/dev-python/kombu/kombu-3.0.32.ebuild
479 deleted file mode 100644
480 index 61a1c1a..00000000
481 --- a/dev-python/kombu/kombu-3.0.32.ebuild
482 +++ /dev/null
483 @@ -1,111 +0,0 @@
484 -# Copyright 1999-2016 Gentoo Foundation
485 -# Distributed under the terms of the GNU General Public License v2
486 -# $Id$
487 -
488 -EAPI=5
489 -
490 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
491 -
492 -inherit distutils-r1
493 -
494 -DESCRIPTION="AMQP Messaging Framework for Python"
495 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
496 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
497 -
498 -LICENSE="BSD"
499 -SLOT="0"
500 -KEYWORDS="~amd64 ~x86"
501 -IUSE="amqplib doc examples msgpack sqs test"
502 -
503 -# couchdb backend support possible via dev-python/couchdb-python
504 -# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
505 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
506 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
507 -RDEPEND="
508 - >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
509 - >=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
510 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
511 - dev-python/pyro:4[${PYTHON_USEDEP}]
512 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
513 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
514 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
515 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
516 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
517 -DEPEND="${RDEPEND}
518 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
519 - test? (
520 - >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
521 - dev-python/nose[${PYTHON_USEDEP}]
522 - dev-python/nose-cover3[${PYTHON_USEDEP}]
523 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
524 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
525 - dev-python/django[${PYTHON_USEDEP}]
526 - >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
527 - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
528 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
529 - doc? (
530 - dev-python/sphinx[${PYTHON_USEDEP}]
531 - dev-python/django[${PYTHON_USEDEP}]
532 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
533 - dev-python/couchdb-python[${PYTHON_USEDEP}]
534 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
535 -
536 -# kazoo and sqlalchemy are optional packages for tests.
537 -# Refrain for now, no established demand for it from users
538 -
539 -# Req'd for test phase
540 -DISTUTILS_IN_SOURCE_BUILD=1
541 -
542 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
543 -REQUIRED_USE="
544 - sqs? ( ${PY27_REQUSE} )
545 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
546 -
547 -PATCHES=(
548 - "${FILESDIR}"/${PN}-NA-tests-fix.patch
549 - )
550 -
551 -pkg_setup() {
552 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
553 -}
554 -
555 -python_prepare_all() {
556 - # https://github.com/celery/kombu/issues/246
557 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
558 - distutils-r1_python_prepare_all
559 -}
560 -
561 -python_compile_all() {
562 - # Doc build must be done by py2.7
563 - # Doc build misses and skips only content re librabbitmq which is not in portage
564 - if use doc; then
565 - emake -C docs html || die "kombu docs failed installation"
566 - fi
567 -}
568 -
569 -python_test() {
570 - export DJANGO_SETTINGS_MODULE="django.conf"
571 - # https://github.com/celery/kombu/issues/474
572 - # tests need </pymongo-3.0; known to cause some breakage
573 - if python_is_python3; then
574 - 2to3 --no-diffs -w build/lib/kombu/transport/
575 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
576 - else
577 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
578 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
579 - # https://github.com/celery/kombu/issues/411
580 - # Fix to https://github.com/celery/kombu/issues/474 breaks the
581 - # funtests under >=dev-python/pymongo-3.0.2
582 -# if [[ "${EPYTHON}" == python2.7 ]]; then
583 -# pushd funtests > /dev/null
584 -# esetup.py test
585 -# popd > /dev/null
586 -# fi
587 - fi
588 -}
589 -
590 -python_install_all() {
591 - use examples && local EXAMPLES=( examples/. )
592 - use doc && local HTML_DOCS=( docs/.build/html/. )
593 - distutils-r1_python_install_all
594 -}
595
596 diff --git a/dev-python/kombu/kombu-3.0.33.ebuild b/dev-python/kombu/kombu-3.0.33.ebuild
597 deleted file mode 100644
598 index c3c168a..00000000
599 --- a/dev-python/kombu/kombu-3.0.33.ebuild
600 +++ /dev/null
601 @@ -1,111 +0,0 @@
602 -# Copyright 1999-2016 Gentoo Foundation
603 -# Distributed under the terms of the GNU General Public License v2
604 -# $Id$
605 -
606 -EAPI=5
607 -
608 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
609 -
610 -inherit distutils-r1
611 -
612 -DESCRIPTION="AMQP Messaging Framework for Python"
613 -HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
614 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
615 -
616 -LICENSE="BSD"
617 -SLOT="0"
618 -KEYWORDS="~amd64 ~x86"
619 -IUSE="amqplib doc examples msgpack sqs test"
620 -
621 -# couchdb backend support possible via dev-python/couchdb-python
622 -# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
623 -PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
624 -PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
625 -RDEPEND="
626 - >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
627 - >=dev-python/py-amqp-1.4.9[${PYTHON_USEDEP}]
628 - <dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
629 - dev-python/pyro:4[${PYTHON_USEDEP}]
630 - $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' 'python*')
631 - amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
632 - sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
633 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
634 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
635 -DEPEND="${RDEPEND}
636 - >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
637 - test? (
638 - >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
639 - dev-python/nose[${PYTHON_USEDEP}]
640 - dev-python/nose-cover3[${PYTHON_USEDEP}]
641 - >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
642 - >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
643 - dev-python/django[${PYTHON_USEDEP}]
644 - >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
645 - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
646 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
647 - doc? (
648 - dev-python/sphinx[${PYTHON_USEDEP}]
649 - dev-python/django[${PYTHON_USEDEP}]
650 - dev-python/beanstalkc[${PY27_GEN_USEDEP}]
651 - dev-python/couchdb-python[${PYTHON_USEDEP}]
652 - >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
653 -
654 -# kazoo and sqlalchemy are optional packages for tests.
655 -# Refrain for now, no established demand for it from users
656 -
657 -# Req'd for test phase
658 -DISTUTILS_IN_SOURCE_BUILD=1
659 -
660 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
661 -REQUIRED_USE="
662 - sqs? ( ${PY27_REQUSE} )
663 - doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
664 -
665 -PATCHES=(
666 - "${FILESDIR}"/${PN}-NA-tests-fix.patch
667 - )
668 -
669 -pkg_setup() {
670 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
671 -}
672 -
673 -python_prepare_all() {
674 - # https://github.com/celery/kombu/issues/246
675 - sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
676 - distutils-r1_python_prepare_all
677 -}
678 -
679 -python_compile_all() {
680 - # Doc build must be done by py2.7
681 - # Doc build misses and skips only content re librabbitmq which is not in portage
682 - if use doc; then
683 - emake -C docs html || die "kombu docs failed installation"
684 - fi
685 -}
686 -
687 -python_test() {
688 - export DJANGO_SETTINGS_MODULE="django.conf"
689 - # https://github.com/celery/kombu/issues/474
690 - # tests need </pymongo-3.0; known to cause some breakage
691 - if python_is_python3; then
692 - 2to3 --no-diffs -w build/lib/kombu/transport/
693 - nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
694 - else
695 - nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
696 - # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
697 - # https://github.com/celery/kombu/issues/411
698 - # Fix to https://github.com/celery/kombu/issues/474 breaks the
699 - # funtests under >=dev-python/pymongo-3.0.2
700 -# if [[ "${EPYTHON}" == python2.7 ]]; then
701 -# pushd funtests > /dev/null
702 -# esetup.py test
703 -# popd > /dev/null
704 -# fi
705 - fi
706 -}
707 -
708 -python_install_all() {
709 - use examples && local EXAMPLES=( examples/. )
710 - use doc && local HTML_DOCS=( docs/.build/html/. )
711 - distutils-r1_python_install_all
712 -}