Hello community, here is the log from the commit of package python-pyte for openSUSE:Factory checked in at 2017-09-04 12:33:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyte (Old) and /work/SRC/openSUSE:Factory/.python-pyte.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyte" Mon Sep 4 12:33:35 2017 rev:2 rq:520032 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyte/python-pyte.changes 2016-10-19 13:01:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyte.new/python-pyte.changes 2017-09-04 12:33:38.162177063 +0200 @@ -1,0 +2,56 @@ +Thu Aug 31 21:23:16 UTC 2017 - toddrme2...@gmail.com + +- Update to 0.6.0 + * Optimized ``Stream.feed`` for plain-text input. The code was backported + from ``pymux`` project by Jonathan Slenders. + * Optimized ``Screen`` by changing ``Screen.buffer`` to dict-of-dicts. The + idea was borrowed from ``pymux`` project by Jonathan Slenders. The + implementation was done by @istarion. + * Further optimized ``Stream._parser_fsm`` by forcing static binding between + ``Stream`` events and ``Screen`` methods. The code was backported from + ``pmux`` project by Jonathan Slenders. + * Restricted ``Stream`` to a single listener and deprecated ``attach`` and + ``detach``. The old logic can be emulated by a fanout proxy, forwarding + events to a list of its listeners. + * Replaced ``DebugStream`` with ``DebugScreen`` to workaround the single + listener limitation (previsouly ``DebugStream`` implicitly added a + listener when instantiated). Unlike other screens ``DebugScreen`` does + not maintain any state. + * Changed ``DebugScreen`` to emit JSON instead of custom text format. + * Removed overly generic ``Screen.__before__`` and ``Screen.__after__``. + * Renamed ``Screen.set_charset`` to a more appropriate + ``Screen.define_charset``. + * Added support for ECMA-035 `DOCS` command to ``ByteStream`` which no longer + accepts ``encoding`` as an argument and instead sets it as instructed by + `DOCS`. The default encoding is assumed to be UTF-8. + * Added support for OSC sequences allowing to set terminal title and + icon name. + * Allowed 256 and 24bit colours in ``Screen.select_graphic_rendition``. + * Added support for ``aixterm`` colours in ``Screen.select_graphic_rendition``, + see issue #57 on GitHub. + * Changed ``Screen.select_graphic_rendition`` to ignore 0 if it is + given along with other attributes, ie ``"0;1;2"`` is now equivalent + to ``"1;2"``. + * Fixed rendering of multicolumn characters at ``Screen` boundaries. + Thanks to @shaform! See PR #55 on GitHub. + * Fixed ``Screen.display`` in the case of multicolumn characters. See + issue #52 on GitHub. + * Fixed `DECSTBM` handling in case of missing arguments. See issue #61 on + GitHub. + * Fixed the way ``Screen.cursor_up`` and ``Screen.cursor_down`` interact + with the scrolling region. See #63 on GitHub. + * Added a minimal web terminal example by @demiurg906. For a faster and + more fully-featured version, see + `demiurg906/pyte_gui <https://github.com/demiurg906/pyte_gui>`_. + * Fixed ``Screen.cursor_back`` when called after the draw in the last column. + * Fixed ``Screen.inser_characters`` when called with an argument larger + than the number of columns. Thanks to @istarion! See PR #74 on GitHub. + * Fixed ``Screen.erase_in_display`` which did not handle all values supported + by ``TERM=linux``. See #80 on GitHub. + +------------------------------------------------------------------- +Thu Aug 24 13:52:22 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -4,0 +61 @@ + Old: ---- pyte-0.5.2.tar.gz New: ---- pyte-0.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyte.spec ++++++ --- /var/tmp/diff_new_pack.plFeRI/_old 2017-09-04 12:33:39.282019610 +0200 +++ /var/tmp/diff_new_pack.plFeRI/_new 2017-09-04 12:33:39.286019048 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyte # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,20 +16,25 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-pyte -Version: 0.5.2 +Version: 0.6.0 Release: 0 Summary: Simple VTXXX-compatible linux terminal emulator License: LGPL-3.0 Group: Development/Languages/Python -Url: http://pyte.readthedocs.org/en/latest/ +Url: https://github.com/selectel/pyte Source: https://files.pythonhosted.org/packages/source/p/pyte/pyte-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-pytest -BuildRequires: python-pytest-runner -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wcwidth} +BuildRequires: python-rpm-macros +Requires: python-wcwidth BuildArch: noarch +%python_subpackages %description Curses-like terminal wrapper with a display based on compositing 2d @@ -39,14 +44,19 @@ %setup -q -n pyte-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} %defattr(-,root,root,-) -%{python_sitelib}/* %doc LICENSE README AUTHORS CHANGES docs/*rst +%{python_sitelib}/* %changelog ++++++ pyte-0.5.2.tar.gz -> pyte-0.6.0.tar.gz ++++++ ++++ 5145 lines of diff (skipped)