Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 564250 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-python/django-celery/django-celery-3.1.16.ebuild (-2 / +12 lines)
Lines 4-11 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
6
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
7
PYTHON_REQ_USE="sqlite(+)"
7
8
8
inherit distutils-r1
9
inherit distutils-r1 eutils
9
10
10
DESCRIPTION="Celery Integration for Django"
11
DESCRIPTION="Celery Integration for Django"
11
HOMEPAGE="http://celeryproject.org/"
12
HOMEPAGE="http://celeryproject.org/"
Lines 16-24 SLOT="0" Link Here
16
KEYWORDS="amd64 x86"
17
KEYWORDS="amd64 x86"
17
IUSE="doc examples test"
18
IUSE="doc examples test"
18
19
20
# Python testsuite fails when built against dev-python/django-1.8.5
21
# with ValueError: save() prohibited to prevent data loss due to
22
# unsaved related object 'interval'.
23
19
PY2_USEDEP=$(python_gen_usedep python2_7)
24
PY2_USEDEP=$(python_gen_usedep python2_7)
20
RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
25
RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
21
	dev-python/django[${PYTHON_USEDEP}]
26
	>dev-python/django-1.7[${PYTHON_USEDEP}]
27
	<=dev-python/django-1.7.10[${PYTHON_USEDEP}]
22
	dev-python/pytz[${PYTHON_USEDEP}]"
28
	dev-python/pytz[${PYTHON_USEDEP}]"
23
DEPEND="${RDEPEND}
29
DEPEND="${RDEPEND}
24
	dev-python/setuptools[${PYTHON_USEDEP}]
30
	dev-python/setuptools[${PYTHON_USEDEP}]
Lines 37-42 PY27_REQUSE="$(python_gen_useflags 'python2.7')" Link Here
37
REQUIRED_USE="
43
REQUIRED_USE="
38
	doc? ( ${PY27_REQUSE} )"
44
	doc? ( ${PY27_REQUSE} )"
39
45
46
src_prepare() {
47
	epatch "${FILESDIR}/${P}-py3-test-failures.patch"
48
}
49
40
python_compile_all() {
50
python_compile_all() {
41
	use doc && emake -C docs html
51
	use doc && emake -C docs html
42
}
52
}

Return to bug 564250