14
0
forked from pool/python-pygame
Files
python-pygame/python-pygame.spec

147 lines
4.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package 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
2023-02-23 12:37:35 +00:00
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
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
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
%define skip_python36 1
Name: 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
2023-02-23 12:37:35 +00:00
Version: 2.1.3
Release: 0
Summary: A Python Module for Interfacing with the SDL Multimedia Library
License: LGPL-2.1-or-later
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
URL: https://github.com/pygame/pygame
Source0: https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
# PATCH-FIX-UPSTREAM adjust-surface-mask.patch gh#pygame/pygame#3577
Patch0: adjust-surface-mask.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
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
BuildRequires: bitstream-vera-fonts
BuildRequires: fdupes
BuildRequires: fontconfig
BuildRequires: libtiff-devel
BuildRequires: libudev-devel
BuildRequires: libv4l-devel >= 0.8.4
BuildRequires: pkgconfig
BuildRequires: portmidi-devel
BuildRequires: python-rpm-macros
BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-fonts
BuildRequires: xorg-x11-fonts-100dpi
BuildRequires: xorg-x11-fonts-75dpi
BuildRequires: xorg-x11-fonts-core
BuildRequires: xorg-x11-fonts-cyrillic
BuildRequires: config(fluid-soundfont-gm)
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
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(libpng)
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
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(x11)
Requires: fontconfig
Requires: python-numpy
%ifpython2
Provides: pygame = %{version}
Obsoletes: pygame < %{version}
%endif
%python_subpackages
%description
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.
%package devel
Summary: Pygame development package
Group: Development/Libraries/Python
Requires: python-pygame = %{version}
%description devel
This package contains the header files for developers of Pygame.
%package -n %{name}-doc
Summary: Pygame documentation and example programs
Group: Documentation/Other
Provides: pygame-doc = %{version}
Obsoletes: pygame-doc < %{version}
Provides: %{python_module pygame-doc = %{version}}
%description -n %{name}-doc
This package contains documentation and example programs for Pygame.
%prep
%autosetup -p1 -n pygame-%{version}
sed -i 's/\r$//' docs/reST/ref/code_examples/draw_module_example.py
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
sed -i 's/\r$//' docs/licenses/LICENSE*.txt
# Fix wrong-script-interpreter
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
find examples -name '*.py' -exec sed -i "s|^#!.*env python.*$|#!%{_bindir}/python3|" {} \;
chmod a+x examples/*.py
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
chmod a-x docs/licenses/LICENSE.sdl_gfx.txt
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export PORTMIDI_INC_PORTTIME=1
%python_build
%install
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_install
%{python_expand pushd %{buildroot}%{$python_sitearch}
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
sed -i "s|^#!.*env python.*$|#!%{_bindir}/$python|" pygame/tests/test_utils/png.py
chmod a+x pygame/tests/test_utils/png.py
chmod a+x pygame/examples/*.py
chmod a-x pygame/examples/__init__.py
popd
}
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
%python_compileall
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# install docs and examples for doc package and deduplicate
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
cp -r examples docs %{buildroot}%{_docdir}/%{name}-doc/
rm %{buildroot}%{_docdir}/%{name}-doc/examples/.editorconfig
%fdupes %{buildroot}%{_docdir}/%{name}-doc/
%check
export SDL_VIDEODRIVER=dummy
export SDL_AUDIODRIVER=disk
export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -m pygame.tests.__main__ -v --exclude opengl --time_out 300
}
%files %{python_files}
%doc README.rst
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
%license docs/LGPL.txt
%{python_sitearch}/pygame/
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
%{python_sitearch}/pygame-%{version}*-info
%files %{python_files devel}
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
%license docs/LGPL.txt
%{python_sysconfig_var INCLUDEPY}/pygame/
%files -n %{name}-doc
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
%doc %{_docdir}/%{name}-doc/
%changelog