From 2322f98b307e43acab8522500e028fbd7e67157b9828ffff1dd13dc4034b663c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 25 Sep 2023 14:33:08 +0000 Subject: [PATCH] Accepting request 1113466 from home:avicenzi:branches:devel:languages:python Update to 3.16.0 OBS-URL: https://build.opensuse.org/request/show/1113466 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-protonvpn-nm-lib?expand=0&rev=13 --- exclude-tests.patch | 13 +++++++++++++ protonvpn-nm-lib-3.14.0.tar.gz | 3 --- protonvpn-nm-lib-3.16.0.tar.gz | 3 +++ python-protonvpn-nm-lib.changes | 7 +++++++ python-protonvpn-nm-lib.spec | 7 ++++--- 5 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 exclude-tests.patch delete mode 100644 protonvpn-nm-lib-3.14.0.tar.gz create mode 100644 protonvpn-nm-lib-3.16.0.tar.gz diff --git a/exclude-tests.patch b/exclude-tests.patch new file mode 100644 index 0000000..f7c653a --- /dev/null +++ b/exclude-tests.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index e65ffcf..51c8220 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,7 +11,7 @@ Proton VPN NetworkManager library for Linux clients. + setup( + name="protonvpn-nm-lib", + version=APP_VERSION, +- packages=find_packages(), ++ packages=find_packages(exclude=["tests"]), + description="Proton VPN NetworkManager Linux library", + author="Proton Technologies AG", + author_email="contact@protonvpn.com", diff --git a/protonvpn-nm-lib-3.14.0.tar.gz b/protonvpn-nm-lib-3.14.0.tar.gz deleted file mode 100644 index c6c8b78..0000000 --- a/protonvpn-nm-lib-3.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42f03015957b53125124bfc2e5ec77536023b6c49410b861833a08a4912324d2 -size 110527 diff --git a/protonvpn-nm-lib-3.16.0.tar.gz b/protonvpn-nm-lib-3.16.0.tar.gz new file mode 100644 index 0000000..f5d82a2 --- /dev/null +++ b/protonvpn-nm-lib-3.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9edf705d435b65d54c7224d4bc853b4b7e02a228a57264083b2776b8424aee36 +size 107769 diff --git a/python-protonvpn-nm-lib.changes b/python-protonvpn-nm-lib.changes index f65568c..9a1adf5 100644 --- a/python-protonvpn-nm-lib.changes +++ b/python-protonvpn-nm-lib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 25 12:51:55 UTC 2023 - Alexandre Vicenzi + +- Update to 3.16.0 + * Fix connectivity issue if protonstatus is down + * Update openvpn template + ------------------------------------------------------------------- Mon Nov 28 14:07:39 UTC 2022 - Alexandre Vicenzi diff --git a/python-protonvpn-nm-lib.spec b/python-protonvpn-nm-lib.spec index 1509611..974963c 100644 --- a/python-protonvpn-nm-lib.spec +++ b/python-protonvpn-nm-lib.spec @@ -1,7 +1,7 @@ # # spec file for package python-protonvpn-nm-lib # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,13 +21,14 @@ # test suite requires network connection, you can test locally with `rpmbuild --with test` %bcond_with test Name: python-protonvpn-nm-lib -Version: 3.14.0 +Version: 3.16.0 Release: 0 Summary: Proton VPN NetworkManager library License: GPL-3.0-or-later Group: Development/Languages/Python URL: https://github.com/ProtonVPN/protonvpn-nm-lib Source: https://github.com/ProtonVPN/protonvpn-nm-lib/archive/refs/tags/%{version}.tar.gz#/protonvpn-nm-lib-%{version}.tar.gz +Patch1: exclude-tests.patch BuildRequires: %{python_module pyxdg} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -65,7 +66,7 @@ BuildArch: noarch The Proton VPN NetworkManager library %prep -%setup -q -n protonvpn-nm-lib-%{version} +%autosetup -n protonvpn-nm-lib-%{version} -p1 sed -i '/addopts/d' setup.cfg %build