2007-01-15 23:34:12 +00:00
|
|
|
#
|
2011-08-04 07:54:06 +00:00
|
|
|
# spec file for package python-pygame
|
2007-01-15 23:34:12 +00:00
|
|
|
#
|
2025-03-04 10:18:49 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2007-01-15 23:34:12 +00:00
|
|
|
#
|
2008-09-13 10:06:18 +00:00
|
|
|
# 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/
|
2007-01-15 23:34:12 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-12-30 17:31:38 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2007-01-15 23:34:12 +00:00
|
|
|
Name: python-pygame
|
2025-03-04 10:18:49 +00:00
|
|
|
Version: 2.6.1
|
2014-10-19 09:45:06 +00:00
|
|
|
Release: 0
|
2007-01-15 23:34:12 +00:00
|
|
|
Summary: A Python Module for Interfacing with the SDL Multimedia Library
|
2023-09-12 07:10:36 +00:00
|
|
|
License: Apache-2.0 AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND libpng-2.0
|
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
|
2024-05-29 12:58:33 +00:00
|
|
|
Source0: %{url}/archive/%{version}.tar.gz#/pygame-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module Cython}
|
2017-08-09 18:58:04 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module numpy}
|
2023-08-12 16:45:08 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2024-01-03 10:33:18 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2023-08-12 16:45:08 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
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
|
2014-10-19 09:45:06 +00:00
|
|
|
BuildRequires: fdupes
|
2017-08-09 18:58:04 +00:00
|
|
|
BuildRequires: fontconfig
|
2018-06-13 16:47:41 +00:00
|
|
|
BuildRequires: libtiff-devel
|
2021-04-27 11:25:20 +00:00
|
|
|
BuildRequires: libudev-devel
|
2011-08-04 07:53:57 +00:00
|
|
|
BuildRequires: libv4l-devel >= 0.8.4
|
2018-09-03 15:15:57 +00:00
|
|
|
BuildRequires: pkgconfig
|
2014-10-19 09:45:06 +00:00
|
|
|
BuildRequires: portmidi-devel
|
2017-08-09 18:58:04 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: xorg-x11
|
2018-06-13 16:47:41 +00:00
|
|
|
BuildRequires: xorg-x11-fonts
|
|
|
|
BuildRequires: xorg-x11-fonts-100dpi
|
|
|
|
BuildRequires: xorg-x11-fonts-75dpi
|
|
|
|
BuildRequires: xorg-x11-fonts-core
|
|
|
|
BuildRequires: xorg-x11-fonts-cyrillic
|
2018-09-03 15:15:57 +00:00
|
|
|
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)
|
2018-09-03 15:15:57 +00:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
2022-08-15 07:12:56 +00:00
|
|
|
BuildRequires: pkgconfig(libmpg123)
|
2018-09-03 15:15:57 +00:00
|
|
|
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)
|
2024-04-02 08:24:48 +00:00
|
|
|
BuildRequires: pkgconfig(vorbis)
|
2018-09-03 15:15:57 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2017-08-09 18:58:04 +00:00
|
|
|
Requires: fontconfig
|
|
|
|
Requires: python-numpy
|
|
|
|
%ifpython2
|
|
|
|
Provides: pygame = %{version}
|
|
|
|
Obsoletes: pygame < %{version}
|
2014-10-19 09:45:06 +00:00
|
|
|
%endif
|
2017-08-09 18:58:04 +00:00
|
|
|
%python_subpackages
|
2007-01-15 23:34:12 +00:00
|
|
|
|
|
|
|
%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
|
2017-08-13 18:19:07 +00:00
|
|
|
support for playing CD-ROMs, audio and video output, and keyboard,
|
2007-01-15 23:34:12 +00:00
|
|
|
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.
|
|
|
|
|
2014-10-19 09:45:06 +00:00
|
|
|
%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.
|
2007-01-15 23:34:12 +00:00
|
|
|
|
2017-08-09 18:58:04 +00:00
|
|
|
%package -n %{name}-doc
|
|
|
|
Summary: Pygame documentation and example programs
|
2017-08-19 05:56:37 +00:00
|
|
|
Group: Documentation/Other
|
2017-08-09 18:58:04 +00:00
|
|
|
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.
|
|
|
|
|
2007-01-15 23:34:12 +00:00
|
|
|
%prep
|
2022-12-12 16:42:18 +00:00
|
|
|
%autosetup -p1 -n pygame-%{version}
|
2021-09-17 09:03:21 +00:00
|
|
|
|
2017-08-09 18:58:04 +00:00
|
|
|
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
|
2017-08-09 18:58:04 +00:00
|
|
|
# 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|" {} \;
|
2017-08-09 18:58:04 +00:00
|
|
|
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
|
2007-01-15 23:34:12 +00:00
|
|
|
|
|
|
|
%build
|
2017-08-09 18:58:04 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2022-02-04 23:20:37 +00:00
|
|
|
export PORTMIDI_INC_PORTTIME=1
|
2023-08-12 16:45:08 +00:00
|
|
|
%pyproject_wheel
|
2007-01-15 23:34:12 +00:00
|
|
|
|
|
|
|
%install
|
2018-06-13 16:47:41 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2023-08-12 16:45:08 +00:00
|
|
|
%pyproject_install
|
2017-08-09 18:58:04 +00:00
|
|
|
%{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
|
2017-08-09 18:58:04 +00:00
|
|
|
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/
|
2017-08-09 18:58:04 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
export SDL_VIDEODRIVER=dummy
|
|
|
|
export SDL_AUDIODRIVER=disk
|
2018-06-13 16:47:41 +00:00
|
|
|
export LANG=en_US.UTF-8
|
2024-09-13 12:33:45 +00:00
|
|
|
export PYGAME_MSYS2=1
|
2017-08-09 18:58:04 +00:00
|
|
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
2021-09-16 12:30:39 +00:00
|
|
|
$python -m pygame.tests.__main__ -v --exclude opengl --time_out 300
|
2017-08-09 18:58:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
%files %{python_files}
|
2019-05-20 09:10:25 +00:00
|
|
|
%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
|
2017-08-09 18:58:04 +00:00
|
|
|
%{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
|
2017-08-09 18:58:04 +00:00
|
|
|
|
|
|
|
%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
|
2017-08-09 18:58:04 +00:00
|
|
|
%{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/
|
2014-10-19 09:45:06 +00:00
|
|
|
|
2007-08-23 23:59:09 +00:00
|
|
|
%changelog
|