forked from pool/python-daemonize
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user