mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-python/celery: require at least 2G memory for tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI=8
|
|||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
inherit bash-completion-r1 distutils-r1 optfeature
|
inherit bash-completion-r1 check-reqs distutils-r1 optfeature
|
||||||
|
|
||||||
MY_PV="${PV/_beta/b}"
|
MY_PV="${PV/_beta/b}"
|
||||||
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
|
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
|
||||||
@@ -73,6 +73,8 @@ BDEPEND="
|
|||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
|
CHECKREQS_MEMORY="2G"
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
EPYTEST_DESELECT=(
|
||||||
t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises
|
t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises
|
||||||
t/unit/tasks/test_tasks.py::test_task_retries
|
t/unit/tasks/test_tasks.py::test_task_retries
|
||||||
@@ -87,6 +89,14 @@ distutils_enable_tests pytest
|
|||||||
|
|
||||||
distutils_enable_sphinx docs --no-autodoc
|
distutils_enable_sphinx docs --no-autodoc
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && check-reqs_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
use test && check-reqs_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
python_install_all() {
|
python_install_all() {
|
||||||
# Main celeryd init.d and conf.d
|
# Main celeryd init.d and conf.d
|
||||||
newinitd "${FILESDIR}/celery.initd-r2" celery
|
newinitd "${FILESDIR}/celery.initd-r2" celery
|
||||||
|
|||||||
Reference in New Issue
Block a user