14
0

Accepting request 1107997 from devel:languages:python

- Clean up the SPEC file
- Update to 2.0.4
  * Drop support for Python 3.8
  * Raise minimum required Sphinx version to 5.0
  * Fix tests for Sphinx 7.1 and below

OBS-URL: https://build.opensuse.org/request/show/1107997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-htmlhelp?expand=0&rev=7
This commit is contained in:
2023-09-04 20:52:22 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 11 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Aug 29 18:06:26 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Mon Aug 28 11:32:57 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Update to 2.0.4
* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0
* Fix tests for Sphinx 7.1 and below
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:36:54 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:36:54 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,8 +16,8 @@
# #
%{?sle15_python_module_pythons}
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@@ -26,23 +26,23 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-sphinxcontrib-htmlhelp%{psuffix} Name: python-sphinxcontrib-htmlhelp%{psuffix}
Version: 2.0.1 Version: 2.0.4
Release: 0 Release: 0
Summary: Sphinx contrib extension to generate html help files Summary: Sphinx contrib extension to generate html help files
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx Requires: python-Sphinx >= 5.0
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx >= 5.0}
BuildRequires: %{python_module html5lib} BuildRequires: %{python_module html5lib}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sphinxcontrib-htmlhelp >= %{version}} BuildRequires: %{python_module sphinxcontrib-htmlhelp >= %{version}}
@@ -53,7 +53,7 @@ BuildRequires: %{python_module sphinxcontrib-htmlhelp >= %{version}}
Html help generating extension. Html help generating extension.
%prep %prep
%autosetup -p1 -n sphinxcontrib-htmlhelp-%{version} %autosetup -p1 -n sphinxcontrib_htmlhelp-%{version}
%build %build
%pyproject_wheel %pyproject_wheel
@@ -73,7 +73,9 @@ Html help generating extension.
%files %{python_files} %files %{python_files}
%doc README.rst CHANGES %doc README.rst CHANGES
%license LICENSE %license LICENSE
%{python_sitelib}/* %dir %{python_sitelib}/sphinxcontrib
%{python_sitelib}/sphinxcontrib/htmlhelp
%{python_sitelib}/sphinxcontrib_htmlhelp-%{version}*-info
%endif %endif
%changelog %changelog

BIN
sphinxcontrib-htmlhelp-2.0.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c26a118a05b76000738429b724a0568dbde5b72391a688577da08f11891092a
size 21799