Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-asciimatics for 
openSUSE:Factory checked in at 2022-03-08 20:31:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asciimatics (Old)
 and      /work/SRC/openSUSE:Factory/.python-asciimatics.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asciimatics"

Tue Mar  8 20:31:49 2022 rev:5 rq:960219 version:1.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asciimatics/python-asciimatics.changes    
2020-08-17 14:40:31.730585957 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-asciimatics.new.2349/python-asciimatics.changes
  2022-03-11 11:52:03.951035190 +0100
@@ -1,0 +2,44 @@
+Tue Mar  8 12:57:31 UTC 2022 - pgaj...@suse.com
+
+- add %autopatch back, it was mistakenly removed
+
+-------------------------------------------------------------------
+Mon Mar  7 13:02:41 UTC 2022 - pgaj...@suse.com
+
+- version update to 1.13.0
+  1.13.0
+  ------
+  - Added ability to change a `Button`'s text through a `.text` attribute.
+  - Added ability to accept a name attribute in the `Button` and `Label` 
constructors.
+  - Added ability to detect job pause/resume and force full screen refresh.
+  - Added ability to request terminal default colours using 
`Screen.COLOUR_DEFAULT`.
+  - Converted widgets to a sub-package.
+  - Fixed issue with labels in a layout column preventing buttons from being 
pressed.
+  - Fixed issue with visual overrun on Listboxes when there is a label offset.
+  - Fixed issue with TextBox hitting IndexError in double buffers due to lack 
of clipping.
+  - Fixed issue with Text/TextBox start columns on reset.
+  - Added troubleshooting on terminal colour handling.
+  1.12.0
+  ------
+  - Added ColouredText objects to handle embedded colour codes in text for 
some widgets.
+  - Added parsers to handle Asciimatics and Ansi Terminal escape sequences.
+  - Added ControlCodeParser to create human readable text from raw text with 
control codes in it.
+  - Added readonly logic for Text and TextBox.
+  - Added ability to enable/disable widgets by column in layouts.
+  - Added left/right/up/down navigation to nearest widget.
+  - Added ability to scroll screen/canvas by variable number of lines.
+  - Created terminal demo
+  - Fixed exception on reinstating NoneType signal handler.
+  - Fixed float/int issue with recent builds of pywin32.
+  - Fixed issue where setting options changed the selected value (even if it 
was still present).
+  - Fixed erroneous trigger of on_load for all Frames at start of day.
+  - Fixed bug where Frames passed on events that they already handled.
+  - Fixed bug: Restore current theme on screen resize.
+  - Fixed bug in scrolling the screen up.
+- deleted patches
+  - pr_200.patch (upstreamed)
+- added patches
+  fix https://github.com/peterbrittain/asciimatics/issues/347
+  + python-asciimatics-no-mock.patch
+
+-------------------------------------------------------------------

Old:
----
  asciimatics-1.11.0.tar.gz
  pr_200.patch

New:
----
  asciimatics-1.13.0.tar.gz
  python-asciimatics-no-mock.patch

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

Other differences:
------------------
++++++ python-asciimatics.spec ++++++
--- /var/tmp/diff_new_pack.ODxiL5/_old  2022-03-11 11:52:04.355035664 +0100
+++ /var/tmp/diff_new_pack.ODxiL5/_new  2022-03-11 11:52:04.363035674 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-asciimatics
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-asciimatics
-Version:        1.11.0
+Version:        1.13.0
 Release:        0
 Summary:        Package to replace curses and create ASCII animations
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/peterbrittain/asciimatics
 Source:         
https://files.pythonhosted.org/packages/source/a/asciimatics/asciimatics-%{version}.tar.gz
-# isatty test skips see https://github.com/peterbrittain/asciimatics/issues/216
-Patch0:         pr_200.patch
+# https://github.com/peterbrittain/asciimatics/issues/347
+Patch0:         python-asciimatics-no-mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -40,7 +40,6 @@
 BuildRequires:  %{python_module Pillow >= 2.7.0}
 BuildRequires:  %{python_module curses}
 BuildRequires:  %{python_module future}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pyfiglet >= 0.7.2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wcwidth}

++++++ asciimatics-1.11.0.tar.gz -> asciimatics-1.13.0.tar.gz ++++++
++++ 13456 lines of diff (skipped)

++++++ python-asciimatics-no-mock.patch ++++++
Index: asciimatics-1.13.0/tests/test_effects.py
===================================================================
--- asciimatics-1.13.0.orig/tests/test_effects.py       2020-09-18 
16:37:11.000000000 +0200
+++ asciimatics-1.13.0/tests/test_effects.py    2022-03-07 13:53:31.271205331 
+0100
@@ -1,7 +1,7 @@
 from builtins import chr
 import unittest
 from datetime import datetime
-from mock.mock import MagicMock, patch
+from unittest.mock import MagicMock, patch
 from random import randint
 import os
 import sys
Index: asciimatics-1.13.0/tests/test_particles.py
===================================================================
--- asciimatics-1.13.0.orig/tests/test_particles.py     2020-09-18 
16:37:11.000000000 +0200
+++ asciimatics-1.13.0/tests/test_particles.py  2022-03-07 13:54:14.599457606 
+0100
@@ -1,5 +1,5 @@
 import unittest
-from mock.mock import MagicMock
+from unittest.mock import MagicMock
 from asciimatics.particles import ShootScreen, DropScreen, Explosion, Rain, \
     StarFirework, PalmFirework, RingFirework, SerpentFirework
 from asciimatics.screen import Screen, Canvas
Index: asciimatics-1.13.0/tests/test_screen.py
===================================================================
--- asciimatics-1.13.0.orig/tests/test_screen.py        2021-03-06 
18:11:13.000000000 +0100
+++ asciimatics-1.13.0/tests/test_screen.py     2022-03-07 13:54:48.895656238 
+0100
@@ -5,7 +5,7 @@ from __future__ import print_function
 from __future__ import unicode_literals
 
 import os
-from mock import MagicMock
+from unittest.mock import MagicMock
 from random import randint
 import unittest
 import sys
Index: asciimatics-1.13.0/tests/test_widgets.py
===================================================================
--- asciimatics-1.13.0.orig/tests/test_widgets.py       2021-04-05 
16:20:35.000000000 +0200
+++ asciimatics-1.13.0/tests/test_widgets.py    2022-03-07 13:58:16.396856253 
+0100
@@ -5,13 +5,12 @@ from __future__ import print_function
 from __future__ import unicode_literals
 from datetime import date, time
 from time import sleep
-from mock import patch
+from unittest.mock import MagicMock,patch
 from builtins import ord
 from builtins import chr
 from builtins import str
 import unittest
 import sys
-from mock.mock import MagicMock
 from asciimatics.event import KeyboardEvent, MouseEvent
 from asciimatics.exceptions import NextScene, StopApplication, InvalidFields
 from asciimatics.scene import Scene

Reply via email to