Hello community, here is the log from the commit of package python-xcffib for openSUSE:Factory checked in at 2020-02-14 16:24:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xcffib (Old) and /work/SRC/openSUSE:Factory/.python-xcffib.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xcffib" Fri Feb 14 16:24:56 2020 rev:7 rq:770566 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xcffib/python-xcffib.changes 2019-06-22 11:23:12.681324021 +0200 +++ /work/SRC/openSUSE:Factory/.python-xcffib.new.26092/python-xcffib.changes 2020-02-14 16:25:03.199180190 +0100 @@ -1,0 +2,7 @@ +Thu Feb 6 12:33:30 UTC 2020 - Marketa Calabkova <[email protected]> + +- update to 0.9.0 + * add Python 3.8 + * test: don't fail when there is no pre-existing display + +------------------------------------------------------------------- Old: ---- xcffib-0.8.1.tar.gz New: ---- xcffib-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xcffib.spec ++++++ --- /var/tmp/diff_new_pack.1H27BO/_old 2020-02-14 16:25:03.799180516 +0100 +++ /var/tmp/diff_new_pack.1H27BO/_new 2020-02-14 16:25:03.803180518 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-xcffib # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xcffib -Version: 0.8.1 +Version: 0.9.0 Release: 0 Summary: A drop in replacement for xpyb, an XCB python binding License: Apache-2.0 Group: Development/Languages/Python -URL: http://github.com/tych0/xcffib +URL: https://github.com/tych0/xcffib Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} BuildRequires: %{python_module nose} ++++++ xcffib-0.8.1.tar.gz -> xcffib-0.9.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/PKG-INFO new/xcffib-0.9.0/PKG-INFO --- old/xcffib-0.8.1/PKG-INFO 2019-06-03 03:51:53.000000000 +0200 +++ new/xcffib-0.9.0/PKG-INFO 2019-12-26 22:05:49.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: xcffib -Version: 0.8.1 +Version: 0.9.0 Summary: A drop in replacement for xpyb, an XCB python binding Home-page: http://github.com/tych0/xcffib Author: Tycho Andersen @@ -14,9 +14,10 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/README.md new/xcffib-0.9.0/README.md --- old/xcffib-0.8.1/README.md 2018-10-11 23:32:44.000000000 +0200 +++ new/xcffib-0.9.0/README.md 2019-06-04 04:47:34.000000000 +0200 @@ -95,7 +95,7 @@ to actually catch if you wanted to handle an error. Instead, `FooError` and `BadFoo` are aliases, and both implement the X error object description and python Exception (via inheriting from `XcffibException`). -* You can now create synthtic events. This makes it much easier to work with +* You can now create synthetic events. This makes it much easier to work with `ClientMessageEvent`s. For example: ```python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/setup.py new/xcffib-0.9.0/setup.py --- old/xcffib-0.8.1/setup.py 2019-06-03 03:51:52.000000000 +0200 +++ new/xcffib-0.9.0/setup.py 2019-12-26 22:05:48.000000000 +0100 @@ -60,7 +60,7 @@ cffi_modules=["xcffib/ffi_build.py:ffi"] ) -version = "0.8.1" +version = "0.9.0" dependencies = ['six', requires_cffi] setup( @@ -75,6 +75,7 @@ install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], + package_data={'xcffib': ['py.typed']}, zip_safe=False, cmdclass={ 'build': binding_build, @@ -86,9 +87,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/test/test_python_code.py new/xcffib-0.9.0/test/test_python_code.py --- old/xcffib-0.8.1/test/test_python_code.py 2019-06-03 03:29:43.000000000 +0200 +++ new/xcffib-0.9.0/test/test_python_code.py 2019-06-03 16:23:44.000000000 +0200 @@ -145,7 +145,10 @@ class TestXcffibTestGenerator(object): def test_XcffibTest_generator(self): - old_display = os.environ['DISPLAY'] + try: + old_display = os.environ['DISPLAY'] + except KeyError: + old_display = "" # use some non-default width/height with XcffibTest(width=1001, height=502) as test: assert os.environ['DISPLAY'] != old_display diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/xcffib/__init__.py new/xcffib-0.9.0/xcffib/__init__.py --- old/xcffib-0.8.1/xcffib/__init__.py 2019-06-03 03:51:52.000000000 +0200 +++ new/xcffib-0.9.0/xcffib/__init__.py 2019-12-26 22:05:48.000000000 +0100 @@ -38,7 +38,7 @@ lib = ffi.dlopen(soname) __xcb_proto_version__ = "1.13" -__version__ = "0.8.1" +__version__ = "0.9.0" X_PROTOCOL = lib.X_PROTOCOL X_PROTOCOL_REVISION = lib.X_PROTOCOL_REVISION @@ -106,10 +106,11 @@ self.offset += type_pad(size, self.offset) def unpack(self, fmt, increment=True): + fmt = "=" + fmt size = struct.calcsize(fmt) if size > self.size - self.offset: self._resize(size) - ret = struct.unpack_from("=" + fmt, self.buf, self.offset) + ret = struct.unpack_from(fmt, self.buf, self.offset) if increment: self.offset += size diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/xcffib.egg-info/PKG-INFO new/xcffib-0.9.0/xcffib.egg-info/PKG-INFO --- old/xcffib-0.8.1/xcffib.egg-info/PKG-INFO 2019-06-03 03:51:53.000000000 +0200 +++ new/xcffib-0.9.0/xcffib.egg-info/PKG-INFO 2019-12-26 22:05:49.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: xcffib -Version: 0.8.1 +Version: 0.9.0 Summary: A drop in replacement for xpyb, an XCB python binding Home-page: http://github.com/tych0/xcffib Author: Tycho Andersen @@ -14,9 +14,10 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcffib-0.8.1/xcffib.egg-info/SOURCES.txt new/xcffib-0.9.0/xcffib.egg-info/SOURCES.txt --- old/xcffib-0.8.1/xcffib.egg-info/SOURCES.txt 2019-06-03 03:51:53.000000000 +0200 +++ new/xcffib-0.9.0/xcffib.egg-info/SOURCES.txt 2019-12-26 22:05:49.000000000 +0100 @@ -18,6 +18,7 @@ xcffib/ge.py xcffib/glx.py xcffib/present.py +xcffib/py.typed xcffib/randr.py xcffib/record.py xcffib/render.py
