commit: 05e10e1159ea0de9db48dd95b3f8f6ca127bf3fb Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Fri Nov 4 06:23:04 2022 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Fri Nov 4 06:33:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05e10e11
dev-python/celery: require at least 2G memory for tests Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/celery/celery-5.3.0_beta1.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-python/celery/celery-5.3.0_beta1.ebuild b/dev-python/celery/celery-5.3.0_beta1.ebuild index dfefa8f43..d23055e21 100644 --- a/dev-python/celery/celery-5.3.0_beta1.ebuild +++ b/dev-python/celery/celery-5.3.0_beta1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools 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}" DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" @@ -73,6 +73,8 @@ BDEPEND=" ) " +CHECKREQS_MEMORY="2G" + EPYTEST_DESELECT=( t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises t/unit/tasks/test_tasks.py::test_task_retries @@ -87,6 +89,14 @@ distutils_enable_tests pytest 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() { # Main celeryd init.d and conf.d newinitd "${FILESDIR}/celery.initd-r2" celery