forked from pool/python-sphinxcontrib-programoutput
Accepting request 697141 from home:mcalabkova:branches:devel:languages:python
- update to version 0.14 * Add python_requires metadata to better allow tools like pip to install a correct version. * Add support for Sphinx 2.0 on Python 3. * Avoid unicode errors when the program command or output produced non-ASCII output and the configured prompt was a byte string. * Drop support for Sphinx < 1.7. * Fix tests on Sphinx >= 1.8.0. * Fix deprecation warnings on Sphinx >= 1.8. * Explicitly set parallel_read_safe to true in the extension metadata. OBS-URL: https://build.opensuse.org/request/show/697141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-programoutput?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
ea1268634b
commit
5ef706a2bc
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinxcontrib-programoutput
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,20 +17,20 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
%bcond_without test
|
||||
Name: python-sphinxcontrib-programoutput
|
||||
Version: 0.10
|
||||
Version: 0.14
|
||||
Release: 0
|
||||
Summary: Sphinx extension to include program output
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sphinxcontrib-programoutput.readthedocs.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module Sphinx >= 1.8}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx
|
||||
Requires: python-Sphinx >= 1.8
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -54,9 +54,7 @@ documents, helping you to keep your command examples up to date.
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user