A Python Module for Interfacing with the SDL Multimedia Library

Edit Package python-pygame

Pygame is a Python wrapper module for the SDL multimedia library. It
contains Python functions and classes that allow you to use SDL's
support for playing CD-ROMs, audio and video output, and keyboard,
mouse and joystick input. Pygame also includes support for the
Numerical Python extension. Pygame is the successor to the pySDL
wrapper project, written by Mark Baker.

Refresh
Refresh
Source Files
Filename Size Changed
pygame-2.5.0.tar.gz 0015560194 14.8 MB
python-pygame.changes 0000042678 41.7 KB
python-pygame.spec 0000004827 4.71 KB
Revision 37 (latest revision is 42)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1103619 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 37)
- Update to 2.5.0
  * Wayland oh wayland, goodbye manylinux1, ciao manylinux2010 by @illume in #3841
  * github: Add python 3.12-dev to the test matrix by @illume in #3847
  * mixer: Testing by @illume in #3846
  * Add support for keyboard grab without mouse grab (expose SDL_GetWindowKeyboardGrab) by @Yannik in #3843
  * SDL 2.26.5 by @illume in #3848
  * Updated event_name function to use kwargs by @jonotassia in #3854
  * manylinux: Add Secret Rabbit Code for better sound quality by @illume in #3855
  * base: Some of it documented by @illume in #3856
  * Adding kwarg support to color.c by @jonotassia in #3858
  * Add keyword argument support to display.c by @jonotassia in #3859
  * color: Fix color.c from weird merge issue by @illume in #3862
  * SDL2 mixer 2.6.3 by @illume in #3861
  * Fix types for aliens by @illume in #3864
  * types eventlist by @illume in #3865
  * types midi by @illume in #3866
  * types video by @illume in #3867
  * examples midi: Fix some 3.10isms in the typing by @illume in #3868
  * examples: types textinput by @illume in #3870
  * examples: types scroll by @illume in #3869
  * test mixer: Fix test_play_multiple_times to be more CI friendly by @illume in #3871
  * Overhaul of README for pygame/examples by @bakkary23 in #3873
  * test time: Fix for unrealistic time slice requirement by @illume in #3878
  * time: Document and clean up a few functions by @illume in #3879
  * Added kwarg handling to rect.c by @jonotassia in #3872
  * es docs by @illume in #3884
  * Add Spanish version of bufferproxy.rst by @stefpivser in #3885
  * Add Spanish version of camera.rst by @stefpivser in #3886
  * Add Spanish version of cursors.rst by @stefpivser in #3888
  * Add Spanish version of color.rst by @stefpivser in #3889
  * Add Spanish version of cdrom.rst by @stefpivser in #3890
  * Spanish Version of c_api.rst by @stefpivser in #3893
  * Add Spanish Version of index.rst by @stefpivser in #3894
  * Add Spanish version of logos.rst by @stefpivser in #3895
  * Add Spanish Version of README.md by @stefpivser in #3896
  * Add Spanish Version of color_list.rst by @stefpivser in #3897
  * rwobject.c: Use lseek64(3) only for GNU libc by @saper in #3898
  * manylinux: Add libdecor by @illume in #3900
  * examples/stars: Improve typing by @illume in #3901
  * examples/dropevent: Fix typing issue by @illume in #3902
  * examples/dropevent: A few minor cleanups by @illume in #3904
  * examples/testsprite: Fix a few minor typing and code style issues by @illume in #3903
  * examples: Remove prevent_display_stretching and fix stars typing issue by @illume in #3905
  * es doc references fixups by @illume in #3909
  * 2.5.0.dev2 -> 2.5.0.dev3 by @illume in #3910
  * Update documentation on several events by @RyanNicoletti in #3912
  * setup buildconfig github: Add PYGAME_DETECT_AVX2 to unfsk setup by @illume in #3924
  * github: Bump pypa/cibuildwheel@v2.13.1 by @illume in #3925
  * buildconfig: 3.12 part 2 - the cpython strikes back by @illume in #3927
  * key: Allow list(get_pressed()) again by @illume in #3926
  * Updating "Python Pygame Introduction" by @Ronoc21 in #3918
  * Added "Contribute" section to main README.rst by @gezeebeezee in #3919
  * docs: Remove linenos because it breaks github rendering by @illume in #3928
  * docs: Add sphinx conf for docs/es by @illume in #3929
  * Unit tests added to mixer.music test module by @LegoPCT20 in #3921
  * mixer.music: Add missing unit tests by @LegoPCT20 by @illume in #3931
  * alphablit: Add env var to warning message by @illume in #3935
  * buildconfig: SDL 2.28.0 by @illume in #3936
