Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PySDL2 for openSUSE:Factory 
checked in at 2023-07-18 21:55:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PySDL2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-PySDL2.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PySDL2"

Tue Jul 18 21:55:13 2023 rev:12 rq:1099029 version:0.9.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PySDL2/python-PySDL2.changes      
2022-11-27 12:53:13.967277838 +0100
+++ /work/SRC/openSUSE:Factory/.python-PySDL2.new.3193/python-PySDL2.changes    
2023-07-18 21:55:28.674747023 +0200
@@ -1,0 +2,31 @@
+Sun Jul 16 06:08:53 UTC 2023 - mun...@googlemail.com
+
+- Update to 0.9.16:
+  * Updated to wrap new functions and constants in SDL 2.28.0.
+  * Added a new method to sdl2.ext.Renderer, Renderer.rcopy(), for
+    drawing textures to the renderer with relative alignment.
+  * Added a new module, sdl2.ext.input for processing common SDL
+    input events in a Pythonic manner.
+  * Added a new function sdl2.ext.quit_requested() for checking
+    whether an SDL event queue contains any sdl2.SDL_QUIT events.
+
+- Update to 0.9.15:
+  * Updated to wrap new functions and constants in SDL 2.26.0.
+  * Added a new module sdl2.ext.mouse for showing/hiding/moving/
+    retrieving the mouse cursor and querying the current state of
+    the mouse buttons.
+  * Added indexing/unpacking support to the sdl2.ext.Point and
+    sdl2.ext.Rect classes and their float equivalents.
+  * Updated sdl2.ext.SpriteFactory.from_image() to allow passing
+    PIL.Image.Image objects directly.
+  * Improved sdl2.ext.Texture performance.
+  * Fixed a bug preventing SDL Points and Rects from being used
+    as srcrect or dstrect for sdl2.ext.Renderer.copy().
+  * Added a binding for SDL_ResetHint, which was added in SDL
+    2.24.0 but got missed in PR #246.
+
+- Adjust fix-tests.patch
+- Remove fix-version_test.patch (fixed upstream)
+- Remove python-PySDL2.rpmlintrc (obsolete)
+
+-------------------------------------------------------------------

Old:
----
  PySDL2-0.9.14.tar.gz
  fix-version_test.patch
  python-PySDL2.rpmlintrc

New:
----
  PySDL2-0.9.16.tar.gz

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

Other differences:
------------------
++++++ python-PySDL2.spec ++++++
--- /var/tmp/diff_new_pack.hQcFDw/_old  2023-07-18 21:55:29.310750578 +0200
+++ /var/tmp/diff_new_pack.hQcFDw/_new  2023-07-18 21:55:29.314750601 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PySDL2
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,14 @@
 
 %define         X_display         ":98"
 Name:           python-PySDL2
-Version:        0.9.14
+Version:        0.9.16
 Release:        0
 Summary:        Python ctypes wrapper around SDL2
 License:        SUSE-Public-Domain
 URL:            https://github.com/py-sdl/py-sdl2
 Source:         
https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz
-Source99:       python-PySDL2.rpmlintrc
 # PATCH-FIX-OPENSUSE fix-tests.patch to make test work in chroot env without 
access to /dev/input
 Patch0:         fix-tests.patch
-# PATCH-FIX-UPSTREAM fix-version_test.patch gh#py-sdl/py-sdl2#248
-Patch1:         fix-version_test.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ PySDL2-0.9.14.tar.gz -> PySDL2-0.9.16.tar.gz ++++++
++++ 3806 lines of diff (skipped)

++++++ fix-tests.patch ++++++
--- /var/tmp/diff_new_pack.hQcFDw/_old  2023-07-18 21:55:29.562751987 +0200
+++ /var/tmp/diff_new_pack.hQcFDw/_new  2023-07-18 21:55:29.562751987 +0200
@@ -1,106 +1,18 @@
-Index: PySDL2-0.9.14/sdl2/test/conftest.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/conftest.py
-+++ PySDL2-0.9.14/sdl2/test/conftest.py
-@@ -13,7 +13,8 @@ SKIP_ANNOYING = os.getenv("PYSDL2_ALL_TE
- def with_sdl():
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO | sdl2.SDL_INIT_TIMER)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     yield
-     sdl2.SDL_Quit()
-Index: PySDL2-0.9.14/sdl2/test/audio_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/audio_test.py
-+++ PySDL2-0.9.14/sdl2/test/audio_test.py
-@@ -23,7 +23,8 @@ def with_sdl_audio():
-     sdl2.SDL_Quit()
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO | sdl2.SDL_INIT_AUDIO)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     yield
-     sdl2.SDL_Quit()
-Index: PySDL2-0.9.14/sdl2/test/hints_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/hints_test.py
-+++ PySDL2-0.9.14/sdl2/test/hints_test.py
-@@ -9,7 +9,8 @@ from sdl2.stdinc import SDL_TRUE, SDL_FA
- def with_sdl():
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     yield
-     sdl2.SDL_Quit()
-Index: PySDL2-0.9.14/sdl2/test/sdlmixer_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/sdlmixer_test.py
-+++ PySDL2-0.9.14/sdl2/test/sdlmixer_test.py
-@@ -32,7 +32,8 @@ def with_sdl_mixer():
-     # Initialize SDL2 with video and audio subsystems
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO | sdl2.SDL_INIT_AUDIO)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     # Initialize SDL_mixer and open an audio device
-     flags = (
-Index: PySDL2-0.9.14/sdl2/test/touch_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/touch_test.py
-+++ PySDL2-0.9.14/sdl2/test/touch_test.py
-@@ -18,7 +18,8 @@ def with_sdl():
-     sdl2.SDL_SetHint(sdl2.SDL_HINT_MOUSE_TOUCH_EVENTS, b"1")
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     yield
-     sdl2.SDL_Quit()
-@@ -86,4 +87,4 @@ def test_SDL_GetTouchFinger():
-             assert finger.contents.id >= 0
-             assert 0 <= finger.contents.x <= 1
-             assert 0 <= finger.contents.y <= 1
--                
-\ No newline at end of file
-+                
-Index: PySDL2-0.9.14/sdl2/test/sdl_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/sdl_test.py
-+++ PySDL2-0.9.14/sdl2/test/sdl_test.py
-@@ -40,7 +40,8 @@ def test_SDL_Init():
- def test_SDL_InitSubSystem():
-     sdl2.SDL_ClearError()
-     ret = sdl2.SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     # Test initializing an additional subsystem
-     assert sdl2.SDL_WasInit(0) & SDL_INIT_TIMER != SDL_INIT_TIMER
-Index: PySDL2-0.9.14/sdl2/test/video_test.py
-===================================================================
---- PySDL2-0.9.14.orig/sdl2/test/video_test.py
-+++ PySDL2-0.9.14/sdl2/test/video_test.py
-@@ -194,7 +194,8 @@ def test_SDL_VideoInitQuit():
-     # Test with default driver
-     assert sdl2.SDL_WasInit(0) & sdl2.SDL_INIT_VIDEO != sdl2.SDL_INIT_VIDEO
-     ret = sdl2.SDL_VideoInit(None)
--    assert sdl2.SDL_GetError() == b""
-+    # Ignore errors like Unable to open /dev/input/...
-+    # assert sdl2.SDL_GetError() == b""
-     assert ret == 0
-     assert sdl2.SDL_GetCurrentVideoDriver() # If initialized, should be string
-     sdl2.SDL_VideoQuit()
+--- a/sdl2/test/hidapi_test.py
++++ b/sdl2/test/hidapi_test.py
+@@ -38,10 +38,12 @@ def test_SDL_hid_device_change_count(hid
+ 
+ def test_SDL_hid_enumerate(hidapi_setup):
+     devices = sdl2.SDL_hid_enumerate(0, 0)
+-    assert SDL_GetError() == b""
++    # Ignore errors like Unable to open /dev/input/...
++    #assert SDL_GetError() == b""
+     if devices != None:
+         sdl2.SDL_hid_free_enumeration(devices)
+-        assert SDL_GetError() == b""
++        # Ignore errors like Unable to open /dev/input/...
++        #assert SDL_GetError() == b""
+ 
+ 
+ @pytest.mark.skip("not implemented")
 

Reply via email to