Accepting request 1012058 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1012058 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-manuel?expand=0&rev=12
This commit is contained in:
commit
2aae1d2c59
20
python-manuel-no-six.patch
Normal file
20
python-manuel-no-six.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: manuel-1.12.4/src/manuel/doctest.py
|
||||||
|
===================================================================
|
||||||
|
--- manuel-1.12.4.orig/src/manuel/doctest.py
|
||||||
|
+++ manuel-1.12.4/src/manuel/doctest.py
|
||||||
|
@@ -3,13 +3,13 @@ from __future__ import absolute_import
|
||||||
|
import doctest
|
||||||
|
import manuel
|
||||||
|
import os.path
|
||||||
|
-import six
|
||||||
|
+import io
|
||||||
|
|
||||||
|
DocTestRunner = doctest.DocTestRunner
|
||||||
|
DebugRunner = doctest.DebugRunner
|
||||||
|
|
||||||
|
|
||||||
|
-class DocTestResult(six.StringIO):
|
||||||
|
+class DocTestResult(io.StringIO):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 09:00:30 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- added patches
|
||||||
|
fix https://github.com/benji-york/manuel/issues/33
|
||||||
|
+ python-manuel-no-six.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 29 15:48:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Thu Sep 29 15:48:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
@ -27,12 +27,12 @@ URL: https://pypi.org/project/manuel/
|
|||||||
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
||||||
# add fixed sphinx config <hpj@urpla.net>
|
# add fixed sphinx config <hpj@urpla.net>
|
||||||
Source1: conf.py
|
Source1: conf.py
|
||||||
|
# https://github.com/benji-york/manuel/issues/33
|
||||||
|
Patch0: python-manuel-no-six.patch
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION Documentation requirements:
|
# SECTION Documentation requirements:
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
@ -55,7 +55,7 @@ Summary: Build tested documentation
|
|||||||
This package contains documentation files for %{name}.
|
This package contains documentation files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n manuel-%{version}
|
%autosetup -p1 -n manuel-%{version}
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user