| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.6.0 | 8 | ~amd64 | 0 |
# 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_{10..13} )
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"
DEPEND="
>=dev-python/celery-5.2.7[${PYTHON_USEDEP}]
<dev-python/celery-6.0[${PYTHON_USEDEP}]
>=dev-python/django-3.2.25[${PYTHON_USEDEP}]
"
DOCS=( README.rst )
BDEPEND="
test? (
>=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)
"
EPYTEST_DESELECT=(
# Failing tests
t/integration/benchmark_models.py
t/unit/backends/test_database.py
t/unit/test_models.py
)
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-celery
python_test() {
epytest -m "not network"
}
>=dev-python/celery-5.2.7[${PYTHON_USEDEP}]
<dev-python/celery-6.0[${PYTHON_USEDEP}]
>=dev-python/django-3.2.25[${PYTHON_USEDEP}]
test? (
>=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)