14
0
forked from pool/python-pygame
Commit Graph

41 Commits

Author SHA256 Message Date
c52cf267fc Accepting request 1177462 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to fix build with GCC 14
  * pygame-pr4236-gcc14.patch
- Add python-Cython to BuildRequires
- Switch upstream source to GitHub to avoid generated C code

OBS-URL: https://build.opensuse.org/request/show/1177462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=57
2024-05-29 12:58:33 +00:00
a8075d66f2 Accepting request 1163545 from home:ecsos:python
- Fix build error in Leap 15.6.

OBS-URL: https://build.opensuse.org/request/show/1163545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=55
2024-04-02 08:24:48 +00:00
081b46165a Accepting request 1156382 from home:bnavigator:branches:devel:languages:python
- Skip failing tests with dummy video driver on SDL2
  * Add pygame-pr4169-videodummytests.patch gh#pygame/pygame#4169

OBS-URL: https://build.opensuse.org/request/show/1156382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=53
2024-03-11 21:29:01 +00:00
d5abbc1f47 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=51 2024-01-03 10:33:18 +00:00
3d4648eee5 - update to 2.5.2:
* Added a gamepad mapping for the G-Shark GS-GP702
  * Fixed touchpad events for the Razer Wolverine V2 Pro in PS5
    mode
  * Fix white bar in docs
  * manylinux: Fix sdl version typo
  * include: rect: C API docs for Rect
  * draw: Fix arc width > 1 so it doesn't have gaps
  * setup: tox: Add 31 and 32 to list of pythons
  * docs: c_api/rect: Fix return code for pgRect_Check
  * setup: src_c: Require Cython to generate source files in dev
  * Added import information in camera and sdl2 controller
    modules docs
  * Fix: Grammatical Error in MoveIt.rst
  * examples: Fix music_drop_fade with type checker
  * stubs: Add pygame.__version__ to type stubs
  * gitignore: Add cython generated files to ignore list
  * examples/midi: Refactor to fix typing issues
  * display set_mode: Remove SDL_WINDOW_FULLSCREEN_DESKTOP
  * buildconfig/manylinux: Bump SDL 2.28.3
  * docs: Fix READMEs with a good Sphinx version
- update to 2.5.1:
  * Fixed crash at shutdown when using the D3D11 renderer
  * Fixed setting the viewport when using the D3D12 renderer
  * Fixed 8BitDo gamepad mapping when in XInput mode on Linux
  * Fixed controller lockup initializing some unofficial PS4
    replica controllers
  * Fixed video initialization on headless Linux systems using
    VNC
  * Fixed large mouse jump when changing relative mouse mode on

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=50
2023-12-30 17:31:38 +00:00
715b7324bc Accepting request 1110330 from home:lkocman:branches:devel:languages:python
- Correction of licenses based on the diff against old report
  Add libpng-2.0, Apache-2.0, BSD. Ignoring FTL as fonts seem
  to be only referenced in tests.

OBS-URL: https://build.opensuse.org/request/show/1110330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=48
2023-09-12 07:10:36 +00:00
dba0be6d7b - Remove upstreamed patch adjust-surface-mask.patch.
- Switch from %python_{build,install} to %pyproject_{wheel,install} macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=46
2023-08-12 16:45:08 +00:00
3a44ab1af6 Accepting request 1103236 from home:Klampfradler:branches:devel:languages:python
Update to 2.5.0

OBS-URL: https://build.opensuse.org/request/show/1103236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=45
2023-08-12 13:54:54 +00:00
f5da12ef9f Accepting request 1085305 from home:jengelh:branches:devel:languages:python
- Replace xorg-x11-devel by pkgconfig(...)

OBS-URL: https://build.opensuse.org/request/show/1085305
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=43
2023-05-09 22:39:25 +00:00
9214d79096 - Update to 2.1.3:
* 2.1.2 by @illume in #2957
  * Fix path dependencies by @SergioArnaud in #2975
  * Add test for pygame.locals by @ankith26 in #2958
  * Fix Pygame imported class typehints by @MightyJosip in #2965
  * Fix some bugs in camera.py by @ankith26 in #2961
  * Clean modinit C code, fix bugs, use recommended API by @ankith26 in #2952
  * Python2 to Python3 code modernization by @novialriptide in #2984
  * SDL 2.0.20 by @illume in #2983
  * Update the image doc, delineate bytes and str by @Starbuck5 in #2959
  * Add pixel format name into display info by @MyreMylar in #2964
  * Add missing copy test for Vector3 by @JovialKnoll in #3000
  * New black formatting by @novialriptide in #3013
  * Misc fixes: Fix UCS_4 UCS4 typo, incorrect color methods export and display.c error handling bugs by @ankith26 in #2987
  * Snake casify _sdl2.video.Image.flipX and .flipY by @avaxar in #2978
  * Removed unused imports by @novialriptide in #3016
  * Fix warnings, make warnings error on CI by @ankith26 in #2919
  * Added Rect typing and docs that it is iterable by @novialriptide in #2969
  * Fix there typo in tests.rst by @eoghanriley in #3022
  * C code cleanups + cdrom/overlay removal by @Starbuck5 in #3014
  * Make sure surfaces start as opaque black. (MacOS) by @Starbuck5 in #2973
  * Add transform.scale_by, transform.smoothscale_by functions by @Starbuck5 in #2723
  * Fix typo in C_api display docs by @gresm in #3027
  * Font rwops by @Starbuck5 in #2911
  * transform.average_color: Add optional parameter 'consider_alpha' to remove black artifacts if alpha present by @dr0id in #2968
  * pygame.docs: remove warning in docs generation due to a reference to… by @dr0id in #3029
  * Add __new__ and __init__ functions for some types by @zoldalma999 in #3001
  * Regenerate cython files by @ankith26 in #3032
  * 2.1.3.dev2 by @illume in #3039
  * Add .move_towards() for Vector2 and Vector3 by @novialriptide in #2929

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=41
2023-02-23 12:37:35 +00:00
5c2c3fbb4e - Add adjust-surface-mask.patch gh#pygame/pygame#3577, to fix tests with SDL
2.26.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=39
2022-12-12 16:42:18 +00:00
8f04dad740 Accepting request 994819 from home:jaimeMF:branches:devel:languages:python
- Add build dependency on libmpg123 because it is required for the tests

OBS-URL: https://build.opensuse.org/request/show/994819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=37
2022-08-15 07:12:56 +00:00
07dca61bd6 - fix portmidi configuration detection
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=36
2022-02-04 23:20:37 +00:00
c5eefa0666 - Update to 2.1.2:
* Fix segfault in display.update by @ankith26 in #2954
  * Quick fix to get 'python -m pygame.docs' working by @ankith26 in #2955
  * Working gamma test on windows by @MyreMylar in #2906
  * Freetype: Fix intermittent crash with test_font_file_not_found by
    @illume in #2944
  * Officially drop python2 (and 3.5) and SDL1 support by @Starbuck5 in #2817
  * Remove most PY2/PY3 C compatibility code by @Starbuck5 in #2819
  * Simple fix to swap numpy.float type out in favour of float by
    @MyreMylar in #2815
  * Remove most SDL1/SDL2 compatibility c code by @Starbuck5 in #2823
  * Ubuntu 18/20 SDL2 sdist CI, mac CI pp36 drop by @ankith26 in #2821
  * SDL1 buildconfig removal by @robertpfeiffer and @illume in #2824 
- Drop support-SDL2-2.0.16.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=35
2022-01-05 06:57:14 +00:00
6c6ba45055 - Swtich off
tests.video_test.VideoModuleTest.test_renderer_set_viewport
  (gh#pygame/pygame#2721 and gh#pygame/pygame#2670) on 32bit
  systems for incompatibility with SDL2 2.0.16.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=33
2021-09-17 09:03:21 +00:00
ab6fef6923 - Switch off tests on i586 (gh#pygame/pygame#2721)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=32
2021-09-16 21:02:25 +00:00
53fe341b9d be verbose
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=31
2021-09-16 12:30:39 +00:00
f4bea99d0c Accepting request 888764 from home:bnavigator:branches:devel:languages:python
- Explictly require libudev while building (for staging)

OBS-URL: https://build.opensuse.org/request/show/888764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=29
2021-04-27 11:25:20 +00:00
3fe79117bc Accepting request 880826 from home:bnavigator:branches:devel:languages:python
- Update to 2.0.1 The Age Of Aquarius release
  * This is a bug fix release, with a bunch of features and
    optimizations thrown in for good measure.
  * Backwards compatibility fixes
  * Major event refactor
  * Color.update() and Rect.update()
  * SDL 2.0.14
  * Xbox One port
  * pathlib support for image, sound, and font loading.
  * Cursor object API
  * pygame.draw.rect fixes.
- pygame 2.0 - the happy dance birthday release
  * Support for Metal, Direct 3d, Vulkan, OpenGL 3.0+ in various
    profiles (core, compatibility, debug, robust, etc), OpenGL ES,
    and other modern hardware accelerated video APIs across many
    platforms.
  * SSE2/Neon assembly image drawing. Much faster drawing
    routines, image loading, and alpha blending.
  * Type Hints, for code completion (and to help you make the
    squiggly lines disappear) in editors and IDEs.
  * Code cleanup, using lots of code robustness tools like static
    analyzers, and automated CI/CD. We've been able to help dozens
    of people new to community projects contribute. We have lots
    of work to go on code quality, but we're currently the highest
    rated Python and highest rate C large project on LGTM.
  * Many, many bug fixes including in our pygame.draw routines,
    pygame.math(for vectors), and pygame.mask for pixel perfect
    collision detection.
  * better support for PyPy (the fast JIT based implementation of
    python). See our milestone Are we pypy yet? No. for our
    progress on making PyPy the best python for games.
  * libsdl version 2 support. Technically pygame 2.0 still works
    with SDL 1, but we recommend SDL2 which is vastly improved
    over SDL1 for most use cases. Probably we will remove SDL 1
    support starting pygame 2.1.
  * Touch support (multitouch, gestures, etc)
  * Audio input support (make games with your microphone!).
  * Message alert boxes (Press OK, or Cancel).
  * Better keyboard support. Proper unicode input and IME support.
  * Much improved game controller support.
  * Better image and audio format support. Including: webp, 32bit
    wav files, and much more reliable mp3 support.
  * Multiple display support, and multiple window support (multi
    window support is still experimental, more will come in pygame
    2.1).
  * Android support through python for android (fork of pygame
    subset for android). Better documentation, and better support
    will come in future releases.
  * to make distributing your apps easier, a built in "pyinstaller
    hook"and compatibility with cxfreeze.
  * binary "wheels" on many platforms and versions of python from
    the old python 2.7 - to the latest python 3.9 (and with pypy!).
  * lots of quality of life improvements like Surface.fill
    ('black') instead of Surface.fill(pygame.Color(0, 0, 0)). Also
    keywords are supported for many more function arguments. You
    can draw rounded corners on rects.
  * plenty of new examples, like python3 -m pygame.examples.
    font_viewer, and python3 -m pygame.examples.music_drop_fade.
    Additionally the example source code has been cleaned up a lot
    to follow a more current python style.
  * Hundreds of documentation improvements, include a new Korean
    tutorial.
  * a special SCALED mode which takes low pixel games and
    automatically translates them to a larger window. Imagine your
    320x200 resolution game of glorious pixel art... on modern
    screens that would be a very tiny windows. Now with SCALED it
    shows up big on a Full HD screen, or even a 4K/8K screen and
    the translation of mouse coordinates and up-scaling of pixels
    is done for you (hardware accelerated of course).
- Full release notes on https://github.com/pygame/pygame/releases
- Skip python36 build. python36-numpy is not available on TW.
- Drop python-pygame-test-no-mp3.patch and
  python-pygame-python38-import.patch
------------------------------------------------------------------
- Add python-pygame-python38-import.patch from upstream to fix a build
  failure with Python 3.8.
- Use autopatch macro rather than patch0, due to multiple patches.
- version update to 1.9.6
  * mixer thread deadlock issue when controlling it from different
    threads.
  * pygame.version.vernum now has major, minor, and patch attributes.
- added patches
  Do not test mp3 format.
  + python-pygame-test-no-mp3.patch
- Clean up SPEC, avoid warnings.
- Update to 1.9.4
  * python 3.7 support.
  * beta pypy support.
  * pygame.draw fixes
  * pygame.math is not experimental anymore. Speedups and bugfixes.
  * Debian, Mac homebrew, mac virtualenv, manylinux and other platform fixes.
  * documentation fixes, jedi support for type ahead in editors like VSCode and VIM.
  * Surface.blits for blitting many surfaces at once more quickly.
- Get tests working.
- Fix RPM group.
- Update to version 1.9.3
  * This is a bugfix release which fixes a couple of key issues
    which came up with 1.9.2
- Update to version 1.9.2
- Implement single-spec version
- Fix source URL
- Fix shebangs
- Remove pygame-v4l-2.6.38.patch
  No longer needed
- fixed rpmlint error devel-file-in-non-devel-package
- patch1 could need a tag
- fixed rpmlint warning self-obsoletion pygame-doc
- ignore missing executable flags in the -docs package
- added missing build requires for portmidi
- fixed rpmlint warning files-duplicate with fdupes
- added rpmlintrc to whitelist the warnings about sample code
- avoid redundancy in the %description
- Add pygame-v4l-2.6.38.patch: use new v4l interface
- updated to 1.9.1
  * add missing readme.html
  * bugfixes
- update to 1.9.0
  * many bugfixes
  * full python-post-2.5 compatibility, py3k compatibility
- patched setup to workaround broken source tarball (missing readme.html)
- removed py2.5 compatibility patch
- buildrequires: replace python-numeric by python-numpy
  for >= 11.2
- (re)added libpng-devel and libjpeg-devel for image format support
- update to 1.8.1
  * lots of changes and fixes - see WHATSNEW for details
- needs fno-strict-aliasing
- updated to 1.8.0
  * lots of changes and fixes - see WHATSNEW for details
- rewrite pep353.diff
- buildrequire SDL_ttf -> SDL_ttf-devel
- changes according to PEP353 (pep353.diff)
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 1.7.1release
- removed readme.html, which is no longer provided
- fix build
- update to 1.6.2, this (among others) fixes brokeness on x86_64 - bug #45731
- fixed documentation installation
- update to 1.6 (This new release mainly contains stability and internal
  fixes, small fixes for line and circle primitives, many fixes for locating
  system TrueType fonts, an updated Mac OS X environment, and bigger integer
  storage for Rect objects.)
- patch was included in upstream
- no root for build
- fixed mode related functions that failed on AMD64, thanks to gpayer@suse.de (bug #31709)
- use record-rpm
- updated to 1.5.6
- use versioned dependency on python
- added obsoletes and provides for rename
- moved doc into %{_defaultdocdir}/python-pygame
- some doc is in base package with info where to find more
- update to 1.5.5
    * improved Unicode support
    * fixed some bugs
- renamed to python-pygame
- update to 1.5 to get rid of conflict with pause() from unistd
- pygame now requires python
- update to 1.4
- new package, version 1.3

OBS-URL: https://build.opensuse.org/request/show/880826
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=28
2021-03-24 08:03:06 +00:00
fec2dea4dd ------------------------------------------------------------------
- Add python-pygame-python38-import.patch from upstream to fix a build 
  failure with Python 3.8.
- Use autopatch macro rather than patch0, due to multiple patches.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=26
2019-10-15 04:14:19 +00:00
Tomáš Chvátal
9a34c4807f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=24 2019-06-17 10:54:37 +00:00
Tomáš Chvátal
26cc9de4ef Accepting request 704173 from home:pgajdos
- version update to 1.9.6
  * mixer thread deadlock issue when controlling it from different
    threads.
  * pygame.version.vernum now has major, minor, and patch attributes.
- added patches
  Do not test mp3 format.
  + python-pygame-test-no-mp3.patch

OBS-URL: https://build.opensuse.org/request/show/704173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=23
2019-05-20 09:10:25 +00:00
0e8f72c450 - Clean up SPEC, avoid warnings.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=21
2018-09-03 15:15:57 +00:00
Tomáš Chvátal
989cf58550 Accepting request 627927 from home:TheBlackCat:branches:devel:languages:python
- Update to 1.9.4
  * python 3.7 support.
  * beta pypy support.
  * pygame.draw fixes
  * pygame.math is not experimental anymore. Speedups and bugfixes.
  * Debian, Mac homebrew, mac virtualenv, manylinux and other platform fixes.
  * documentation fixes, jedi support for type ahead in editors like VSCode and VIM.
  * Surface.blits for blitting many surfaces at once more quickly.

OBS-URL: https://build.opensuse.org/request/show/627927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=19
2018-08-07 16:11:51 +00:00
Tomáš Chvátal
b213527c3c Accepting request 616582 from home:TheBlackCat:branches:devel:languages:python
- Get tests working.

OBS-URL: https://build.opensuse.org/request/show/616582
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=17
2018-06-13 16:47:41 +00:00
Thomas Bechtold
84dd655a61 Accepting request 517443 from home:jengelh:branches:devel:languages:python
- Fix RPM group.

OBS-URL: https://build.opensuse.org/request/show/517443
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=15
2017-08-19 05:56:37 +00:00
Todd R
15c3feef3d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=14 2017-08-13 18:19:07 +00:00
Todd R
3ff02a1242 Accepting request 515786 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.9.3
- Implement single-spec version
- Fix source URL
- Fix shebangs

OBS-URL: https://build.opensuse.org/request/show/515786
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=13
2017-08-09 18:58:04 +00:00
Denisart Benjamin
cac86a81fc Accepting request 257552 from home:Mailaender:branches:devel:languages:python
- fixed rpmlint error devel-file-in-non-devel-package
- patch1 could need a tag
- fixed rpmlint warning self-obsoletion pygame-doc
- ignore missing executable flags in the -docs package
- added missing build requires for portmidi
- fixed rpmlint warning files-duplicate with fdupes
- added rpmlintrc to whitelist the warnings about sample code
- avoid redundancy in the %description

OBS-URL: https://build.opensuse.org/request/show/257552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=11
2014-10-19 09:45:06 +00:00
Stephan Kulow
3920b35be8 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=18
2011-12-06 17:57:12 +00:00
Sascha Peilicke
17f933001b Autobuild autoformatter for 77836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=16
2011-08-04 07:54:06 +00:00
Sascha Peilicke
6638a97002 Accepting request 77836 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/77836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=15
2011-08-04 07:53:57 +00:00
OBS User autobuild
d5beb7fdc3 Accepting request 48273 from devel:languages:python
Copy from devel:languages:python/python-pygame based on submit request 48273 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=13
2010-09-17 23:43:44 +00:00
OBS User unknown
cd35274188 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=8 2009-08-07 21:44:10 +00:00
OBS User unknown
d583e03852 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=7 2009-06-09 16:31:10 +00:00
OBS User unknown
3477226910 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=6 2009-03-20 19:41:38 +00:00
OBS User unknown
5056d48404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=5 2008-09-13 10:06:18 +00:00
OBS User unknown
9a59e5eb2e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=4 2008-06-02 23:08:08 +00:00
OBS User unknown
2c12b8c487 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=3 2008-04-03 23:44:17 +00:00
OBS User unknown
b1ff3a0563 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=2 2007-08-23 23:59:09 +00:00
OBS User unknown
9514629c36 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=1 2007-01-15 23:34:12 +00:00