2021-08-27 19:38:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-sphinx-book-theme
|
|
|
|
#
|
2025-06-12 12:18:58 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2021-08-27 19:38:22 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define modname sphinx-book-theme
|
|
|
|
Name: python-sphinx-book-theme
|
|
|
|
Version: 0.1.3
|
|
|
|
Release: 0
|
|
|
|
Summary: Jupyter Book: Create an online book with Jupyter Notebooks
|
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: https://github.com/executablebooks/sphinx-book-theme
|
2025-06-12 12:18:58 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-book-theme/%{modname}-%{version}.tar.gz
|
2021-08-27 19:38:22 +00:00
|
|
|
Source98: python-sphinx-book-theme-rpmlintrc
|
|
|
|
Source99: add_lang_files.lua
|
2025-06-12 12:18:58 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2021-08-27 19:38:22 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-12 12:18:58 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2021-08-27 19:38:22 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2025-06-12 12:18:58 +00:00
|
|
|
Requires: python-PyYAML
|
|
|
|
Requires: python-Sphinx >= 2
|
2021-08-27 19:38:22 +00:00
|
|
|
Requires: python-beautifulsoup4 >= 4.6.1
|
|
|
|
Requires: python-click
|
|
|
|
Requires: python-docutils >= 0.15
|
|
|
|
Requires: python-pydata-sphinx-theme
|
|
|
|
Suggests: python-ablog
|
|
|
|
Suggests: python-coverage
|
|
|
|
Suggests: python-folium
|
|
|
|
Suggests: python-importlib-resources >= 3.0
|
|
|
|
Suggests: python-ipywidgets
|
|
|
|
Suggests: python-matplotlib
|
|
|
|
Suggests: python-myst-nb
|
|
|
|
Suggests: python-myst_nb
|
|
|
|
Suggests: python-nbclient
|
|
|
|
Suggests: python-numpy
|
|
|
|
Suggests: python-pandas
|
|
|
|
Suggests: python-plotly
|
|
|
|
Suggests: python-pre-commit
|
|
|
|
Suggests: python-pytest
|
|
|
|
Suggests: python-pytest-cov
|
|
|
|
Suggests: python-pytest-regressions
|
|
|
|
Suggests: python-sphinx-autobuild
|
|
|
|
Suggests: python-sphinx-copybutton
|
|
|
|
Suggests: python-sphinx-design
|
|
|
|
Suggests: python-sphinx-thebe
|
|
|
|
Suggests: python-sphinx-togglebutton >= 0.2.1
|
|
|
|
Suggests: python-sphinx_thebe
|
|
|
|
Suggests: python-sphinxcontrib-bibtex
|
|
|
|
Suggests: python-sphinxext-opengraph
|
|
|
|
Suggests: python-web-compile
|
|
|
|
BuildArch: noarch
|
|
|
|
# SECTION test requirements
|
2025-06-12 12:18:58 +00:00
|
|
|
BuildRequires: %{python_module PyYAML}
|
|
|
|
BuildRequires: %{python_module Sphinx >= 2}
|
2021-08-27 19:38:22 +00:00
|
|
|
BuildRequires: %{python_module beautifulsoup4 >= 4.6.1}
|
|
|
|
BuildRequires: %{python_module click}
|
|
|
|
BuildRequires: %{python_module docutils >= 0.15}
|
|
|
|
BuildRequires: %{python_module pydata-sphinx-theme >= 0.6.0}
|
|
|
|
# /SECTION
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Jupyter Book: Create an online book with Jupyter Notebooks
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
%build
|
2025-06-12 12:18:58 +00:00
|
|
|
%pyproject_wheel
|
2021-08-27 19:38:22 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-12 12:18:58 +00:00
|
|
|
%pyproject_install
|
2021-08-27 19:38:22 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/sphinx_book_theme*
|
|
|
|
|
|
|
|
%changelog
|