From 0ea3d490083ad8783ecd547e4e43a18c9d6e27e3 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 22 Jan 2023 12:49:32 +0000 Subject: Adding metadata --- dev-python/celery/celery-5.3.0_beta1-r1.ebuild | 124 ++++++++++++++++++++ dev-python/celery/celery-5.3.0_beta1.ebuild | 130 --------------------- .../files/celery-5.3.0_beta1-sphinx-6.0.patch | 31 +++++ 3 files changed, 155 insertions(+), 130 deletions(-) create mode 100644 dev-python/celery/celery-5.3.0_beta1-r1.ebuild delete mode 100644 dev-python/celery/celery-5.3.0_beta1.ebuild create mode 100644 dev-python/celery/files/celery-5.3.0_beta1-sphinx-6.0.patch (limited to 'dev-python/celery') diff --git a/dev-python/celery/celery-5.3.0_beta1-r1.ebuild b/dev-python/celery/celery-5.3.0_beta1-r1.ebuild new file mode 100644 index 000000000000..014ee48e8b51 --- /dev/null +++ b/dev-python/celery/celery-5.3.0_beta1-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +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" +HOMEPAGE=" + https://docs.celeryproject.org/en/stable/index.html + https://pypi.org/project/celery/ + https://github.com/celery/celery +" +SRC_URI="https://github.com/celery/celery/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/billiard-3.6.4.0[${PYTHON_USEDEP}] + =dev-python/kombu-5.3.0_beta1[${PYTHON_USEDEP}] + +Date: Sat, 24 Dec 2022 10:40:19 +0100 +Subject: [PATCH] return list of nodes to make sphinx extension compatible with + Sphinx 6.0 + +--- + celery/contrib/sphinx.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/celery/contrib/sphinx.py b/celery/contrib/sphinx.py +index a3a06479ccf..a5505ff189a 100644 +--- a/celery/contrib/sphinx.py ++++ b/celery/contrib/sphinx.py +@@ -32,6 +32,7 @@ + """ + from inspect import signature + ++from docutils import nodes + from sphinx.domains.python import PyFunction + from sphinx.ext.autodoc import FunctionDocumenter + +@@ -75,7 +76,7 @@ class TaskDirective(PyFunction): + """Sphinx task directive.""" + + def get_signature_prefix(self, sig): +- return self.env.config.celery_task_prefix ++ return [nodes.Text(self.env.config.celery_task_prefix)] + + + def autodoc_skip_member_handler(app, what, name, obj, skip, options): -- cgit v1.3