Dominique Leuenberger 2024-11-01 20:05:58 +00:00 committed by Git OBS Bridge
commit 3885081197
4 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 24 11:44:51 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
- Update to 0.9.1
- Replace requires python-proton-vpn-connection with python-proton-vpn-api-core
- Conflicts python-proton-vpn-network-manager-openvpn
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 22 11:59:17 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com> Wed May 22 11:59:17 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@ -19,7 +19,7 @@
%define skip_python2 1 %define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-proton-vpn-network-manager Name: python-proton-vpn-network-manager
Version: 0.4.2 Version: 0.9.1
Release: 0 Release: 0
Summary: Proton VPN library for NetworkManager Summary: Proton VPN library for NetworkManager
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -31,7 +31,7 @@ Patch1: keyring.patch
BuildRequires: %{python_module gobject} BuildRequires: %{python_module gobject}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module proton-core} BuildRequires: %{python_module proton-core}
BuildRequires: %{python_module proton-vpn-connection} BuildRequires: %{python_module proton-vpn-api-core}
BuildRequires: %{python_module pycairo} BuildRequires: %{python_module pycairo}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-cov}
@ -44,8 +44,9 @@ BuildRequires: python-rpm-macros
Requires: NetworkManager Requires: NetworkManager
Requires: python-gobject Requires: python-gobject
Requires: python-proton-core Requires: python-proton-core
Requires: python-proton-vpn-connection Requires: python-proton-vpn-api-core
Requires: python-pycairo Requires: python-pycairo
Conflicts: python-proton-vpn-network-manager-openvpn
Conflicts: python-protonvpn-nm-lib Conflicts: python-protonvpn-nm-lib
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -64,9 +65,8 @@ This package contains functionality for Proton VPN client to interact with Netwo
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# test case is broken # buildroot doesn't provide network manager service, so it is not possible to run killswitch tests
# https://github.com/ProtonVPN/python-proton-vpn-network-manager/issues/2 %pytest tests --deselect "tests/integration/killswitch/default/test_killswitch_connection.py" --deselect "tests/integration/killswitch/wireguard/test_killswitch_connection.py"
%pytest tests --deselect="tests/test_networkmanager.py::test_initialize_persisted_connection_determines_initial_connection_state"
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2666012e1d6d25ba9e6ad2da0d2ee664becf02013596fb2686a81139360339b
size 29266

3
v0.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f66205b0d318e2de85f35bd0a6be1212b9f3140c2dffbcca003b37b28acd4ebd
size 59890