Hello community,
here is the log from the commit of package python-python-xlib for openSUSE:Factory checked in at 2018-12-03 10:04:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-xlib (Old)
and /work/SRC/openSUSE:Factory/.python-python-xlib.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-xlib"
Mon Dec 3 10:04:55 2018 rev:2 rq:652147 version:0.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-xlib/python-python-xlib.changes 2017-09-04 12:35:27.730771292 +0200
+++ /work/SRC/openSUSE:Factory/.python-python-xlib.new.19453/python-python-xlib.changes 2018-12-03 10:05:00.468005863 +0100
@@ -1,0 +2,26 @@
+Tue Nov 27 11:21:53 UTC 2018 - Tomáš Chvátal
+
+- Make sure the tests are run
+
+-------------------------------------------------------------------
+Tue Nov 27 09:04:39 UTC 2018 - sor.alexei@meowr.ru
+
+- Update to version 0.23 (changes since 0.19):
+ * Fix unclosed file in Xauth implementation.
+ * Fix support for Window.set_wm_transient_for.
+ * Fix support for Drawable.put_image / Drawable.get_image.
+ * Use Latin-1 for decoding strings in Python 3 (same as Python 2).
+ * Fix Python 3 warnings about array.tostring() (deprecated).
+ * When DISPLAY does not specify a protocol, and the implicit Unix
+ socket connection fails, fallback to TCP (mimicking XCB's
+ behaviour).
+ * Fix Display.change_pointer_control implementation.
+ * Fix Drawable.put_pil_image implementation.
+ * Don't bundle a copy of texi2html to build the HTML
+ documentation, but use the currently installed version instead.
+ * Improve response processing performance: reduce the number of
+ `socket.recv` calls needed to receive a full response.
+- Remove python-xlib-0.14-increase-receiving-buffer.patch: no
+ longer needed, see commit 1958a82.
+
+-------------------------------------------------------------------
Old:
----
python-xlib-0.14-increase-receiving-buffer.patch
python-xlib-0.19.tar.bz2
New:
----
python-xlib-0.23.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-xlib.spec ++++++
--- /var/tmp/diff_new_pack.Uey6LT/_old 2018-12-03 10:05:01.432004981 +0100
+++ /var/tmp/diff_new_pack.Uey6LT/_new 2018-12-03 10:05:01.432004981 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-python-xlib
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,34 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
-%define X_display ":98"
%define oldpython python
Name: python-python-xlib
-Version: 0.19
+Version: 0.23
Release: 0
Summary: Python X11 interface
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Libraries/Python
-Url: https://github.com/python-xlib/python-xlib
+URL: https://github.com/python-xlib/python-xlib
Source: https://files.pythonhosted.org/packages/source/p/python-xlib/python-xlib-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM python-xlib-0.14-increase-receiving-buffer.patch deb#357507
-Patch0: python-xlib-0.14-increase-receiving-buffer.patch
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools_scm}
+BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with test}
-BuildRequires: xorg-x11-server
-%endif
+BuildRequires: xvfb-run
Requires: python-six >= 1.10.0
+BuildArch: noarch
%ifpython2
Provides: %{oldpython}-xlib = %{version}
Obsoletes: %{oldpython}-xlib < %{version}
@@ -48,8 +44,6 @@
Provides: python3-xlib = %{version}
Obsoletes: python3-xlib < %{version}
%endif
-BuildArch: noarch
-
%python_subpackages
%description
@@ -58,29 +52,21 @@
%prep
%setup -q -n python-xlib-%{version}
-%patch0 -p1
%build
-export CFLAGS="%{optflags}"
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-export DISPLAY=%{X_display}
-Xvfb %{X_display} >& Xvfb.log &
-trap "kill $! || true" EXIT
-sleep 10
-%python_exec runtests.py
-%endif
+%python_expand xvfb-run --server-args "-screen 0 1920x1080x24" $python runtests.py
%files %{python_files}
-%defattr(-,root,root)
-%doc LICENSE README.rst NEWS TODO
+%license LICENSE
+%doc CHANGELOG.md README.rst TODO
%{python_sitelib}/Xlib/
-%{python_sitelib}/python_xlib-*py*.egg-info
+%{python_sitelib}/python_xlib-*
%changelog
++++++ python-xlib-0.19.tar.bz2 -> python-xlib-0.23.tar.bz2 ++++++
++++ 16605 lines of diff (skipped)