forked from pool/python-sphinx-book-theme
Accepting request 1285141 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1285141 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-book-theme?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 12:18:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 26 21:01:34 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Thu Aug 26 21:01:34 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinx-book-theme
|
# spec file for package python-sphinx-book-theme
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python36 1
|
|
||||||
%define modname sphinx-book-theme
|
%define modname sphinx-book-theme
|
||||||
Name: python-sphinx-book-theme
|
Name: python-sphinx-book-theme
|
||||||
Version: 0.1.3
|
Version: 0.1.3
|
||||||
@@ -25,18 +23,20 @@ Release: 0
|
|||||||
Summary: Jupyter Book: Create an online book with Jupyter Notebooks
|
Summary: Jupyter Book: Create an online book with Jupyter Notebooks
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/executablebooks/sphinx-book-theme
|
URL: https://github.com/executablebooks/sphinx-book-theme
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-book-theme/%{modname}-%{version}.tar.gz
|
||||||
Source98: python-sphinx-book-theme-rpmlintrc
|
Source98: python-sphinx-book-theme-rpmlintrc
|
||||||
Source99: add_lang_files.lua
|
Source99: add_lang_files.lua
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-PyYAML
|
||||||
|
Requires: python-Sphinx >= 2
|
||||||
Requires: python-beautifulsoup4 >= 4.6.1
|
Requires: python-beautifulsoup4 >= 4.6.1
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
Requires: python-docutils >= 0.15
|
Requires: python-docutils >= 0.15
|
||||||
Requires: python-pydata-sphinx-theme
|
Requires: python-pydata-sphinx-theme
|
||||||
Requires: python-PyYAML
|
|
||||||
Requires: python-Sphinx >= 2
|
|
||||||
Suggests: python-ablog
|
Suggests: python-ablog
|
||||||
Suggests: python-coverage
|
Suggests: python-coverage
|
||||||
Suggests: python-folium
|
Suggests: python-folium
|
||||||
@@ -64,12 +64,12 @@ Suggests: python-sphinxext-opengraph
|
|||||||
Suggests: python-web-compile
|
Suggests: python-web-compile
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
|
BuildRequires: %{python_module Sphinx >= 2}
|
||||||
BuildRequires: %{python_module beautifulsoup4 >= 4.6.1}
|
BuildRequires: %{python_module beautifulsoup4 >= 4.6.1}
|
||||||
BuildRequires: %{python_module click}
|
BuildRequires: %{python_module click}
|
||||||
BuildRequires: %{python_module docutils >= 0.15}
|
BuildRequires: %{python_module docutils >= 0.15}
|
||||||
BuildRequires: %{python_module pydata-sphinx-theme >= 0.6.0}
|
BuildRequires: %{python_module pydata-sphinx-theme >= 0.6.0}
|
||||||
BuildRequires: %{python_module PyYAML}
|
|
||||||
BuildRequires: %{python_module Sphinx >= 2}
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -80,10 +80,10 @@ Jupyter Book: Create an online book with Jupyter Notebooks
|
|||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user