14
0
forked from pool/python-pygame

Accepting request 1177462 from home:glaubitz:branches:devel:languages:python

- Cherry-pick upstream patch to fix build with GCC 14
  * pygame-pr4236-gcc14.patch
- Add python-Cython to BuildRequires
- Switch upstream source to GitHub to avoid generated C code

OBS-URL: https://build.opensuse.org/request/show/1177462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=57
This commit is contained in:
2024-05-29 12:58:33 +00:00
committed by Git OBS Bridge
parent a8075d66f2
commit c52cf267fc
4 changed files with 52 additions and 3 deletions

View File

@@ -23,9 +23,12 @@ Release: 0
Summary: A Python Module for Interfacing with the SDL Multimedia Library
License: Apache-2.0 AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND libpng-2.0
URL: https://github.com/pygame/pygame
Source0: https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
Source0: %{url}/archive/%{version}.tar.gz#/pygame-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pygame-pr4169-videodummytests.patch gh#pygame/pygame#4169
Patch0: pygame-pr4169-videodummytests.patch
# PATCH-FIX-UPSTREAM pygame-pr4236-gcc14.patch gh#pygame/pygame#4236
Patch1: pygame-pr4236-gcc14.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}