14
0
forked from pool/python-PySDL2

38 Commits

Author SHA256 Message Date
ad08b0878f Accepting request 1275032 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1275032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=16
2025-05-07 17:18:19 +00:00
578671c091 Accepting request 1273537 from home:jengelh:branches:devel:languages:python
- Adjust run-time dependencies to avoid old virtual provides.

- Adjust build-time dependencies so that it builds with SDL3.

OBS-URL: https://build.opensuse.org/request/show/1273537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=36
2025-04-30 06:36:52 +00:00
bcde325525 - Adjust dependencies so that it builds with SDL3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=35
2025-04-28 13:58:35 +00:00
b290cd1ea5 Accepting request 1251643 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=15
2025-03-10 17:05:52 +00:00
f1733da240 Accepting request 1250129 from home:mcalabkova:branches:devel:languages:python:adi
- Update to 0.9.17
  * Updated to wrap new functions and constants in SDL 2.30.10.
  * Updated to wrap new functions and constants in SDL_mixer 2.8.0
  * Updated to wrap new function in SDL_image 2.8.0.
  * Added a new function sdl2.ext.get_key_state for checking if a given 
    key is currently down or up independently of the SDL event queue.
- Drop merged patches:
  * fix-tests-SDL_GetError.patch
  * fix-partially-resolve-video_test.patch
  * fix-test-SDL_hid_enumerate.patch

OBS-URL: https://build.opensuse.org/request/show/1250129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=33
2025-03-10 06:47:59 +00:00
eba4322251 Accepting request 1143626 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1143626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=14
2024-02-02 14:48:06 +00:00
de884e4146 Accepting request 1143591 from home:munix9:branches:devel:languages:python
- Add libmpg123-0 as a build requirement for the tests

OBS-URL: https://build.opensuse.org/request/show/1143591
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=31
2024-02-02 12:22:05 +00:00
896af8564c Accepting request 1105034 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1105034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=13
2023-08-22 06:56:16 +00:00
25334c3745 Accepting request 1104930 from home:munix9:branches:devel:languages:python
- Remove fix-tests.patch in favor of upstream patches
- Add upstream patches to resolve test failures:
  fix-partially-resolve-video_test.patch
  fix-test-SDL_hid_enumerate.patch
  fix-tests-SDL_GetError.patch

