From bd63808ef5462e9338b7ba9073d022f21027b72d93c786f969a0417384581ba3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Sep 2023 11:20:42 +0000 Subject: [PATCH] - 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 --- python-sphinxcontrib-devhelp.changes | 9 +++++++++ python-sphinxcontrib-devhelp.spec | 20 ++++++++++---------- sphinxcontrib-devhelp-1.0.2.tar.gz | 3 --- sphinxcontrib_devhelp-1.0.5.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 13 deletions(-) delete mode 100644 sphinxcontrib-devhelp-1.0.2.tar.gz create mode 100644 sphinxcontrib_devhelp-1.0.5.tar.gz diff --git a/python-sphinxcontrib-devhelp.changes b/python-sphinxcontrib-devhelp.changes index 072f930..4b6e97f 100644 --- a/python-sphinxcontrib-devhelp.changes +++ b/python-sphinxcontrib-devhelp.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 7 11:17:56 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-sphinxcontrib-devhelp.spec b/python-sphinxcontrib-devhelp.spec index f28787d..eb635ab 100644 --- a/python-sphinxcontrib-devhelp.spec +++ b/python-sphinxcontrib-devhelp.spec @@ -16,7 +16,6 @@ # -%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,25 +24,26 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-sphinxcontrib-devhelp%{psuffix} -Version: 1.0.2 +Version: 1.0.5 Release: 0 Summary: Sphinx extension which outputs Devhelp documents License: BSD-2-Clause Group: Development/Languages/Python 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} -BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module Sphinx >= 5.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinxcontrib-devhelp >= %{version}} %endif -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Sphinx +Requires: python-Sphinx >= 5.0 BuildArch: noarch %python_subpackages @@ -51,14 +51,14 @@ BuildArch: noarch sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document. %prep -%setup -q -n sphinxcontrib-devhelp-%{version} +%setup -q -n sphinxcontrib_devhelp-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif diff --git a/sphinxcontrib-devhelp-1.0.2.tar.gz b/sphinxcontrib-devhelp-1.0.2.tar.gz deleted file mode 100644 index 6621eb7..0000000 --- a/sphinxcontrib-devhelp-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4 -size 17398 diff --git a/sphinxcontrib_devhelp-1.0.5.tar.gz b/sphinxcontrib_devhelp-1.0.5.tar.gz new file mode 100644 index 0000000..0490be3 --- /dev/null +++ b/sphinxcontrib_devhelp-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63b41e0d38207ca40ebbeabcf4d8e51f76c03e78cd61abe118cf4435c73d4212 +size 12343