- Update to 2.4.0
  * 2.3.0 -> 2.4.0.dev1 by @illume in #3760
  * Fix docs for cursors.Cursor.copy() by @MarcellPerger1 in #3762
  * base: Remove pygame_parachute by @illume in #3768
  * mouse mouse_get_rel: Fix for SCALED by @illume in #3769
  * github: Remove unused files by @illume in #3771
  * buildconfig: SDL 2.26.4 by @illume in #3770
  * sysfont: Fix sysfont on macos on failure of fc-list by @illume in #3772
  * 2.4.0.dev2 by @illume in #3774
  * manylinux: Add libxml, wayland, wayland-protocol dependencies by @illume in #3775
  * fixed self.pos of move method in GameObject in Moving Multiple Images by @saif-11bit in #3783
  * docs: Add Spanish version of MoveIt.rst by @stefpivser in #3810
  * docs: Add Spanish version of SpriteIntro.rst by @stefpivser in #3811
  * docs: Add Spanish version of SurfarrayIntro.rst by @stefpivser in #3812
  * docs: Add Spanish version of tom_games2.rst by @stefpivser in #3813
  * docs: Add Spanish version of tom_games3.rst by @stefpivser in #3814
  * docs: Add Spanish version of tom_games4.rst by @stefpivser in #3815
  * docs: Add Spanish version of tom_games5.rst by @stefpivser in #3816
  * docs: Add Spanish version of tom_games6.rst by @stefpivser in #3817
  * docs: Add Spanish translation of newbieguide.rst by @stefpivser in #3808
  * docs: Add Spanish version of CameraIntro.rst by @stefpivser in #3809
  * Add documentation for DualShock 5 by @Aashutosh-922 in #3797
  * Fix the signature of midi.get_device_info by @SpeedyOrc-C in #3807
  * Fix some docs warnings by @illume in #3825
  * base: Document some of the things by @illume in #3826
  * Replaced dict with weakset in Sprites groups by @theRealProHacker in #3766
  * Weak sprites, part 2 by @illume in #3827
  * draw.circle: Fixes when center is -x, and bounding rect by @illume in #3779
