commit python-PySDL2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySDL2 for openSUSE:Factory checked in at 2020-03-27 22:00:49 Comparing /work/SRC/openSUSE:Factory/python-PySDL2 (Old) and /work/SRC/openSUSE:Factory/.python-PySDL2.new.3160 (New) Package is "python-PySDL2" Fri Mar 27 22:00:49 2020 rev:4 rq:788966 version:0.9.7 Changes: --- /work/SRC/openSUSE:Factory/python-PySDL2/python-PySDL2.changes 2019-11-08 15:25:43.522994707 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySDL2.new.3160/python-PySDL2.changes 2020-03-27 22:01:03.090923773 +0100 @@ -1,0 +2,23 @@ +Fri Mar 27 10:23:12 UTC 2020 - Marketa Calabkova + +- 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.thNtcR/_old 2020-03-27 22:01:05.638925255 +0100 +++ /var/tmp/diff_new_pack.thNtcR/_new 2020-03-27 22:01:05.646925259 +0100 @@ -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)
commit python-PySDL2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySDL2 for openSUSE:Factory checked in at 2019-11-08 15:25:37 Comparing /work/SRC/openSUSE:Factory/python-PySDL2 (Old) and /work/SRC/openSUSE:Factory/.python-PySDL2.new.2990 (New) Package is "python-PySDL2" Fri Nov 8 15:25:37 2019 rev:3 rq:746324 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/python-PySDL2/python-PySDL2.changes 2019-01-24 14:03:02.648076907 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySDL2.new.2990/python-PySDL2.changes 2019-11-08 15:25:43.522994707 +0100 @@ -1,0 +2,5 @@ +Thu Nov 7 15:32:19 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + +--- Other differences: -- ++ python-PySDL2.spec ++ --- /var/tmp/diff_new_pack.cQaWZ1/_old 2019-11-08 15:25:44.710995963 +0100 +++ /var/tmp/diff_new_pack.cQaWZ1/_new 2019-11-08 15:25:44.722995976 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PySDL2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -31,7 +31,6 @@ Release:0 Summary:Python SDL2 bindings License:SUSE-Public-Domain -Group: Development/Languages/Python URL:https://github.com/marcusva/py-sdl2 Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz BuildRequires: %{python_module setuptools}
commit python-PySDL2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySDL2 for openSUSE:Factory checked in at 2019-01-24 14:03:01 Comparing /work/SRC/openSUSE:Factory/python-PySDL2 (Old) and /work/SRC/openSUSE:Factory/.python-PySDL2.new.28833 (New) Package is "python-PySDL2" Thu Jan 24 14:03:01 2019 rev:2 rq:659304 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/python-PySDL2/python-PySDL2.changes 2018-03-09 10:37:12.342968737 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySDL2.new.28833/python-PySDL2.changes 2019-01-24 14:03:02.648076907 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:52:49 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-PySDL2.spec ++ --- /var/tmp/diff_new_pack.ChOaXj/_old 2019-01-24 14:03:03.172076309 +0100 +++ /var/tmp/diff_new_pack.ChOaXj/_new 2019-01-24 14:03:03.172076309 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PySDL2 # -# 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,35 +12,34 @@ # 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-%{**}} # Can't be properly tested without full desktop system %bcond_with test +%if %{with test} +%define X_display ":98" +BuildRequires: %{python_module pytest} +BuildRequires: SDL2 +BuildRequires: SDL2_ttf +BuildRequires: xorg-x11-server +%endif Name: python-PySDL2 Version:0.9.6 Release:0 -License:SUSE-Public-Domain Summary:Python SDL2 bindings -Url:https://github.com/marcusva/py-sdl2 +License:SUSE-Public-Domain Group: Development/Languages/Python +URL:https://github.com/marcusva/py-sdl2 Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: SDL2 -BuildRequires: SDL2_ttf -BuildRequires: xorg-x11-server -%define X_display ":98" -%endif Requires: SDL2 Requires: SDL2_ttf BuildArch: noarch - %python_subpackages %description @@ -75,8 +74,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.txt COPYING.txt README.rst +%license COPYING.txt +%doc AUTHORS.txt README.rst %{python_sitelib}/* %changelog