Hello community,

here is the log from the commit of package python-xcffib for openSUSE:Factory 
checked in at 2019-05-07 23:12:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xcffib (Old)
 and      /work/SRC/openSUSE:Factory/.python-xcffib.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xcffib"

Tue May  7 23:12:47 2019 rev:5 rq:701054 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xcffib/python-xcffib.changes      
2019-03-29 20:36:46.646606612 +0100
+++ /work/SRC/openSUSE:Factory/.python-xcffib.new.5148/python-xcffib.changes    
2019-05-07 23:12:49.564145684 +0200
@@ -1,0 +2,6 @@
+Mon May  6 10:35:38 UTC 2019 - pgaj...@suse.com
+
+- version update to 0.8.0
+  * Fix few more instances of inefficient struct format 
+
+-------------------------------------------------------------------

Old:
----
  xcffib-0.7.0.tar.gz

New:
----
  xcffib-0.8.0.tar.gz

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

Other differences:
------------------
++++++ python-xcffib.spec ++++++
--- /var/tmp/diff_new_pack.0w2chV/_old  2019-05-07 23:12:50.188146911 +0200
+++ /var/tmp/diff_new_pack.0w2chV/_new  2019-05-07 23:12:50.192146918 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-xcffib
-Version:        0.7.0
+Version:        0.8.0
 Release:        0
 Summary:        A drop in replacement for xpyb, an XCB python binding
 License:        Apache-2.0

++++++ xcffib-0.7.0.tar.gz -> xcffib-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcffib-0.7.0/PKG-INFO new/xcffib-0.8.0/PKG-INFO
--- old/xcffib-0.7.0/PKG-INFO   2019-02-15 02:31:18.000000000 +0100
+++ new/xcffib-0.8.0/PKG-INFO   2019-05-04 23:06:20.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: xcffib
-Version: 0.7.0
+Version: 0.8.0
 Summary: A drop in replacement for xpyb, an XCB python binding
 Home-page: http://github.com/tych0/xcffib
 Author: Tycho Andersen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcffib-0.7.0/setup.py new/xcffib-0.8.0/setup.py
--- old/xcffib-0.7.0/setup.py   2019-02-15 02:31:17.000000000 +0100
+++ new/xcffib-0.8.0/setup.py   2019-05-04 23:06:19.000000000 +0200
@@ -60,7 +60,7 @@
         cffi_modules=["xcffib/ffi_build.py:ffi"]
     )
 
-version = "0.7.0"
+version = "0.8.0"
 dependencies = ['six', requires_cffi]
 
 setup(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcffib-0.7.0/xcffib/__init__.py 
new/xcffib-0.8.0/xcffib/__init__.py
--- old/xcffib-0.7.0/xcffib/__init__.py 2019-02-15 02:31:17.000000000 +0100
+++ new/xcffib-0.8.0/xcffib/__init__.py 2019-05-04 23:06:19.000000000 +0200
@@ -38,7 +38,7 @@
 lib = ffi.dlopen(soname)
 
 __xcb_proto_version__ = "1.13"
-__version__ = "0.7.0"
+__version__ = "0.8.0"
 
 X_PROTOCOL = lib.X_PROTOCOL
 X_PROTOCOL_REVISION = lib.X_PROTOCOL_REVISION
@@ -415,7 +415,7 @@
         old = unpacker.offset
 
         if isinstance(typ, str):
-            self.list = list(unpacker.unpack(typ * count))
+            self.list = list(unpacker.unpack("%d%s" % (count, typ)))
         elif count is not None:
             for _ in range(count):
                 item = typ(unpacker)
@@ -461,7 +461,7 @@
 
     def to_atoms(self):
         """ A helper for converting a List of chars to an array of atoms """
-        return struct.unpack("<" + "I" * (len(self) // 4), b''.join(self))
+        return struct.unpack("<" + "%dI" % (len(self) // 4), b''.join(self))
 
     def buf(self):
         return self.raw
@@ -779,7 +779,7 @@
             from_ = [six.int2byte(b) for i in from_ for b in to_bytes(i)]
 
     if isinstance(pack_type, six.string_types):
-        return struct.pack("=" + pack_type * len(from_), *from_)
+        return struct.pack("=%d%s" % (len(from_), pack_type), *from_)
     else:
         buf = six.BytesIO()
         for item in from_:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcffib-0.7.0/xcffib.egg-info/PKG-INFO 
new/xcffib-0.8.0/xcffib.egg-info/PKG-INFO
--- old/xcffib-0.7.0/xcffib.egg-info/PKG-INFO   2019-02-15 02:31:18.000000000 
+0100
+++ new/xcffib-0.8.0/xcffib.egg-info/PKG-INFO   2019-05-04 23:06:20.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: xcffib
-Version: 0.7.0
+Version: 0.8.0
 Summary: A drop in replacement for xpyb, an XCB python binding
 Home-page: http://github.com/tych0/xcffib
 Author: Tycho Andersen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcffib-0.7.0/xcffib.egg-info/requires.txt 
new/xcffib-0.8.0/xcffib.egg-info/requires.txt
--- old/xcffib-0.7.0/xcffib.egg-info/requires.txt       2019-02-15 
02:31:18.000000000 +0100
+++ new/xcffib-0.8.0/xcffib.egg-info/requires.txt       2019-05-04 
23:06:20.000000000 +0200
@@ -1,2 +1,2 @@
-six
 cffi>=1.1.0
+six


Reply via email to