From 649045f057a0b932b11406d7c6fec3640912835f907a0571ef0e5ff55702358f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 17 Jun 2020 13:26:33 +0000 Subject: [PATCH] Accepting request 815523 from home:pgajdos:python - nose -> pytest OBS-URL: https://build.opensuse.org/request/show/815523 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lzo?expand=0&rev=4 --- python-python-lzo.changes | 5 +++++ python-python-lzo.spec | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-python-lzo.changes b/python-python-lzo.changes index 063b49f..ff0c5c1 100644 --- a/python-python-lzo.changes +++ b/python-python-lzo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 17 13:14:01 UTC 2020 - pgajdos@suse.com + +- nose -> pytest + ------------------------------------------------------------------- Wed Apr 10 08:06:57 UTC 2019 - Jan Engelhardt diff --git a/python-python-lzo.spec b/python-python-lzo.spec index 7ecca1f..52dc037 100644 --- a/python-python-lzo.spec +++ b/python-python-lzo.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-lzo # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,14 +23,13 @@ Release: 0 Summary: Python bindings for the LZO data compression library License: GPL-2.0-only Group: Development/Languages/Python -Url: https://github.com/jd-boyd/python-lzo +URL: https://github.com/jd-boyd/python-lzo Source: https://files.pythonhosted.org/packages/source/p/python-lzo/python-lzo-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: lzo-devel BuildRequires: python-rpm-macros - %python_subpackages %description @@ -52,9 +51,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -nosetests-%{$python_bin_suffix} -} +%pytest_arch tests/test.py %files %{python_files} %doc NEWS