- update to 1.0.5:

* Use ``os.PathLike`` over ``pathlib.Path``
  * Fix tests for Sphinx 7.1 and below
  * Drop support for Python 3.5, 3.6, 3.7, and 3.8
  * Raise minimum required Sphinx version to 5.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-devhelp?expand=0&rev=10
This commit is contained in:
Dirk Mueller 2023-09-07 11:20:42 +00:00 committed by Git OBS Bridge
parent 905af5081e
commit bd63808ef5
4 changed files with 22 additions and 13 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 7 11:17:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.0.5:
* Use ``os.PathLike`` over ``pathlib.Path``
* Fix tests for Sphinx 7.1 and below
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:36:52 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:36:52 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,6 @@
# #
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -25,25 +24,26 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-sphinxcontrib-devhelp%{psuffix} Name: python-sphinxcontrib-devhelp%{psuffix}
Version: 1.0.2 Version: 1.0.5
Release: 0 Release: 0
Summary: Sphinx extension which outputs Devhelp documents Summary: Sphinx extension which outputs Devhelp documents
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-devhelp URL: https://github.com/sphinx-doc/sphinxcontrib-devhelp
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib-devhelp-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib_devhelp-%{version}.tar.gz
%if %{with test} %if %{with test}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx >= 5.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sphinxcontrib-devhelp >= %{version}} BuildRequires: %{python_module sphinxcontrib-devhelp >= %{version}}
%endif %endif
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
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
%python_subpackages %python_subpackages
@ -51,14 +51,14 @@ BuildArch: noarch
sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document. sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document.
%prep %prep
%setup -q -n sphinxcontrib-devhelp-%{version} %setup -q -n sphinxcontrib_devhelp-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif

BIN
sphinxcontrib-devhelp-1.0.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
sphinxcontrib_devhelp-1.0.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.