Accepting request 716814 from devel:languages:python
- Fix building with pytest4+ OBS-URL: https://build.opensuse.org/request/show/716814 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fields?expand=0&rev=3
This commit is contained in:
commit
6854dc77bd
@ -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>
|
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
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ionelmc/python-fields
|
URL: https://github.com/ionelmc/python-fields
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -49,6 +46,9 @@ Features:
|
|||||||
# do not do benchmark tests, in virtual they don't make much sense and we
|
# do not do benchmark tests, in virtual they don't make much sense and we
|
||||||
# avoid cycle with pytest-benchmark
|
# avoid cycle with pytest-benchmark
|
||||||
sed -i -e '/--benchmark-disable/d' setup.cfg
|
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
|
rm tests/test_perf.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user