Hello community,
here is the log from the commit of package yast2-python-bindings for
openSUSE:Factory checked in at 2018-09-26 14:23:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-python-bindings"
Wed Sep 26 14:23:37 2018 rev:38 rq:638222 version:4.0.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes
2018-06-02 12:13:17.329479872 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes
2018-09-26 14:23:45.133890251 +0200
@@ -1,0 +2,11 @@
+Sat Sep 15 15:04:15 UTC 2018 - [email protected]
+
+- Fix Id construction for python2, use items instead of iteritems
+ for python2/python3 compatability; (bsc#1108558).
+
+-------------------------------------------------------------------
+Mon Aug 20 13:57:26 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+
+-------------------------------------------------------------------
Old:
----
yast2-python-bindings-4.0.4.tar.bz2
New:
----
yast2-python-bindings-4.0.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-python-bindings.spec ++++++
--- /var/tmp/diff_new_pack.cU7Jz8/_old 2018-09-26 14:23:45.721889315 +0200
+++ /var/tmp/diff_new_pack.cU7Jz8/_new 2018-09-26 14:23:45.725889309 +0200
@@ -23,10 +23,10 @@
%endif
Name: yast2-python-bindings
-Version: 4.0.4
+Version: 4.0.5
Release: 0
Summary: Python bindings for the YaST platform
-License: GPL-2.0
+License: GPL-2.0-only
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-python-bindings-4.0.4.tar.bz2 ->
yast2-python-bindings-4.0.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/ContextMenu.py
new/yast2-python-bindings-4.0.5/examples/ContextMenu.py
--- old/yast2-python-bindings-4.0.4/examples/ContextMenu.py 2018-05-31
16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/examples/ContextMenu.py 2018-09-25
16:54:15.000000000 +0200
@@ -65,7 +65,7 @@
event = copy.deepcopy(event)
html = "<h3>Event:</h3><p>"
ycpbuiltins.y2milestone("formatEvent(%1)", event)
- for key, value in ycpbuiltins.foreach(event).iteritems():
+ for key, value in ycpbuiltins.foreach(event).items():
html = html + "<font color=blue>" + key + "</font>: " +
ycpbuiltins.tostring(value) + "<br>"
html = html + "</p>"
return html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/Events.py
new/yast2-python-bindings-4.0.5/examples/Events.py
--- old/yast2-python-bindings-4.0.4/examples/Events.py 2018-05-31
16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/examples/Events.py 2018-09-25
16:54:15.000000000 +0200
@@ -283,7 +283,7 @@
event = copy.deepcopy(event)
html = "<h3>Event:</h3><p>"
ycpbuiltins.y2milestone("formatEvent(%1)", event)
- for key, value in ycpbuiltins.foreach(event).iteritems():
+ for key, value in ycpbuiltins.foreach(event).items():
html = html + "<font color=blue>" + key + "</font>: " +
ycpbuiltins.tostring(value) + "<br>"
html = html + "</p>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.4/examples/GetDisplayInfo.py
new/yast2-python-bindings-4.0.5/examples/GetDisplayInfo.py
--- old/yast2-python-bindings-4.0.4/examples/GetDisplayInfo.py 2018-05-31
16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/examples/GetDisplayInfo.py 2018-09-25
16:54:15.000000000 +0200
@@ -12,7 +12,7 @@
info_map = UI.GetDisplayInfo()
info_text = "<ul>"
- for capability, value in ycpbuiltins.foreach(info_map).iteritems():
+ for capability, value in ycpbuiltins.foreach(info_map).items():
info_text = info_text + ycpbuiltins.sformat("<li>%1: %2</li>",
capability, value)
info_text = info_text + "<ul>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.4/examples/SlideShowDemo2.py
new/yast2-python-bindings-4.0.5/examples/SlideShowDemo2.py
--- old/yast2-python-bindings-4.0.4/examples/SlideShowDemo2.py 2018-05-31
16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/examples/SlideShowDemo2.py 2018-09-25
16:54:15.000000000 +0200
@@ -113,7 +113,7 @@
)
UI.WizardCommand(Term("SetBackButtonLabel", "S&tep"))
- slideShowPage = RichText(Id("slideText"), slide_text),
+ slideShowPage = RichText(Id("slideText"), slide_text)
cdTable = Table(
Id("cdTable"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.4/examples/Tree-Checkbox4.py
new/yast2-python-bindings-4.0.5/examples/Tree-Checkbox4.py
--- old/yast2-python-bindings-4.0.4/examples/Tree-Checkbox4.py 2018-05-31
16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/examples/Tree-Checkbox4.py 2018-09-25
16:54:15.000000000 +0200
@@ -82,7 +82,7 @@
def formatEvent(self, event):
event = copy.deepcopy(event)
html = "Event:"
- for key, value in ycpbuiltins.foreach(event).iteritems():
+ for key, value in ycpbuiltins.foreach(event).items():
html = html + " " + key + ": " + ycpbuiltins.tostring(value) + ""
return html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.4/package/yast2-python-bindings.changes
new/yast2-python-bindings-4.0.5/package/yast2-python-bindings.changes
--- old/yast2-python-bindings-4.0.4/package/yast2-python-bindings.changes
2018-05-31 16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/package/yast2-python-bindings.changes
2018-09-25 16:54:15.000000000 +0200
@@ -1,4 +1,15 @@
-------------------------------------------------------------------
+Sat Sep 15 15:04:15 UTC 2018 - [email protected]
+
+- Fix Id construction for python2, use items instead of iteritems
+ for python2/python3 compatability; (bsc#1108558).
+
+-------------------------------------------------------------------
+Mon Aug 20 13:57:26 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+
+-------------------------------------------------------------------
Tue May 29 15:49:44 UTC 2018 - [email protected]
- Don't package files in '/' (bsc#1095054).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.4/package/yast2-python-bindings.spec
new/yast2-python-bindings-4.0.5/package/yast2-python-bindings.spec
--- old/yast2-python-bindings-4.0.4/package/yast2-python-bindings.spec
2018-05-31 16:01:15.000000000 +0200
+++ new/yast2-python-bindings-4.0.5/package/yast2-python-bindings.spec
2018-09-25 16:54:15.000000000 +0200
@@ -23,10 +23,10 @@
%endif
Name: yast2-python-bindings
-Version: 4.0.4
+Version: 4.0.5
Release: 0
Summary: Python bindings for the YaST platform
-License: GPL-2.0
+License: GPL-2.0-only
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-python-bindings-4.0.4/src/yast.py
new/yast2-python-bindings-4.0.5/src/yast.py
--- old/yast2-python-bindings-4.0.4/src/yast.py 2018-05-31 16:01:15.000000000
+0200
+++ new/yast2-python-bindings-4.0.5/src/yast.py 2018-09-25 16:54:15.000000000
+0200
@@ -164,9 +164,9 @@
def Id(arg, dont_force_sym = False):
from ycp import pyval_to_ycp
from ycp import Term as YCPTerm
- from six import binary_type, text_type, PY2
+ from six import binary_type, string_types, PY2
l = List()
- if isinstance(arg, text_type) and not dont_force_sym:
+ if isinstance(arg, string_types) and not dont_force_sym:
if PY2:
l.add(Symbol(binary_type(arg)))
else: