[packages/python3-sphinx_book_theme] Up to 1.1.4; initial - some nodejs magic is required

arekm arekm at pld-linux.org
Wed May 28 23:13:26 CEST 2025


commit 945a00a0b340e281142ea73a6c82be2b731c7a9f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 28 23:13:04 2025 +0200

    Up to 1.1.4; initial - some nodejs magic is required

 python3-sphinx_book_theme.spec | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/python3-sphinx_book_theme.spec b/python3-sphinx_book_theme.spec
index dc83c52..7a0b7f0 100644
--- a/python3-sphinx_book_theme.spec
+++ b/python3-sphinx_book_theme.spec
@@ -8,16 +8,17 @@ Name:		python3-sphinx_book_theme
 # 1.1.3 requires Sphinx 5+ and sphinx-theme-builder
 # 1.0.1 requires Sphinx 4..6 and sphinx-theme-builder
 # 0.3.3 requires Sphinx 3..5 and sphinx-theme-builder
-Version:	0.2.0
-Release:	3
+Version:	1.1.4
+Release:	0.1
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/sphinx-book-theme/
-Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-book-theme/sphinx-book-theme-%{version}.tar.gz
-# Source0-md5:	9760b697e31d20131ba72a55b95deb86
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-book-theme/sphinx_book_theme-%{version}.tar.gz
+# Source0-md5:	31898c128bb5a711039afb2d3eb8d645
 URL:		https://pypi.org/project/sphinx-book-theme/
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
 BuildRequires:	python3-modules >= 1:3.6
-BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-PyYAML
 BuildRequires:	python3-Sphinx >= 3
@@ -26,6 +27,7 @@ BuildRequires:	python3-bs4 >= 4.6.1
 BuildRequires:	python3-bs4 < 5
 BuildRequires:	python3-docutils >= 0.15
 BuildRequires:	python3-docutils < 0.19
+BuildRequires:	python3-sphinx_theme_builder
 %if "%{py3_ver}" == "3.6"
 BuildRequires:	python3-importlib_resources >= 3.0
 %endif
@@ -48,12 +50,10 @@ Lekki motyw Sphinksa zaprojektowany tak, aby naśladować interaktywną
 książkę.
 
 %prep
-%setup -q -n sphinx-book-theme-%{version}
-
-%{__sed} -i -e '/docutils/ s/<0\.17/<0.19/' setup.py
+%setup -q -n sphinx_book_theme-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -63,7 +63,7 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,4 +72,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
 %{py3_sitescriptdir}/sphinx_book_theme
-%{py3_sitescriptdir}/sphinx_book_theme-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinx_book_theme-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_book_theme.git/commitdiff/945a00a0b340e281142ea73a6c82be2b731c7a9f



More information about the pld-cvs-commit mailing list