- Replace use of nose2 by pytest. There is no need to do anything
else. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=21
This commit is contained in:
parent
e7d26519eb
commit
d8656a9a58
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 16 11:27:23 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Replace use of nose2 by pytest. There is no need to do anything
|
||||||
|
else.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/tych0/xcffib
|
URL: https://github.com/tych0/xcffib
|
||||||
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi >= 1.1.0}
|
BuildRequires: %{python_module cffi >= 1.1.0}
|
||||||
BuildRequires: %{python_module nose2}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -55,7 +55,7 @@ replacement for xpyb.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nose2-%{$python_bin_suffix} -v
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run pytest-%{$python_bin_suffix} -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user