14
0

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
This commit is contained in:
2023-09-25 14:33:08 +00:00
committed by Git OBS Bridge
parent 37ae7c2aa2
commit 2322f98b30
5 changed files with 27 additions and 6 deletions

13
exclude-tests.patch Normal file
View File

@@ -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",

View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 25 12:51:55 UTC 2023 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
- 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 <alexandre.vicenzi@suse.com>

View File

@@ -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