Path to this page:
./
devel/py-SDL2,
Python SDL2 bindings
Branch: CURRENT,
Version: 0.9.16nb3,
Package name: py312-SDL2-0.9.16nb3,
Maintainer: pkgsrc-usersPySDL2 is a pure Python wrapper around the SDL2, SDL2_mixer,
SDL2_image, SDL2_ttf, and SDL2_gfx libraries.
Instead of relying on C code, it uses the built-in ctypes module
to interface with SDL2, and provides simple Python classes and
wrappers for common SDL2 functionality.
Master sites:
Filesize: 755.407 KB
Version history: (Expand)
- (2024-10-14) Updated to version: py312-SDL2-0.9.16nb3
- (2024-04-06) Updated to version: py311-SDL2-0.9.16nb3
- (2024-01-30) Updated to version: py311-SDL2-0.9.16nb2
- (2023-11-12) Updated to version: py311-SDL2-0.9.16nb1
- (2023-10-22) Updated to version: py311-SDL2-0.9.16
- (2023-06-29) Updated to version: py310-SDL2-0.9.16
CVS history: (Expand)
2024-04-06 10:07:18 by Thomas Klausner | Files touched by this commit (1490) |
Log message:
* recursive bump for libxkbcommon 1.7.0
Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
|
2024-01-30 15:22:43 by Ryo ONODERA | Files touched by this commit (672) |
Log message:
*: Recursive revbump from audio/pulseaudio-17.0
|
2023-11-26 11:43:41 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-SDL2: allow Python 3.12
|
2023-11-12 14:24:43 by Thomas Klausner | Files touched by this commit (2570) |
Log message:
*: revebump for new brotli option for freetype2
Addresses PR 57693
|
2023-10-22 13:34:58 by Thomas Klausner | Files touched by this commit (7) |
Log message:
py-Tk: disable for Python 3.12
tk will not be a default dependency of the batteries-included Python packages,
and srcdist.mk needs to be switched from distutils to some other method of
installing the modules separately. Until this is done, there is no py-Tk
for Python 3.12.
|
2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158) |
Log message:
*: remove more references to Python 3.7
|
2023-07-01 10:37:47 by Thomas Klausner | Files touched by this commit (105) | |
Log message:
*: restrict py-numpy users to 3.9+ in preparation for update
|
2023-06-29 11:28:02 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-SDL2: updated to 0.9.16
0.9.16
------
New Features:
* Updated to wrap new functions and constants in SDL2 2.28.0.
* Added a new method :meth:`~sdl2.ext.Renderer.rcopy` for copying textures to
a Renderer by aligning a given point on the texture to a given location on the
rendering context. Useful for centering textures in the renderer.
* Added a new function :func:`~sdl2.ext.key_pressed` for easily checking
if a given key has been pressed (or released).
* Added a new function :func:`~sdl2.ext.mouse_clicked` for easily checking
if a mouse button has been pressed (or released), as well as a
:func:`~sdl2.ext.get_clicks` function for retrieving the pixel coordinates
of any mouse clicks.
* Added a new function :func:`~sdl2.ext.get_text_input` for returning
text input as a unicode string, as well as :func:`~sdl2.ext.start_text_input`,
:func:`~sdl2.ext.stop_text_input`, and :func:`~sdl2.ext.text_input_enabled`
functions for toggling and querying whether SDL text input events are enabled.
* Added a new function :func:`~sdl2.ext.quit_requested` for easily checking
:func:`~sdl2.ext.get_events` output for quit requests.
|