forked from pool/python-ntfy
- Switch test execution to pytest to allow for deselecting tests of
optional functionality for which we lack the requiired dependencies. - Drop build dependency to the sleekxmpp Python module which got dropped from Factory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ntfy?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
9f0de0069b
commit
2a5dce798c
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 08:53:36 UTC 2022 - Matthias Bach <marix@marix.org> - 2.7.0
|
||||
|
||||
- Switch test execution to pytest to allow for deselecting tests of
|
||||
optional functionality for which we lack the requiired
|
||||
dependencies.
|
||||
- Drop build dependency to the sleekxmpp Python module which got
|
||||
dropped from Factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 19:46:43 UTC 2022 - Matthias Bach <marix@marix.org>
|
||||
|
||||
|
||||
@@ -31,10 +31,10 @@ BuildRequires: %{python_module appdirs}
|
||||
BuildRequires: %{python_module emoji}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module ruamel.yaml}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module sleekxmpp}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-appdirs
|
||||
@@ -78,7 +78,7 @@ Quickstart
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/ntfy*
|
||||
|
||||
%check
|
||||
%python_exec -m unittest discover -v
|
||||
%pytest --ignore 'tests/test_xmpp.py' -k 'not test_xmpp'
|
||||
|
||||
%post
|
||||
%python_install_alternative ntfy
|
||||
|
||||
Reference in New Issue
Block a user