From aab230f64020cf999ee8bc534c322d67b327c516b75b7fb9e6e1dae340060756 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 22 Mar 2024 19:14:59 +0000 Subject: [PATCH 1/3] Accepting request 1160757 from home:avicenzi:proton Add missing dependencies OBS-URL: https://build.opensuse.org/request/show/1160757 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-vpn-network-manager?expand=0&rev=4 --- python-proton-vpn-network-manager.changes | 5 +++++ python-proton-vpn-network-manager.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-proton-vpn-network-manager.changes b/python-proton-vpn-network-manager.changes index b942913..30cc4a4 100644 --- a/python-proton-vpn-network-manager.changes +++ b/python-proton-vpn-network-manager.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 21 15:13:08 UTC 2024 - Alexandre Vicenzi + +- Add missing dependency PyCairo and pytest-asyncio + ------------------------------------------------------------------- Tue Mar 19 15:11:27 UTC 2024 - Alexandre Vicenzi diff --git a/python-proton-vpn-network-manager.spec b/python-proton-vpn-network-manager.spec index 7fd510a..b70ec20 100644 --- a/python-proton-vpn-network-manager.spec +++ b/python-proton-vpn-network-manager.spec @@ -30,6 +30,8 @@ BuildRequires: %{python_module gobject} BuildRequires: %{python_module pip} BuildRequires: %{python_module proton-core} BuildRequires: %{python_module proton-vpn-connection} +BuildRequires: %{python_module pycairo} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} @@ -41,6 +43,7 @@ Requires: NetworkManager Requires: python-gobject Requires: python-proton-core Requires: python-proton-vpn-connection +Requires: python-pycairo Conflicts: python-protonvpn-nm-lib BuildArch: noarch %python_subpackages @@ -59,7 +62,9 @@ This package contains functionality for Proton VPN client to interact with Netwo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest tests +# test case is broken +# https://github.com/ProtonVPN/python-proton-vpn-network-manager/issues/2 +%pytest tests --deselect="tests/test_networkmanager.py::test_initialize_persisted_connection_determines_initial_connection_state" %files %{python_files} %license LICENSE From 9a951a48ec69f2bd38b78cc5c69414b2970cfea10998b2f7817a297e78c18182 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 25 Mar 2024 14:54:52 +0000 Subject: [PATCH 2/3] - update to 0.4.0: * Initialize connection with persisted parameters OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-vpn-network-manager?expand=0&rev=5 --- python-proton-vpn-network-manager.changes | 5 +++-- python-proton-vpn-network-manager.spec | 9 ++------- v0.3.3.tar.gz | 3 --- v0.4.0.tar.gz | 3 +++ 4 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 v0.3.3.tar.gz create mode 100644 v0.4.0.tar.gz diff --git a/python-proton-vpn-network-manager.changes b/python-proton-vpn-network-manager.changes index 30cc4a4..5a60664 100644 --- a/python-proton-vpn-network-manager.changes +++ b/python-proton-vpn-network-manager.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- -Thu Mar 21 15:13:08 UTC 2024 - Alexandre Vicenzi +Mon Mar 25 14:54:43 UTC 2024 - Dirk Müller -- Add missing dependency PyCairo and pytest-asyncio +- update to 0.4.0: + * Initialize connection with persisted parameters ------------------------------------------------------------------- Tue Mar 19 15:11:27 UTC 2024 - Alexandre Vicenzi diff --git a/python-proton-vpn-network-manager.spec b/python-proton-vpn-network-manager.spec index b70ec20..1c9d7d7 100644 --- a/python-proton-vpn-network-manager.spec +++ b/python-proton-vpn-network-manager.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-proton-vpn-network-manager -Version: 0.3.3 +Version: 0.4.0 Release: 0 Summary: Proton VPN library for NetworkManager License: GPL-3.0-or-later @@ -30,8 +30,6 @@ BuildRequires: %{python_module gobject} BuildRequires: %{python_module pip} BuildRequires: %{python_module proton-core} BuildRequires: %{python_module proton-vpn-connection} -BuildRequires: %{python_module pycairo} -BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} @@ -43,7 +41,6 @@ Requires: NetworkManager Requires: python-gobject Requires: python-proton-core Requires: python-proton-vpn-connection -Requires: python-pycairo Conflicts: python-protonvpn-nm-lib BuildArch: noarch %python_subpackages @@ -62,9 +59,7 @@ This package contains functionality for Proton VPN client to interact with Netwo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# test case is broken -# https://github.com/ProtonVPN/python-proton-vpn-network-manager/issues/2 -%pytest tests --deselect="tests/test_networkmanager.py::test_initialize_persisted_connection_determines_initial_connection_state" +%pytest tests %files %{python_files} %license LICENSE diff --git a/v0.3.3.tar.gz b/v0.3.3.tar.gz deleted file mode 100644 index ae810e4..0000000 --- a/v0.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ae77caec62e699333cd529e7f72df1153b20389171e06a4685c8baf9f39e542 -size 28790 diff --git a/v0.4.0.tar.gz b/v0.4.0.tar.gz new file mode 100644 index 0000000..ab603c3 --- /dev/null +++ b/v0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:048921553722531351c34480c69df62099c85a892f80e6ff657a00e244613a24 +size 29068 From 35e24e1194582ad36344e210c92e6761d1f66482c1e68d7c372ba59f3a7738ff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 25 Mar 2024 14:55:19 +0000 Subject: [PATCH 3/3] - Add missing dependency PyCairo and pytest-asyncio OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-vpn-network-manager?expand=0&rev=6 --- python-proton-vpn-network-manager.changes | 5 +++++ python-proton-vpn-network-manager.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-proton-vpn-network-manager.changes b/python-proton-vpn-network-manager.changes index 5a60664..ee59129 100644 --- a/python-proton-vpn-network-manager.changes +++ b/python-proton-vpn-network-manager.changes @@ -4,6 +4,11 @@ Mon Mar 25 14:54:43 UTC 2024 - Dirk Müller - update to 0.4.0: * Initialize connection with persisted parameters +------------------------------------------------------------------- +Thu Mar 21 15:13:08 UTC 2024 - Alexandre Vicenzi + +- Add missing dependency PyCairo and pytest-asyncio + ------------------------------------------------------------------- Tue Mar 19 15:11:27 UTC 2024 - Alexandre Vicenzi diff --git a/python-proton-vpn-network-manager.spec b/python-proton-vpn-network-manager.spec index 1c9d7d7..8067c11 100644 --- a/python-proton-vpn-network-manager.spec +++ b/python-proton-vpn-network-manager.spec @@ -30,6 +30,8 @@ BuildRequires: %{python_module gobject} BuildRequires: %{python_module pip} BuildRequires: %{python_module proton-core} BuildRequires: %{python_module proton-vpn-connection} +BuildRequires: %{python_module pycairo} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} @@ -41,6 +43,7 @@ Requires: NetworkManager Requires: python-gobject Requires: python-proton-core Requires: python-proton-vpn-connection +Requires: python-pycairo Conflicts: python-protonvpn-nm-lib BuildArch: noarch %python_subpackages @@ -59,7 +62,9 @@ This package contains functionality for Proton VPN client to interact with Netwo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest tests +# test case is broken +# https://github.com/ProtonVPN/python-proton-vpn-network-manager/issues/2 +%pytest tests --deselect="tests/test_networkmanager.py::test_initialize_persisted_connection_determines_initial_connection_state" %files %{python_files} %license LICENSE