14
0
forked from pool/python-pygame

- 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
This commit is contained in:
2023-02-23 12:37:35 +00:00
committed by Git OBS Bridge
parent 5c2c3fbb4e
commit 9214d79096
4 changed files with 230 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pygame
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define skip_python36 1
Name: python-pygame
Version: 2.1.2
Version: 2.1.3
Release: 0
Summary: A Python Module for Interfacing with the SDL Multimedia Library
License: LGPL-2.1-or-later
@@ -93,7 +93,6 @@ This package contains documentation and example programs for Pygame.
%autosetup -p1 -n pygame-%{version}
sed -i 's/\r$//' docs/reST/ref/code_examples/draw_module_example.py
sed -i 's/\r$//' docs/reST/ref/code_examples/joystick_calls.py
sed -i 's/\r$//' docs/licenses/LICENSE*.txt
# Fix wrong-script-interpreter
find examples -name '*.py' -exec sed -i "s|^#!.*env python.*$|#!%{_bindir}/python3|" {} \;