Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-celery/
Date: Mon, 30 Nov 2015 10:58:14
Message-Id: 1448881074.c5e68da35b5ec52b8d4482ff4c7228a031603fe0.jlec@gentoo
1 commit: c5e68da35b5ec52b8d4482ff4c7228a031603fe0
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 30 10:57:54 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 10:57:54 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e68da3
7
8 dev-python/django-celery: Version Bump
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/django-celery/Manifest | 1 +
14 .../django-celery/django-celery-3.1.17.ebuild | 59 ++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/django-celery/Manifest b/dev-python/django-celery/Manifest
18 index bfc7c48..0ae1d78 100644
19 --- a/dev-python/django-celery/Manifest
20 +++ b/dev-python/django-celery/Manifest
21 @@ -1 +1,2 @@
22 DIST django-celery-3.1.16.tar.gz 77411 SHA256 07a9c650a1f20e040cf5fffd0bcd920a81d0734915130d898c0325c5fafb2ec4 SHA512 8bada03237f2b6f45484fe15e985d4763944fe19b3ac7271a6b9d53058c13d903b0aba070cd813741e2a1a2c6c1d17b335f8712ca70c377d45892471ef7a59bc WHIRLPOOL a707ce0e31407e9a452d4930e93207dea31f22365a1c827dc917d9dc34d6a5c48f2bfc0aab41ce3b5a92877200265630e6fc17f7e7c80e0aac2ceb76a272a483
23 +DIST django-celery-3.1.17.tar.gz 79615 SHA256 254a95b0a4386df1fd949823942f6312c80fba3c88c5efad79cad8648bc5feb5 SHA512 fa68c85ee0eea778c5921c0373f3e7547bc644cd11d83e659fdf9bf4a80e317faca12ad3941225b073609a4716c5b9574d85c5c7063cff0fdb3deb0f1b86d225 WHIRLPOOL 6f01ab8aa28723720cd2ba516c9b2ecc30c28efe69fbdc72ddb18ed0fd2cfdaede6146133ec4a59f311e223a7146a7a190eaf8d9a6d8d831e46cafe668699fff
24
25 diff --git a/dev-python/django-celery/django-celery-3.1.17.ebuild b/dev-python/django-celery/django-celery-3.1.17.ebuild
26 new file mode 100644
27 index 0000000..41aef6b
28 --- /dev/null
29 +++ b/dev-python/django-celery/django-celery-3.1.17.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +PYTHON_COMPAT=( python{2_7,3_4} )
37 +PYTHON_REQ_USE="sqlite(+)"
38 +
39 +inherit distutils-r1 eutils
40 +
41 +DESCRIPTION="Celery Integration for Django"
42 +HOMEPAGE="http://celeryproject.org/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="doc examples test"
49 +
50 +# Python testsuite fails when built against dev-python/django-1.8.5
51 +# with ValueError: save() prohibited to prevent data loss due to
52 +# unsaved related object 'interval'.
53 +
54 +PY2_USEDEP=$(python_gen_usedep python2_7)
55 +RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
56 + >dev-python/django-1.4[${PYTHON_USEDEP}]
57 + <dev-python/django-1.9[${PYTHON_USEDEP}]
58 + dev-python/pytz[${PYTHON_USEDEP}]"
59 +DEPEND="${RDEPEND}
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + test? (
62 + dev-python/django-nose[${PYTHON_USEDEP}]
63 + >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
64 + dev-python/nose-cover3[${PYTHON_USEDEP}]
65 + dev-python/mock[${PY2_USEDEP}]
66 + dev-python/python-memcached[${PY2_USEDEP}] )
67 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
68 + dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
69 + dev-python/python-memcached[${PY2_USEDEP}]
70 + )"
71 +
72 +PY27_REQUSE="$(python_gen_useflags 'python2.7')"
73 +REQUIRED_USE="
74 + doc? ( ${PY27_REQUSE} )"
75 +
76 +python_compile_all() {
77 + use doc && emake -C docs html
78 +}
79 +
80 +python_test() {
81 + # https://github.com/celery/django-celery/issues/342
82 + "${PYTHON}" tests/manage.py test
83 +}
84 +
85 +python_install_all() {
86 + use doc && local HTML_DOCS=( docs/.build/html/. )
87 + use examples && local EXAMPLES=( examples/. )
88 + distutils-r1_python_install_all
89 +}