forked from pool/python-PySDL2
Accepting request 788962 from home:mcalabkova:branches:devel:languages:python
- 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) OBS-URL: https://build.opensuse.org/request/show/788962 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
f4a4d71537
commit
df21fcd728
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b52acab5493a77b08c2afee1f385769fc2005f17cfeaf1886eff22dc78da2123
|
|
||||||
size 1048158
|
|
3
PySDL2-0.9.7.tar.gz
Normal file
3
PySDL2-0.9.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4fcc8aa1108e4917cb56794575ee08c2a3d9c2c52620474e3ecc8538dadf209
|
||||||
|
size 1079253
|
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 27 10:23:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 7 15:32:19 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
Thu Nov 7 15:32:19 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PySDL2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -27,17 +27,20 @@ BuildRequires: SDL2_ttf
|
|||||||
BuildRequires: xorg-x11-server
|
BuildRequires: xorg-x11-server
|
||||||
%endif
|
%endif
|
||||||
Name: python-PySDL2
|
Name: python-PySDL2
|
||||||
Version: 0.9.6
|
Version: 0.9.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python SDL2 bindings
|
Summary: Python SDL2 bindings
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
URL: https://github.com/marcusva/py-sdl2
|
URL: https://github.com/marcusva/py-sdl2
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: SDL2 >= 2.0.5
|
||||||
|
BuildRequires: SDL2_ttf >= 2.0.14
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: SDL2
|
Requires: SDL2 >= 2.0.5
|
||||||
Requires: SDL2_ttf
|
Requires: SDL2_ttf >= 2.0.14
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -48,7 +51,7 @@ restrictions, nor does it rely on C code, but uses ctypes instead.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PySDL2-%{version}
|
%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
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -72,9 +75,13 @@ pushd sdl2/test
|
|||||||
popd
|
popd
|
||||||
%endif
|
%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}
|
%files %{python_files}
|
||||||
%license COPYING.txt
|
%license COPYING.txt
|
||||||
%doc AUTHORS.txt README.rst
|
%doc AUTHORS.txt README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user