From 12f69c13452e083b42f774b4160f23ecfc648cfa Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Sat, 24 Feb 2024 21:55:07 -0700 Subject: [PATCH] sphinx: fix logo_url variable in the Haiku theme (#10147) --- .../sphinx/patches/sphinx-7.2.6.patchset | 22 +++++++++++++++++++ dev-python/sphinx/sphinx-7.2.6.recipe | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 dev-python/sphinx/patches/sphinx-7.2.6.patchset diff --git a/dev-python/sphinx/patches/sphinx-7.2.6.patchset b/dev-python/sphinx/patches/sphinx-7.2.6.patchset new file mode 100644 index 000000000..aba04d136 --- /dev/null +++ b/dev-python/sphinx/patches/sphinx-7.2.6.patchset @@ -0,0 +1,22 @@ +From 6e8e69f89446b389a4adc1d553d90605e008aa39 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +Date: Sat, 24 Feb 2024 21:47:09 -0700 +Subject: fix logo->logo_url in the Haiku theme + + +diff --git a/sphinx/themes/haiku/layout.html b/sphinx/themes/haiku/layout.html +index 4e14826..1af9a12 100644 +--- a/sphinx/themes/haiku/layout.html ++++ b/sphinx/themes/haiku/layout.html +@@ -39,7 +39,7 @@ + + + {%- else %} +- {%- if logo -%} ++ {%- if logo_url -%} + + {%- endif -%} +

+-- +2.42.1 + diff --git a/dev-python/sphinx/sphinx-7.2.6.recipe b/dev-python/sphinx/sphinx-7.2.6.recipe index fe1ee4fcf..45ff2c847 100644 --- a/dev-python/sphinx/sphinx-7.2.6.recipe +++ b/dev-python/sphinx/sphinx-7.2.6.recipe @@ -21,9 +21,10 @@ extensions." HOMEPAGE="https://www.sphinx-doc.org/" COPYRIGHT="2023 Georg Brandl" LICENSE="BSD (2-clause)" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/sphinx-doc/sphinx/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="b41c04543148937b887097f396d7b2b54ae49d0597b68625f06ffdf702d4d917" +PATCHES="sphinx-$portVersion.patchset" ARCHITECTURES="any"