Hello community, here is the log from the commit of package python-PySDL2 for openSUSE:Leap:15.2 checked in at 2020-03-29 14:56:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-PySDL2 (Old) and /work/SRC/openSUSE:Leap:15.2/.python-PySDL2.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PySDL2" Sun Mar 29 14:56:38 2020 rev:12 rq:789337 version:0.9.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-PySDL2/python-PySDL2.changes 2020-03-09 18:01:21.652698233 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-PySDL2.new.3160/python-PySDL2.changes 2020-03-29 14:56:44.167206686 +0200 @@ -1,0 +2,23 @@ +Fri Mar 27 10:23:12 UTC 2020 - Marketa Calabkova <[email protected]> + +- update to version 0.9.7 + * The minimum required SDL version is 2.0.5 + * The minimum required SDL_ttf version is 2.0.14 + * The minimum required SDL_mixer version is 2.0.1 + * The minimum required SDL_image version is 2.0.1 + * Improved compatibility with older SDL2 releases by raising informative + exceptions whenever a function requiring a newer SDL2 binary is called + * fixed bug preventing use of background color with wrapped text using + :meth:`sdl2.ext.FontManager.render()` (PR #134) + * fixed issue #112: allow easy moving and resizing of :obj:`sdl2.ext.Window()` + objects through 'position' and 'size' attributes, added 'open' and 'close' + methods to Window objects + * fixed issue #130: SDL_RW* functions now accept pointers to RW objects + * fixed issue #135: :func:`sdl2.SDL_GetPrefPath()` and + :func:`sdl2.SDL_GetPrefPath()` now return bytestrings instead of pointers + to strings. + * fixed issue #148: added support for loading SDL2 .so binaries with numeric + suffixes on Unix-like OSes (e.g. 'libSDL2.so.2') + * fixed transparency issues with pallete indexed PNGs (PR #159) + +------------------------------------------------------------------- Old: ---- PySDL2-0.9.6.tar.gz New: ---- PySDL2-0.9.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PySDL2.spec ++++++ --- /var/tmp/diff_new_pack.yRrBtk/_old 2020-03-29 14:56:44.627207045 +0200 +++ /var/tmp/diff_new_pack.yRrBtk/_new 2020-03-29 14:56:44.631207047 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PySDL2 # -# 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 @@ -27,17 +27,20 @@ BuildRequires: xorg-x11-server %endif Name: python-PySDL2 -Version: 0.9.6 +Version: 0.9.7 Release: 0 Summary: Python SDL2 bindings License: SUSE-Public-Domain URL: https://github.com/marcusva/py-sdl2 Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: SDL2 >= 2.0.5 +BuildRequires: SDL2_ttf >= 2.0.14 BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: SDL2 -Requires: SDL2_ttf +Requires: SDL2 >= 2.0.5 +Requires: SDL2_ttf >= 2.0.14 BuildArch: noarch %python_subpackages @@ -48,7 +51,7 @@ %prep %setup -q -n PySDL2-%{version} -sed -i 's/\r$//' AUTHORS.txt COPYING.txt README.rst +sed -i 's/\r$//' AUTHORS.txt COPYING.txt README.md %build %python_build @@ -72,9 +75,13 @@ popd %endif +%check +# we do not have audio devices nor joystick in build environment +%pytest -k "not (test_SDL_GetNumAudioDevices or test_SDL_InitJoystick)" + %files %{python_files} %license COPYING.txt -%doc AUTHORS.txt README.rst +%doc AUTHORS.txt README.md %{python_sitelib}/* %changelog ++++++ PySDL2-0.9.6.tar.gz -> PySDL2-0.9.7.tar.gz ++++++ ++++ 65563 lines of diff (skipped)
