14
0
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:
Matthias Bach
2022-02-17 09:15:51 +00:00
committed by Git OBS Bridge
parent 9f0de0069b
commit 2a5dce798c
2 changed files with 11 additions and 2 deletions

View File

@@ -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> Mon Jan 10 19:46:43 UTC 2022 - Matthias Bach <marix@marix.org>

View File

@@ -31,10 +31,10 @@ BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module emoji} BuildRequires: %{python_module emoji}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module ruamel.yaml} BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sleekxmpp}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-appdirs Requires: python-appdirs
@@ -78,7 +78,7 @@ Quickstart
%python_expand %fdupes %{buildroot}%{$python_sitelib}/ntfy* %python_expand %fdupes %{buildroot}%{$python_sitelib}/ntfy*
%check %check
%python_exec -m unittest discover -v %pytest --ignore 'tests/test_xmpp.py' -k 'not test_xmpp'
%post %post
%python_install_alternative ntfy %python_install_alternative ntfy