2 Commits

Author SHA256 Message Date
3efa0fbe9f Accepting request 1186119 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1186119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-autoprogram?expand=0&rev=8
2024-07-08 17:08:52 +00:00
5371b0dad5 - update to 0.1.9:
* Test against Python 3.12.
  * Drop support for Python 3.7.
- drop sphinx6.patch skip-failing-test.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-autoprogram?expand=0&rev=18
2024-07-01 08:15:16 +00:00
2 changed files with 5 additions and 15 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Mon Jul 1 08:10:31 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-autoprogram
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,9 +39,7 @@ Source0: %{URL}/archive/%{version}/python-sphinxcontrib-%{short_name}-%{v
# Switch off failing tests by the environmental variable SKIPTESTS
Patch1: skip-failing-test.patch
BuildRequires: %{python_module Sphinx >= 1.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.2
@@ -73,7 +71,7 @@ it into a set of .. program:: and .. option:: directives.
%build
%if "%{flavor}" == ""
%pyproject_wheel
%python_build
%endif
%if "%{flavor}" == "doc"
sphinx-build -b html -d doc/_build/doctrees doc doc/_build/html
@@ -82,7 +80,7 @@ rm doc/_build/html/objects.inv
%install
%if "%{flavor}" == ""
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -96,11 +94,8 @@ export SKIPTESTS=1
%files %{python_files}
%doc README.rst
%license LICENSE
%dir %{python_sitelib}/sphinxcontrib
%dir %{python_sitelib}/sphinxcontrib/__pycache__
%{python_sitelib}/sphinxcontrib/autoprogram.py
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/autoprogram.*.pyc
%{python_sitelib}/sphinxcontrib_autoprogram-%{version}.dist-info
%{python_sitelib}/sphinxcontrib
%{python_sitelib}/sphinxcontrib_autoprogram-%{version}*-info
%{python_sitelib}/sphinxcontrib_autoprogram-%{version}*-nspkg.pth
%endif