From e733c00ae9535fcbd4564b7e54a2b2a2fa568ab7a721d94eb36ed0295fc01cf8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 4 Jun 2020 10:30:51 +0000 Subject: [PATCH] - Don't use nose, switch to pytest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-daemonize?expand=0&rev=13 --- python-daemonize.changes | 5 +++++ python-daemonize.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-daemonize.changes b/python-daemonize.changes index 242c440..ab1220c 100644 --- a/python-daemonize.changes +++ b/python-daemonize.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 4 10:01:47 UTC 2020 - Matej Cepl + +- Don't use nose, switch to pytest. + ------------------------------------------------------------------- Thu Apr 30 07:54:44 UTC 2020 - Tomáš Chvátal diff --git a/python-daemonize.spec b/python-daemonize.spec index 03db20e..2d39234 100644 --- a/python-daemonize.spec +++ b/python-daemonize.spec @@ -25,7 +25,7 @@ License: MIT URL: https://github.com/thesharp/daemonize Source: https://github.com/thesharp/daemonize/archive/v%{version}.tar.gz Patch0: no-python2.patch -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: procps @@ -49,7 +49,7 @@ daemonize is a library for writing system daemons in Python. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v +%pytest tests/test.py %files %{python_files} %license LICENSE