- Update to 2.3.0
  * 2.2.0 -> 2.3.0.dev1 by @illume in #3736
  * Remove :return from sysfont._parse_font_entry_win by @MarcellPerger1 in #3732
  * Add special_flags argument to Group.draw by @MarcellPerger1 in #3722
  * Add Spanish version of ImportInit.rst by @stefpivser in #3699
  * Add Spanish version of DisplayModes.rst by @stefpivser in #3700
  * Add Spanish version of CreateGames.rst by @stefpivser in #3714
  * buildconfig: Bump SDL version to 2.24.2 on windows by @illume in #3458
  * _camera_opencv: Add list_cameras implementation by @illume in #3738
  * github sdist: Do not apt-get update by @illume in #3740
  * Fixup deprecation error on MacOS 11 by @Tobias-Fischer in #3663
  * manylinux-build: Bump SDL2 to version 2.24.2 by @illume in #3741
  * _camera_opencv: Add ability to pass VidCapture api_preferences by @illume in #3739
  * 2.3.0.dev2 -> 2.3.0.dev3 by @illume in #3742
  * camera: Make opencv backend default on win if cv2 imports by @illume in #3743
  * Features/rect/scaleby by @dr0id in #3077
  * Implement pygame.math.lerp by @JamesC01 in #3362
  * Defining rect assignment of floats to Rect properties by @dr0id by @illume in #3745
  * Rect: scale_by and scale_by_ip by @dr0id and @mcpalmer1980 by @illume in #3746
  * circleci: Remove config by @illume in #3748
  * docs: fix move images tutorial final example by @SalimBAhmed in #3747
  * Fix drawing of circles there intersect -+INT_MAX by @jhilmer in #3151
  * Implementation of Vector2.from_polar and ClassObjectMethod descriptor by @joaquin30 in #3744
  * github: Add back apt-get update / upgrade by @illume in #3751
  * _sdl2.video: Window.from_window by @Rabbid76 by @illume in #3752
  * class method "from_foreign_window" added to class "Window" by @Rabbid76 in #2982
  * draw mask: Added unit tests for test_arc and test_angle by @yujyuj by @illume in #3753
  * examples: Add grid movement example by @Masonstiller by @illume in #3754
  * docs: Fix a few sphinx warnings by @illume in #3759
  * Fix segfaults when using display surface after calling pygame.quit by @MarcellPerger1 in #3755
