From d8656a9a58aed0899651623e1beb669704c30cc9d7a8531d3b157b23d854e362 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 16 Jul 2021 11:27:41 +0000 Subject: [PATCH] - 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 --- python-xcffib.changes | 6 ++++++ python-xcffib.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-xcffib.changes b/python-xcffib.changes index 0f27d28..78cad74 100644 --- a/python-xcffib.changes +++ b/python-xcffib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 16 11:27:23 UTC 2021 - Matej Cepl + +- 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á diff --git a/python-xcffib.spec b/python-xcffib.spec index e8d48fb..cef14c1 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -27,7 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/tych0/xcffib Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module nose2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -55,7 +55,7 @@ replacement for xpyb. %python_expand %fdupes %{buildroot}%{$python_sitelib} %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} %license LICENSE