forked from pool/python-restview
Accepting request 882576 from home:mcalabkova:branches:devel:languages:python
- Add false.patch to fix recent build failure OBS-URL: https://build.opensuse.org/request/show/882576 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-restview?expand=0&rev=9
This commit is contained in:
31
false.patch
Normal file
31
false.patch
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
From a1ded30a87c65f3ce59a18497a7fc5099317c2be Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marius Gedminas <marius@gedmin.as>
|
||||||
|
Date: Sat, 12 Dec 2020 13:21:04 +0200
|
||||||
|
Subject: [PATCH] New mock release returns False from patcher.stop()
|
||||||
|
|
||||||
|
---
|
||||||
|
src/restview/tests.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/restview/tests.py b/src/restview/tests.py
|
||||||
|
index c868c57..2b33ce2 100644
|
||||||
|
--- a/src/restview/tests.py
|
||||||
|
+++ b/src/restview/tests.py
|
||||||
|
@@ -669,7 +669,7 @@ def doctest_RestViewer_rest_to_html_strict_and_error_handling():
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
- >>> stderr_patcher.stop()
|
||||||
|
+ >>> _ = stderr_patcher.stop()
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
@@ -718,7 +718,7 @@ def doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling():
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
- >>> stderr_patcher.stop()
|
||||||
|
+ >>> _ = stderr_patcher.stop()
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 1 12:58:17 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add false.patch to fix recent build failure
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 11:07:59 UTC 2021 - pgajdos@suse.com
|
Wed Jan 13 11:07:59 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -25,6 +25,8 @@ License: GPL-3.0-only
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://mg.pov.lt/restview/
|
URL: https://mg.pov.lt/restview/
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/restview/restview-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/restview/restview-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM https://github.com/mgedmin/restview/commit/a1ded30a87c65f3ce59a18497a7fc5099317c2be New mock release returns False from patcher.stop()
|
||||||
|
Patch0: false.patch
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -48,6 +50,7 @@ A viewer for ReStructuredText documents that renders them on the fly.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n restview-%{version}
|
%setup -q -n restview-%{version}
|
||||||
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user