forked from pool/python-pywebpush
Accepting request 967740 from home:pgajdos:python
- do not require python-mock for build OBS-URL: https://build.opensuse.org/request/show/967740 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywebpush?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 8 10:03:17 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- do not require python-mock for build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 28 01:08:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Tue Sep 28 01:08:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pywebpush
|
# spec file for package python-pywebpush
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -37,7 +37,6 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module cryptography >= 2.6.1}
|
BuildRequires: %{python_module cryptography >= 2.6.1}
|
||||||
BuildRequires: %{python_module http-ece >= 1.1.0}
|
BuildRequires: %{python_module http-ece >= 1.1.0}
|
||||||
BuildRequires: %{python_module mock >= 2.0.0}
|
|
||||||
BuildRequires: %{python_module py-vapid >= 1.5.0}
|
BuildRequires: %{python_module py-vapid >= 1.5.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.21.0}
|
BuildRequires: %{python_module requests >= 2.21.0}
|
||||||
@@ -59,6 +58,8 @@ WebPush publication library.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# https://github.com/web-push-libs/pywebpush/issues/146
|
||||||
|
sed -i 's:from mock:from unittest.mock:' pywebpush/tests/test_webpush.py
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user