- Add no-warnings-as-errors.patch:
* Do not treat warnings as errors until upstream fix using async loops. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=93
This commit is contained in:
parent
9753d3cc8e
commit
fa61b789b2
13
no-warnings-as-errors.patch
Normal file
13
no-warnings-as-errors.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: Jinja2-3.0.1/setup.cfg
|
||||||
|
===================================================================
|
||||||
|
--- Jinja2-3.0.1.orig/setup.cfg
|
||||||
|
+++ Jinja2-3.0.1/setup.cfg
|
||||||
|
@@ -44,8 +44,6 @@ babel.extractors =
|
||||||
|
|
||||||
|
[tool:pytest]
|
||||||
|
testpaths = tests
|
||||||
|
-filterwarnings =
|
||||||
|
- error
|
||||||
|
|
||||||
|
[coverage:run]
|
||||||
|
branch = True
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 10 08:07:58 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add no-warnings-as-errors.patch:
|
||||||
|
* Do not treat warnings as errors until upstream fix using async loops.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 6 07:34:44 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Fri Aug 6 07:34:44 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Summary: A template engine written in pure Python
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://jinja.palletsprojects.com
|
URL: https://jinja.palletsprojects.com
|
||||||
Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||||
|
Patch0: no-warnings-as-errors.patch
|
||||||
BuildRequires: %{python_module MarkupSafe >= 0.23}
|
BuildRequires: %{python_module MarkupSafe >= 0.23}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -51,6 +52,7 @@ sandboxed environment.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Jinja2-%{version}
|
%setup -q -n Jinja2-%{version}
|
||||||
|
%autopatch -p1
|
||||||
dos2unix LICENSE.rst # Fix wrong EOL encoding
|
dos2unix LICENSE.rst # Fix wrong EOL encoding
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user