Accepting request 1108002 from devel:languages:python

- Clean up the SPEC file
- Update to 1.0.7
  * 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/1108002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-applehelp?expand=0&rev=5
This commit is contained in:
Ana Guerrero 2023-09-04 20:52:24 +00:00 committed by Git OBS Bridge
commit 501f5eef46
4 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Aug 29 19:03:33 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Mon Aug 28 11:28:56 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Update to 1.0.7
* 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:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -25,25 +25,25 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-sphinxcontrib-applehelp%{psuffix}
Version: 1.0.4
Version: 1.0.7
Release: 0
Summary: Sphinx extension which outputs Apple help books
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-applehelp
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_applehelp/sphinxcontrib_applehelp-%{version}.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: python-rpm-macros
Requires: python-Sphinx
Requires: python-Sphinx >= 5.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module Sphinx >= 5.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sphinxcontrib-applehelp >= %{version}}
%endif
@ -53,7 +53,7 @@ BuildRequires: %{python_module sphinxcontrib-applehelp >= %{version}}
sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books
%prep
%setup -q -n sphinxcontrib-applehelp-%{version}
%setup -q -n sphinxcontrib_applehelp-%{version}
%build
%pyproject_wheel
@ -73,7 +73,9 @@ sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books
%files %{python_files}
%doc README.rst CHANGES
%license LICENSE
%{python_sitelib}/*
%dir %{python_sitelib}/sphinxcontrib
%{python_sitelib}/sphinxcontrib/applehelp
%{python_sitelib}/sphinxcontrib_applehelp-%{version}*-info
%endif
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:828f867945bbe39817c210a1abfd1bc4895c8b73fcaade56d45357a348a07d7e
size 24766

BIN
sphinxcontrib_applehelp-1.0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.