15
0

- Don't use nose, switch to pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-daemonize?expand=0&rev=13
This commit is contained in:
2020-06-04 10:30:51 +00:00
committed by Git OBS Bridge
parent c9a1fc38c1
commit e733c00ae9
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 4 10:01:47 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Don't use nose, switch to pytest.
-------------------------------------------------------------------
Thu Apr 30 07:54:44 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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