Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-protonvpn-nm-lib for 
openSUSE:Factory checked in at 2022-07-04 11:32:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-protonvpn-nm-lib (Old)
 and      /work/SRC/openSUSE:Factory/.python-protonvpn-nm-lib.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-protonvpn-nm-lib"

Mon Jul  4 11:32:44 2022 rev:5 rq:986478 version:3.11.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-protonvpn-nm-lib/python-protonvpn-nm-lib.changes
  2022-05-03 21:19:47.241059949 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-protonvpn-nm-lib.new.1548/python-protonvpn-nm-lib.changes
        2022-07-04 11:32:49.972019059 +0200
@@ -1,0 +2,21 @@
+Fri Jul  1 19:26:58 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 3.11.0
+  * Fix: When loading a session from keyring, update the app
+    version and user agent with the current ones
+- Release 3.10.0
+  * Introducing Proton's refreshed look. As we continue to make
+    privacy accessible to everyone, we've updated our apps to
+    provide you with an even better experience with our services.
+    Proton - Privacy by default
+- Release 3.9.0
+  * Fix: Crash when attempting to fetch netzone
+  * Fix: "1000:Permission Denied" error when killswitch is enabled
+- Release 3.8.0
+  * Improve: Server list
+  * Improve: Rename exception
+  * Feature: Moderate NAT, Non Standard Ports
+- Enable local (non-obs) testing when network connection is
+  available
+
+-------------------------------------------------------------------

Old:
----
  protonvpn-nm-lib-3.7.0.tar.gz

New:
----
  protonvpn-nm-lib-3.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-protonvpn-nm-lib.spec ++++++
--- /var/tmp/diff_new_pack.pqFe2e/_old  2022-07-04 11:32:50.460019845 +0200
+++ /var/tmp/diff_new_pack.pqFe2e/_new  2022-07-04 11:32:50.468019858 +0200
@@ -16,23 +16,38 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
+# test suite requires network connection, you can test locally with `rpmbuild 
--with test`
+%bcond_with test
 Name:           python-protonvpn-nm-lib
-Version:        3.7.0
+Version:        3.11.0
 Release:        0
-Summary:        ProtonVPN NetworkManager library
+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
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pyxdg}
-BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  gobject-introspection
 BuildRequires:  python-rpm-macros
+# SECTION check that all runtime requirements are available
+BuildRequires:  NetworkManager-openvpn
+BuildRequires:  %{python_module Jinja2}
+BuildRequires:  %{python_module dbus-python}
+BuildRequires:  %{python_module distro}
+BuildRequires:  %{python_module gobject}
+BuildRequires:  %{python_module keyring}
+BuildRequires:  %{python_module proton-client >= 0.5.0}
+BuildRequires:  %{python_module pyxdg}
+BuildRequires:  %{python_module systemd}
+BuildRequires:  dbus-1-x11
+# /SECTION
+%if %{with test}
+BuildRequires:  %{python_module pytest}
+%endif
 Requires:       NetworkManager-openvpn
 Requires:       dbus-1-x11
 Requires:       python-Jinja2
@@ -47,22 +62,28 @@
 %python_subpackages
 
 %description
-The ProtonVPN NetworkManager library
+The Proton VPN NetworkManager library
 
 %prep
 %setup -q -n protonvpn-nm-lib-%{version}
+sed -i '/addopts/d' setup.cfg
 
 %build
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{python_sitelib}/protonvpn_nm_lib
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with test}
+%check
+%pytest
+%endif
 
 %files %{python_files}
 %license LICENSE
 %doc README.md
 %{python_sitelib}/protonvpn_nm_lib
-%{python_sitelib}/protonvpn_nm_lib-*-py*.*-info
+%{python_sitelib}/protonvpn_nm_lib-%{version}*-info
 
 %changelog

++++++ protonvpn-nm-lib-3.7.0.tar.gz -> protonvpn-nm-lib-3.11.0.tar.gz ++++++
++++ 2131 lines of diff (skipped)

Reply via email to