OBS-URL: https://build.opensuse.org/request/show/1104930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=29
2023-08-21 09:32:52 +00:00
ee3fd83d2a Accepting request 1099029 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1099029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=12
2023-07-18 19:55:13 +00:00
28ee5c8ba2 Accepting request 1098896 from home:munix9:branches:devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1098896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=27
2023-07-17 06:39:36 +00:00
281fd181e2 Accepting request 1038364 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1038364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=11
2022-11-27 11:53:01 +00:00
d2c494849e Accepting request 1038348 from home:munix9:branches:devel:languages:python
- Add fix-version_test.patch (gh#py-sdl/py-sdl2#248):
  Don't assert that SDL_GetRevision() starts with http
- Skip rpmlint error python-tests-in-package
  
  
I don't know exactly if the sdl2/test directories could be completely deleted in %install. I first chose the solution with rpmlintrc to filter the message "E: python-tests-in-package", similar to other python packages.

OBS-URL: https://build.opensuse.org/request/show/1038348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=25
2022-11-26 22:25:49 +00:00
2d8a1faf06 Accepting request 1032869 from devel:languages:python
- Remove .DS_Store files from sources
- Remove not needed python_module macro definition
- Add fix-tests.patch to fix the test run in the rpmbuild container without
  access to /dev/input.
- Update to 0.9.14:
  * Updated to wrap new functions and constants in SDL 2.24.0.
  * Added a new module sdl2.ext.displays for retrieving and working
    with connected displays and their supported resolutions/refresh
    rates.
  * Extended sdl2.ext.init to allow initializing all SDL subsystems
    individually (previously just initialized the video subsystem).
  * Improved the memory safety of the sdl2.ext.Window class.
  * Added raise_sdl_err to the public ext API.
  * Fixed sdl2.ext.line to work correctly on 1bpp surfaces.
  * Various fixes/improvements to the unit test suite for Linux
    package maintainers.
- Remove mixer_tests_fix.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/1032869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=10
2022-11-02 13:19:45 +00:00
d16beaf49a - Remove .DS_Store files from sources
- Remove not needed python_module macro definition

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=23
2022-11-02 12:12:24 +00:00
c71d14fbbf - Add fix-tests.patch to fix the test run in the rpmbuild container without
access to /dev/input.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=22
2022-11-02 12:02:41 +00:00
cedae050dd Accepting request 1032775 from home:munix9:branches:devel:languages:python
- Update to 0.9.14:
  * Updated to wrap new functions and constants in SDL 2.24.0.
  * Added a new module sdl2.ext.displays for retrieving and working
    with connected displays and their supported resolutions/refresh
    rates.
  * Extended sdl2.ext.init to allow initializing all SDL subsystems
    individually (previously just initialized the video subsystem).
  * Improved the memory safety of the sdl2.ext.Window class.
  * Added raise_sdl_err to the public ext API.
  * Fixed sdl2.ext.line to work correctly on 1bpp surfaces.
  * Various fixes/improvements to the unit test suite for Linux
    package maintainers.
- Remove mixer_tests_fix.patch (fixed upstream)

  
The tests fail because of 'Unable to open /dev/input/mouse0'.  
There are several ways to fix this:  
1. disable tests completely  
2. catch error on tests (I have chosen this for now)  
3. create an additional package which is used *only* for the build phase to add the build user "abuild" to the Linux group "input" to get access to /dev/input/*.

OBS-URL: https://build.opensuse.org/request/show/1032775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=21
2022-11-02 09:31:17 +00:00
86112310d6 Accepting request 992361 from devel:languages:python
- Update to 0.9.13:
  - Updated to wrap new functions and constants in SDL_ttf
    2.20.0.
  - Updated to wrap new functions and constants in SDL_mixer
    2.6.0.
  - Updated to wrap new functions and constants in SDL_image
    2.6.0.
  - Added experimental bindings for the new functions and
    constants in the SDL 2.23.1 pre-release.
  - Added a new function :func:sdl2.ext.load_svg that allows
    loading simple SVG images at arbitrary resolutions with
    SDL_image 2.6.0 or later.
  - Added bindings for new functions and constants introduced in
    SDL2 2.0.22
  - Added a stable API for accessing the raw ctypes function
    objects for SDL2 functions
  - Various bugfixes (see the project's news.rst for more info)
- Add mixer_tests_fix.patch to switch off failing tests
  (gh#py-sdl/py-sdl2#241).
- Otherwise, we actually don’t need to explicitly skip ANY
  tests! Wow!
- Update to version 0.9.11
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.20
  * Added bindings and documentation for new functions and
    constants introduced in SDL2_ttf 2.0.18
- Changelog for Release 0.9.10
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.18
  * Added experimental support for SDL 2.0.3 and 2.0.4 for older
    platforms (tested on an iMac G4 running 10.4.11)
  * Major improvements to the ext.pixelaccess module
  * Major rewrite of the ext.image module
  * New object-oriented method of rendering with sdl2.ext.Renderers
    using the new sdl2.ext.Texture class
  * Major expansion and rewrite of the sdl2.ext.Renderer class
  * New powerful sdl2.ext.FontTTF class for font rendering
  * Redocumented most of the sdl2.ext modules for better clarity
    and maintainability
  * Added automatic detection of Homebrew SDL2 binaries on Apple
    Silicon Macs as a fallback Deprecated a number of sdl2.ext
    modules and functions
- Changelog for Release 0.9.9
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.16
  * Reverted the fix for issue #139 which inadvertently caused
    Window.show() to force the window to use SDL2's software
    rendering, breaking the Renderer class and compatibility with
    PyOpenGL.
- Drop PySDL2-pr193-skipnumpy.patch
- Clean out test suite
- Update to version 0.9.8
  * This release fixes a number of bugs, updates the bindings to
    support new functions in SDL2 2.0.14, adds a wrapper for the
    SDL2 MessageBox API, and more.
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.12 and 2.0.14
  * Added full support for SDL2 binaries in non-system locations
    (e.g., with pysdl2-dll) when using PySDL2 with Python installed
    from the Microsoft Store on Windows.
  * Improved handling of SDL2 binaries that are too old to be used
    with PySDL2.
  * Added a new sdl2.ext API for displaying SDL2 MessageBox alerts
    and dialog boxes.
- Add PySDL2-pr193-skipnumpy.patch (gh#marcusva/py-sdl2#193) for
  missing NumPy in python36
- remove duplicate check section: Only the Xvfb version runs
  without segfaults when loading the SDL libraries. (Except for
  two flaky Window position and size tests) 
- 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)
- Run through spec-cleaner
- Remove superfluous devel dependency for noarch package
- initial version

OBS-URL: https://build.opensuse.org/request/show/992361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=9
2022-08-02 20:09:59 +00:00
fe78af4f94 - Otherwise, we actually don’t need to explicitly skip ANY
tests! Wow!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=19
2022-08-02 15:24:54 +00:00
d1f823d20e Accepting request 992068 from devel:languages:python
- Update to 0.9.13:
  - Updated to wrap new functions and constants in SDL_ttf
    2.20.0.
  - Updated to wrap new functions and constants in SDL_mixer
    2.6.0.
  - Updated to wrap new functions and constants in SDL_image
    2.6.0.
  - Added experimental bindings for the new functions and
    constants in the SDL 2.23.1 pre-release.
  - Added a new function :func:sdl2.ext.load_svg that allows
    loading simple SVG images at arbitrary resolutions with
    SDL_image 2.6.0 or later.
  - Added bindings for new functions and constants introduced in
    SDL2 2.0.22
  - Added a stable API for accessing the raw ctypes function
    objects for SDL2 functions
  - Various bugfixes (see the project's news.rst for more info)
- Add mixer_tests_fix.patch to switch off failing tests
  (gh#py-sdl/py-sdl2#241).

OBS-URL: https://build.opensuse.org/request/show/992068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=8
2022-08-01 19:32:03 +00:00
ebf70fbc7a - Add mixer_tests_fix.patch to switch off failing tests
(gh#py-sdl/py-sdl2#241).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=17
2022-08-01 15:07:48 +00:00
9c7fa542fa - Update to 0.9.13:
- Updated to wrap new functions and constants in SDL_ttf
    2.20.0.
  - Updated to wrap new functions and constants in SDL_mixer
    2.6.0.
  - Updated to wrap new functions and constants in SDL_image
    2.6.0.
  - Added experimental bindings for the new functions and
    constants in the SDL 2.23.1 pre-release.
  - Added a new function :func:sdl2.ext.load_svg that allows
    loading simple SVG images at arbitrary resolutions with
    SDL_image 2.6.0 or later.
  - Added bindings for new functions and constants introduced in
    SDL2 2.0.22
  - Added a stable API for accessing the raw ctypes function
    objects for SDL2 functions
  - Various bugfixes (see the project's news.rst for more info)
- Switch off failing tests (gh#py-sdl/py-sdl2#241)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=16
2022-07-29 16:14:57 +00:00
fe750cfef3 Accepting request 963464 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=7
2022-03-21 19:11:33 +00:00
e0ab0957ff Accepting request 963269 from home:bnavigator:branches:devel:languages:python
- Update to version 0.9.11
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.20
  * Added bindings and documentation for new functions and
    constants introduced in SDL2_ttf 2.0.18
- Changelog for Release 0.9.10
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.18
  * Added experimental support for SDL 2.0.3 and 2.0.4 for older
    platforms (tested on an iMac G4 running 10.4.11)
  * Major improvements to the ext.pixelaccess module
  * Major rewrite of the ext.image module
  * New object-oriented method of rendering with sdl2.ext.Renderers
    using the new sdl2.ext.Texture class
  * Major expansion and rewrite of the sdl2.ext.Renderer class
  * New powerful sdl2.ext.FontTTF class for font rendering
  * Redocumented most of the sdl2.ext modules for better clarity
    and maintainability
  * Added automatic detection of Homebrew SDL2 binaries on Apple
    Silicon Macs as a fallback Deprecated a number of sdl2.ext
    modules and functions
- Changelog for Release 0.9.9
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.16
  * Reverted the fix for issue #139 which inadvertently caused
    Window.show() to force the window to use SDL2's software
    rendering, breaking the Renderer class and compatibility with
    PyOpenGL.
- Drop PySDL2-pr193-skipnumpy.patch
- Clean out test suite

OBS-URL: https://build.opensuse.org/request/show/963269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=14
2022-03-21 07:24:13 +00:00
12d3a593d1 Accepting request 914904 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/914904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=6
2021-08-30 11:55:12 +00:00
793affa45b Accepting request 914878 from home:bnavigator:branches:devel:languages:python
- Update to version 0.9.8
  * This release fixes a number of bugs, updates the bindings to
    support new functions in SDL2 2.0.14, adds a wrapper for the
    SDL2 MessageBox API, and more.
  * Added bindings for new functions and constants introduced in
    SDL2 2.0.12 and 2.0.14
  * Added full support for SDL2 binaries in non-system locations
    (e.g., with pysdl2-dll) when using PySDL2 with Python installed
    from the Microsoft Store on Windows.
  * Improved handling of SDL2 binaries that are too old to be used
    with PySDL2.
  * Added a new sdl2.ext API for displaying SDL2 MessageBox alerts
    and dialog boxes.
- Add PySDL2-pr193-skipnumpy.patch (gh#marcusva/py-sdl2#193) for
  missing NumPy in python36

OBS-URL: https://build.opensuse.org/request/show/914878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=13
2021-08-29 20:42:13 +00:00
d60e66748e Accepting request 870420 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/870420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=5
2021-02-09 20:17:18 +00:00
50b2e4869b Accepting request 870368 from home:bnavigator:branches:devel:languages:python
- remove duplicate check section: Only the Xvfb version runs
  without segfaults when loading the SDL libraries. (Except for
  two flaky Window position and size tests)

OBS-URL: https://build.opensuse.org/request/show/870368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=11
2021-02-09 08:56:11 +00:00
e8bd4b23f1 Accepting request 788966 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=4
2020-03-27 21:00:49 +00:00
Tomáš Chvátal
df21fcd728 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
2020-03-27 10:33:35 +00:00
665c01933c Accepting request 746324 from devel:languages:python
- Run through spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/746324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=3
2019-11-08 14:25:37 +00:00
f4a4d71537 Run through spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=7
2019-11-07 15:32:44 +00:00
30250a237e Fix %pytest call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=6
2019-10-14 13:46:12 +00:00
63f0b473fd Accepting request 659304 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=2
2019-01-24 13:03:01 +00:00
07d1d483c3 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=4
2018-12-04 17:19:51 +00:00
6f18e5493d Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=3
2018-12-04 13:54:24 +00:00
45fbae4822 Accepting request 581994 from devel:languages:python
Needed by the latest version of python-holoviews, which is already in openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/581994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySDL2?expand=0&rev=1
2018-03-09 09:37:10 +00:00
Todd R
4ad4c5394f Accepting request 540644 from home:TheBlackCat:branches:devel:languages:python
- initial version

OBS-URL: https://build.opensuse.org/request/show/540644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=1
2017-11-10 19:59:47 +00:00