Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package brickv for openSUSE:Factory checked 
in at 2022-08-18 16:49:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/brickv (Old)
 and      /work/SRC/openSUSE:Factory/.brickv.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "brickv"

Thu Aug 18 16:49:32 2022 rev:12 rq:997980 version:2.4.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/brickv/brickv.changes    2022-01-08 
23:24:38.962282098 +0100
+++ /work/SRC/openSUSE:Factory/.brickv.new.2083/brickv.changes  2022-08-18 
16:49:48.721535996 +0200
@@ -1,0 +2,13 @@
+Thu Aug 18 10:57:06 UTC 2022 - Frank Kunz <[email protected]>
+
+- Update to new upstream version 2.4.22
+  - Add support for GPS Bricklet 3.0 and ESP32 (Ethernet) Brick
+  - Add Data Logger support for GPS Bricklet 3.0
+  - Improve plot color palette for dark themes
+  - Rework plot timing logic to greatly reduce jitter
+  - Draw a vertical line to indicate time jumps in plots
+  - Fix driver installation on Windows
+  - Upgrade bundled Python to 3.9 on Windows (Windows 8.1 required)
+  - added 0001-red-Handle-service-provider-country-codes-missing-in.patch to 
fix build
+
+-------------------------------------------------------------------

Old:
----
  v2.4.21.tar.gz

New:
----
  0001-red-Handle-service-provider-country-codes-missing-in.patch
  v2.4.22.tar.gz

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

Other differences:
------------------
++++++ brickv.spec ++++++
--- /var/tmp/diff_new_pack.gUMVd9/_old  2022-08-18 16:49:49.589538017 +0200
+++ /var/tmp/diff_new_pack.gUMVd9/_new  2022-08-18 16:49:49.597538035 +0200
@@ -18,13 +18,14 @@
 
 
 Name:           brickv
-Version:        2.4.21
+Version:        2.4.22
 Release:        0
 Summary:        Tinkerforge Brick Viewer
 License:        GPL-2.0-only
 Group:          Development/Tools/Debuggers
 URL:            http://www.tinkerforge.com
 Source0:        
https://github.com/Tinkerforge/brickv/archive/v%{version}.tar.gz
+Patch0:         0001-red-Handle-service-provider-country-codes-missing-in.patch
 BuildRequires:  %{python_module qt5}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 # remove unneeded shebangs
 sed -i 's|#!/usr/bin/env python3||g' src/brickv/main.py
 sed -i 's|#!/usr/bin/env python3||g' 
src/brickv/plugin_system/plugins/red/build_serviceproviders.py

++++++ 0001-red-Handle-service-provider-country-codes-missing-in.patch ++++++
>From 38339ae4a102acf13c250aa962d45acae5624b52 Mon Sep 17 00:00:00 2001
From: Erik Fleckstein <[email protected]>
Date: Wed, 27 Jul 2022 14:37:49 +0200
Subject: [PATCH] red: Handle service provider country codes missing in
 ISO-3166 database.

---
 .../plugin_system/plugins/red/build_serviceproviders.py      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/brickv/plugin_system/plugins/red/build_serviceproviders.py 
b/src/brickv/plugin_system/plugins/red/build_serviceproviders.py
index 3b7d95ca..87a11c93 100644
--- a/src/brickv/plugin_system/plugins/red/build_serviceproviders.py
+++ b/src/brickv/plugin_system/plugins/red/build_serviceproviders.py
@@ -3,7 +3,7 @@
 """
 Copyright (C) 2015 Ishraq Ibne Ashraf <[email protected]>
 Copyright (C) 2015 Matthias Bolte <[email protected]>
-Copyright (C) 2020 Erik Fleckstein <[email protected]>
+Copyright (C) 2020, 2022 Erik Fleckstein <[email protected]>
 
 build_serviceproviders.py: Generate python dicts for mobile internet feature
 
@@ -114,6 +114,9 @@ def main():
 
         for dict_c in dict_provider['country']:
             code_country = dict_c['@code']
+            if code_country.upper() not in dict_country_all:
+                print('    Skipping country with code {}: not found in 
ISO-3166 database'.format(code_country))
+                continue
             dict_country[code_country] = dict_country_all[code_country.upper()]
 
     except Exception as e:
-- 
2.37.1


++++++ v2.4.21.tar.gz -> v2.4.22.tar.gz ++++++
/work/SRC/openSUSE:Factory/brickv/v2.4.21.tar.gz 
/work/SRC/openSUSE:Factory/.brickv.new.2083/v2.4.22.tar.gz differ: char 13, 
line 1

Reply via email to