1 |
commit: 05e10e1159ea0de9db48dd95b3f8f6ca127bf3fb |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Fri Nov 4 06:23:04 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Fri Nov 4 06:33:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05e10e11 |
7 |
|
8 |
dev-python/celery: require at least 2G memory for tests |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/celery/celery-5.3.0_beta1.ebuild | 12 +++++++++++- |
13 |
1 file changed, 11 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/celery/celery-5.3.0_beta1.ebuild b/dev-python/celery/celery-5.3.0_beta1.ebuild |
16 |
index dfefa8f43..d23055e21 100644 |
17 |
--- a/dev-python/celery/celery-5.3.0_beta1.ebuild |
18 |
+++ b/dev-python/celery/celery-5.3.0_beta1.ebuild |
19 |
@@ -5,7 +5,7 @@ EAPI=8 |
20 |
|
21 |
DISTUTILS_USE_PEP517=setuptools |
22 |
PYTHON_COMPAT=( python3_{8..10} ) |
23 |
-inherit bash-completion-r1 distutils-r1 optfeature |
24 |
+inherit bash-completion-r1 check-reqs distutils-r1 optfeature |
25 |
|
26 |
MY_PV="${PV/_beta/b}" |
27 |
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" |
28 |
@@ -73,6 +73,8 @@ BDEPEND=" |
29 |
) |
30 |
" |
31 |
|
32 |
+CHECKREQS_MEMORY="2G" |
33 |
+ |
34 |
EPYTEST_DESELECT=( |
35 |
t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises |
36 |
t/unit/tasks/test_tasks.py::test_task_retries |
37 |
@@ -87,6 +89,14 @@ distutils_enable_tests pytest |
38 |
|
39 |
distutils_enable_sphinx docs --no-autodoc |
40 |
|
41 |
+pkg_setup() { |
42 |
+ use test && check-reqs_pkg_setup |
43 |
+} |
44 |
+ |
45 |
+pkg_pretend() { |
46 |
+ use test && check-reqs_pkg_pretend |
47 |
+} |
48 |
+ |
49 |
python_install_all() { |
50 |
# Main celeryd init.d and conf.d |
51 |
newinitd "${FILESDIR}/celery.initd-r2" celery |