- Update to 2.2.0
  * docs: Add experimental feedback links to new APIs by @illume in #3511
  * 2.1.4.dev1 by @illume in #3514
  * Fix 2.1.4 build by @Starbuck5 in #3529
  * Change from clang-format update (needed for CI) by @MyreMylar in #3535
  * Fix memory leak for distance_to() by @novialriptide in #3532
  * Fixed inconsistency in tp_names, changed all to pygame.module.Type by @Matiiss in #3515
  * Add 3.11 classifier by @novialriptide in #3537
  * Tracking SSE2 Optimisations by @PurityLake in #3370
  * Tweaking version getters for sdl modules and freetype by @oddbookworm in #3379
  * Warn when SIMD is usable but not compiled by @ankith26 in #3501
  * Changed minor name mismatch by @Matiiss in #3544
  * Document SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS by @zoldalma999 in #3546
  * Move pg_tuple_from_values_int into header, rename & add triple variant by @MyreMylar in #3530
  * mouse.get_pos(), mouse.get_rel() optimizations by @itzpr3d4t0r in #3424
  * Minor typo in the "pygame.Color" docs by @pgattic in #3554
  * Remove Python < 3.2 compatibility shim by @Starbuck5 in #3553
  * docs: fix links by @Linkid in #3549
  * Fix typo in music.rst by @winterhazel in #3562
  * Delete test_test_.py by @Koswu in #3563
  * Add info on viewing pygame docs locally by @novialriptide in #3558
  * Modify key compat table to store key-name pairs (fixes a rare bug) by @ankith26 in #3426
  * Adjust surface masks to create a proper 24 bit Surface by @Starbuck5 in #3577
  * Add vector zero constructor clarification by @novialriptide in #3574
  * Minor pygame.math doc enhancements by @Matiiss in #3581
  * Improved colliderect() function by @itzpr3d4t0r in #3322
  * Add VScode? _headers/ folder to gitignore by @Starbuck5 in #3587
  * Remove LGTM badges by @novialriptide in #3599
  * Fix list_cameras being empty on linux by @ankith26 in #3594
  * Fix some more math memory leaks by @ankith26 in #3590
  * Use Python 3.11.0 rather than 3.11rc2 by @Starbuck5 in #3611
  * Add quickstart section to docs front page by @Starbuck5 in #3541
  * Add premul_alpha method to surface by @MyreMylar in #3276
  * Add "window" attribute to DROPFILE and DROPTEXT event by @yunline in #3568
  * Fix minor grammar and punctuation mistakes in tom_games6.rst by @cvionis in #3616
  * Added __round__ method for vectors by @Matiiss in #3559
  * Segfault fix in freetype.get_version by @oddbookworm in #3567
  * Convert surface to texture's pixel format in Texture.update by @zoldalma999 in #3548
  * Performance improvement for draw.circle by @MightyJosip in #3550
  * Fix build errors on win_arm64 by @cgohlke in #3583
  * Consolidate SSE2 and NEON code paths by @Starbuck5 in #3588
  * Correct set_(shifts/masks) docs and cleanup code by @Starbuck5 in #3620
  * Update README.rst by @CodeMaster7000 in #3625
  * Deprecate gamma and _sdl2 window brightness functionality by @SSS-Says-Snek in #3622
  * Change all (to|from)string to (to|from)bytes in image.c by @Matiiss in #3633
  * Update docs generation to sphinx 6.0 by @MyreMylar in #3647
  * Raise minimum SDL version to 2.0.8 by @Starbuck5 in #3618
  * Replace music.set_pos current error message with SDL_GetError() by @Matiiss in #3641
  * Fixed typo in pygame.image.tobytes docs by @oddbookworm in #3657
  * Update README.rst by @SmashedFrenzy16 in #3638
  * fixed segfault by @oddbookworm in #3666
  * Fix event button attr for fast mousewheel by @ankith26 in #3642
  * Change casting to list to using copy in pygame.sprite by @Matiiss in #3655
  * Removing redudancy in regex by @TheVroum in #3595
  * Remove bit of MIR code by @Starbuck5 in #3617
  * Fix scrap typing (use only bytes and not AnyStr) by @ankith26 in #3395
  * wasm: clean up for #3439 by @pmp-p in #3593
  * Syntax highlighting fix by @novialriptide in #3684
  * Port SDL_ttf text shaping capability by @Starbuck5 in #3330
  * Fix the memory leak by @Starbuck5 in #3649
  * Update linter ubuntu version by @MyreMylar in #3689
  * Linter run by @novialriptide in #3695
  * Correct update statement by @chimosky in #3694
  * Update sprite.rst by @Librichard in #3648
  * Re-order display fullscreen handling and ensure toggle_fullscreen works for maximized window by @Temmie3754 in #3497
  * Fix the fault of stubtest by @yunline in #3703
  * Don't set adaptive vsync by default by @fladd in #3609
  * Add support for ppc64le by @mgiessing in #3605
  * Example games fixed | Fixed UnicodeDecodeError for music_drop_fade.py… by @Vazno in #3387
  * Updated README.rst to include feature description by @ChristianKearns in #3710
  * pgScancodeWrapper now raises exception when trying to use iter by @PurityLake in #3495
  * Suggested improvement to font_init by @PurityLake in #3489
  * grayscale for Surfaces and Colors by @ScriptLineStudios in #3556
  * "SDL_CreateWindowFrom" in "display" module by @Rabbid76 in #2981
  * github build-macos: Add pkg-config dependency by @illume in #3716
  * Fix SDL_WINDOWID with SDL by @Rabbid76 by @illume in #3718
  * Add grayscale for surfaces and colors by @ScriptLineStudios by @illume in #3717
  * 2.1.3 -> 2.2.0.dev1 by @illume in #3711
  * Add a simple check for mypy by @illume in #3723
  * manylinux: Revert compiling harfbuzz on MacOS by @illume in #3724
  * manylinux: Add more pythons to be built with by @illume in #3725
  * Fix of inverted boolean of borderless window property by @joaquin30 in #3727
  * That time numpy was giving me grief by @illume in #3731
- Remove upstreamed patch adjust-surface-mask.patch.
- Switch from %python_{build,install} to %pyproject_{wheel,install} macros.
Comments 0
openSUSE Build Service is sponsored by