From e65840bdd53b8ec97ab1f8cdc041d55e4ee49e10 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 6 Mar 2024 07:42:02 -0800 Subject: python3-sphinxcontrib-jquery: add a recipe and make python3-sphinx-rtd-theme depend on it It's a hard dependency of recent python3-sphinx-rtd-theme versions: https://github.com/readthedocs/sphinx_rtd_theme/commit/4d6de11137333ede9842d535aa08b753dcb7f1b0 The issue is exposed by latest btrfs-tools update. (From OE-Core rev: 7a3d074f2d1679b4d4e52c4a023edb46224ca0be) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../python/python3-sphinx-rtd-theme_2.0.0.bb | 1 + .../python/python3-sphinxcontrib-jquery_4.1.bb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb index 46b46bf017..22b4d96444 100644 --- a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb +++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a1db7d4ef426c2935227264e1d4ae8f9 \ RDEPENDS:${PN} += " \ python3-compile \ python3-sphinx \ + python3-sphinxcontrib-jquery \ " PYPI_PACKAGE = "sphinx_rtd_theme" diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb new file mode 100644 index 0000000000..5f915663c2 --- /dev/null +++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb @@ -0,0 +1,12 @@ +SUMMARY = "Extension to include jQuery on newer Sphinx releases" +HOMEPAGE = "https://pypi.org/project/sphinxcontrib-jquery/" +LICENSE = "0BSD" +LIC_FILES_CHKSUM = "file://LICENCE;md5=926e8b7e89e3ebb2a2d1dfaf0873f241" + +SRC_URI[sha256sum] = "1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a" + +PYPI_PACKAGE = "sphinxcontrib-jquery" + +inherit pypi python_flit_core + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf