14
0
forked from pool/python-pygame

- Update to 2.1.2:

* Fix segfault in display.update by @ankith26 in #2954
  * Quick fix to get 'python -m pygame.docs' working by @ankith26 in #2955
  * Working gamma test on windows by @MyreMylar in #2906
  * Freetype: Fix intermittent crash with test_font_file_not_found by
    @illume in #2944
  * Officially drop python2 (and 3.5) and SDL1 support by @Starbuck5 in #2817
  * Remove most PY2/PY3 C compatibility code by @Starbuck5 in #2819
  * Simple fix to swap numpy.float type out in favour of float by
    @MyreMylar in #2815
  * Remove most SDL1/SDL2 compatibility c code by @Starbuck5 in #2823
  * Ubuntu 18/20 SDL2 sdist CI, mac CI pp36 drop by @ankith26 in #2821
  * SDL1 buildconfig removal by @robertpfeiffer and @illume in #2824 
- Drop support-SDL2-2.0.16.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=35
This commit is contained in:
2022-01-05 06:57:14 +00:00
committed by Git OBS Bridge
parent b0c35c4e2f
commit c5eefa0666
5 changed files with 23 additions and 103 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pygame
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
Name: python-pygame
Version: 2.0.1
Version: 2.1.2
Release: 0
Summary: A Python Module for Interfacing with the SDL Multimedia Library
License: LGPL-2.1-or-later
Group: Development/Libraries/Python
URL: https://github.com/pygame/pygame
Source0: https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
# PATCH-FIX-UPSTREAM support-SDL2-2.0.16.patch gh#pygame/pygame#2721 mcepl@suse.com
# patch from gh#pygame/pygame#2670
Patch0: support-SDL2-2.0.16.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}