[packages/python3-sphinx_book_theme] - loose pydata_sphinx_theme dependency

qboosh qboosh at pld-linux.org
Fri Nov 7 22:14:45 CET 2025


commit 9494113f5285d19164c7dc041fb93fff29162625
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 7 22:14:50 2025 +0100

    - loose pydata_sphinx_theme dependency

 python3-sphinx_book_theme.spec       |  2 ++
 sphinx_book_theme-dependencies.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/python3-sphinx_book_theme.spec b/python3-sphinx_book_theme.spec
index 94e82e1..355d3ed 100644
--- a/python3-sphinx_book_theme.spec
+++ b/python3-sphinx_book_theme.spec
@@ -15,6 +15,7 @@ Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-book-theme/sphi
 # Source0-md5:	31898c128bb5a711039afb2d3eb8d645
 Source1:	sphinx_book_theme-1.1.4-vendor.tar.xz
 # Source1-md5:	db9d7e1bd882878c330e967b7d606eac
+Patch0:		sphinx_book_theme-dependencies.patch
 URL:		https://pypi.org/project/sphinx-book-theme/
 BuildRequires:	nodejs >= 20
 BuildRequires:	npm
@@ -52,6 +53,7 @@ książkę.
 
 %prep
 %setup -q -n sphinx_book_theme-%{version} -a1
+%patch -P0 -p1
 
 # Substitute the installed nodejs version for the requested version
 sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml
diff --git a/sphinx_book_theme-dependencies.patch b/sphinx_book_theme-dependencies.patch
new file mode 100644
index 0000000..268c459
--- /dev/null
+++ b/sphinx_book_theme-dependencies.patch
@@ -0,0 +1,11 @@
+--- sphinx_book_theme-1.1.4/pyproject.toml.orig	2025-02-20 17:31:55.586639000 +0100
++++ sphinx_book_theme-1.1.4/pyproject.toml	2025-11-07 22:12:12.041993875 +0100
+@@ -37,7 +37,7 @@ readme = "README.md"
+ requires-python = ">=3.9"
+ dependencies = [
+   "sphinx>=6.1",
+-  "pydata-sphinx-theme==0.15.4"
++  "pydata-sphinx-theme>=0.15.4"
+ ]
+ 
+ license = { file = "LICENSE" }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_book_theme.git/commitdiff/9494113f5285d19164c7dc041fb93fff29162625




More information about the pld-cvs-commit mailing list