2025-02-25 15:47:17 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 14 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 24 12:57:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- update to 0.18:
* Drop support for Python < 3.8. This means Python 2 is no longer
supported.
* Drop setuptools dependency. Instead, use a native pkgutil namespace
package.
* Now requires docutils >= 0.18.1. This effectively requires Sphinx
versions newer than 5.0.
* Add the language option. Added in :pr:`62` by Even Rouault.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 5 12:36:56 UTC 2024 - ecsos <ecsos@opensuse.org> Fri Jan 5 12:36:56 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sphinxcontrib-programoutput # spec file for package python-sphinxcontrib-programoutput
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,18 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-sphinxcontrib-programoutput Name: python-sphinxcontrib-programoutput
Version: 0.17 Version: 0.18
Release: 0 Release: 0
Summary: Sphinx extension to include program output Summary: Sphinx extension to include program output
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://sphinxcontrib-programoutput.readthedocs.org/ URL: http://sphinxcontrib-programoutput.readthedocs.org/
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_programoutput/sphinxcontrib_programoutput-%{version}.tar.gz
BuildRequires: %{python_module Sphinx >= 1.8} BuildRequires: %{python_module Sphinx >= 5.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.8 Requires: python-Sphinx >= 5.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -41,16 +41,17 @@ A Sphinx extension to literally insert the output of arbitrary commands into
documents, helping you to keep your command examples up to date. documents, helping you to keep your command examples up to date.
%prep %prep
%setup -q -n sphinxcontrib-programoutput-%{version} %setup -q -n sphinxcontrib_programoutput-%{version}
%build %build
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_build %pyproject_wheel
%install %install
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_install %pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/programoutput/tests/ %{python_expand rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/programoutput/tests/
rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/__*
%fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{$python_sitelib}
} }
@@ -62,7 +63,6 @@ export LANG=en_US.UTF-8
%license LICENSE %license LICENSE
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/sphinxcontrib/programoutput/ %{python_sitelib}/sphinxcontrib/programoutput/
%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*-nspkg.pth %{python_sitelib}/sphinxcontrib_programoutput-%{version}*info
%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*.egg-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:300ee9b8caee8355d25cc74b4d1c7efd12e608d2ad165e3141d31e6fbc152b7f
size 24067

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09e68b6411d937a80b6085f4fdeaa42e0dc5555480385938465f410589d2eed8
size 26333