Accepting request 1225161 from network:vpn
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1225161 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proton-vpn-api-core?expand=0&rev=6
This commit is contained in:
commit
679f9a71d2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 12 12:07:11 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||||
|
|
||||||
|
- Enable sentry-sdk only in Tumbleweed
|
||||||
|
* Not available in Leap/SLE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 24 00:35:05 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
|
Thu Oct 24 00:35:05 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
@ -34,7 +34,10 @@ BuildRequires: %{python_module proton-core}
|
|||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
# sentry-sdk is not mandatory and only available in TW
|
||||||
|
%if 0%{?suse_version} > 1600
|
||||||
BuildRequires: %{python_module sentry-sdk}
|
BuildRequires: %{python_module sentry-sdk}
|
||||||
|
%endif
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -44,7 +47,10 @@ Requires: python-PyNaCl
|
|||||||
Requires: python-cryptography
|
Requires: python-cryptography
|
||||||
Requires: python-distro
|
Requires: python-distro
|
||||||
Requires: python-proton-core
|
Requires: python-proton-core
|
||||||
|
# sentry-sdk is not mandatory and only available in TW
|
||||||
|
%if 0%{?suse_version} > 1600
|
||||||
Requires: python-sentry-sdk
|
Requires: python-sentry-sdk
|
||||||
|
%endif
|
||||||
Conflicts: python-proton-vpn-connection
|
Conflicts: python-proton-vpn-connection
|
||||||
Conflicts: python-proton-vpn-killswitch
|
Conflicts: python-proton-vpn-killswitch
|
||||||
Conflicts: python-proton-vpn-logger
|
Conflicts: python-proton-vpn-logger
|
||||||
@ -65,8 +71,14 @@ This package contains a facade to the other Proton VPN components, exposing a un
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if 0%{?suse_version} > 1600
|
||||||
|
# Failing tests, needs to be investigated
|
||||||
# See https://github.com/ProtonVPN/python-proton-vpn-api-core/issues/4
|
# See https://github.com/ProtonVPN/python-proton-vpn-api-core/issues/4
|
||||||
%pytest tests --deselect="tests/connection/test_vpnconfiguration.py"
|
%pytest tests --ignore=tests/connection/test_vpnconfiguration.py
|
||||||
|
%else
|
||||||
|
# sentry-sdk is not mandatory and only available in TW
|
||||||
|
%pytest tests --ignore=tests/connection/test_vpnconfiguration.py --ignore=tests/core/test_usage.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user