python3-pygame: rebuild for Python 3.9
This commit is contained in:
parent
69795f317e
commit
2a5602ad16
1 changed files with 9 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'python3-pygame'
|
# Template file for 'python3-pygame'
|
||||||
pkgname=python3-pygame
|
pkgname=python3-pygame
|
||||||
version=1.9.6
|
version=1.9.6
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="pygame-${version}"
|
wrksrc="pygame-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="pkg-config python3-setuptools SDL_mixer-devel
|
make_build_args="cython"
|
||||||
SDL_image-devel SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
hostmakedepends="pkg-config python3-setuptools python3-Cython
|
||||||
|
SDL_mixer-devel SDL_image-devel SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
||||||
makedepends="python3-devel SDL_mixer-devel SDL_image-devel
|
makedepends="python3-devel SDL_mixer-devel SDL_image-devel
|
||||||
SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
||||||
short_desc="Collection of Python modules for writing games (Python3)"
|
short_desc="Collection of Python modules for writing games (Python3)"
|
||||||
|
@ -16,3 +17,8 @@ distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz"
|
||||||
checksum=301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957
|
checksum=301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957
|
||||||
|
|
||||||
export PORTMIDI_INC_PORTTIME=1
|
export PORTMIDI_INC_PORTTIME=1
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# Remove the C source to re-cythonize, which avoids some API changes
|
||||||
|
rm src_c/pypm.c src_c/_sdl2/{sdl2,audio,video}.c
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue