summaryrefslogtreecommitdiff
path: root/dev-python/django-celery-results/django-celery-results-2.5.0.ebuild
blob: 759d0368ce30cf368d62b4cdf510938d80dbf376 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )

inherit distutils-r1 pypi

MY_P=${PN//-/_}-${PV}
DESCRIPTION="Celery Result Backends using the Django ORM/Cache framework."
HOMEPAGE="https://github.com/celery/django-celery-results"
S="${WORKDIR}/${MY_P}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="
	>=dev-python/celery-5.2.7[${PYTHON_USEDEP}]
	<dev-python/celery-6.0[${PYTHON_USEDEP}]
	>=dev-python/django-3.2.18[${PYTHON_USEDEP}]
"

DOCS=( README.rst )

#BDEPEND="
#	test? (
#		>=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}]
#		dev-python/pytz[${PYTHON_USEDEP}]
#	)
#"

#python_prepare_all() {
#	# Prevent un-needed download during build
#	sed -e "/^    include_intersphinx=/d" \
#		-i docs/conf.py || die
#
#	distutils-r1_python_prepare_all
#}

#distutils_enable_tests pytest
#distutils_enable_sphinx docs \
#	dev-python/sphinx_celery