- Fix building with pytest4+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fields?expand=0&rev=6
This commit is contained in:
parent
04eafcc7ef
commit
1f5b7fb587
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 08:55:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix building with pytest4+
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 15:33:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -25,9 +25,6 @@ License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ionelmc/python-fields
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
||||
BuildRequires: %{python_module attr}
|
||||
BuildRequires: %{python_module characteristic}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -49,6 +46,9 @@ Features:
|
||||
# do not do benchmark tests, in virtual they don't make much sense and we
|
||||
# avoid cycle with pytest-benchmark
|
||||
sed -i -e '/--benchmark-disable/d' setup.cfg
|
||||
# do not run doctests, needless dependencies pulled in that way
|
||||
sed -i -e '/doctest/d' setup.cfg
|
||||
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
||||
rm tests/test_perf.py
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user