mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 16:47:00 +02:00
python3-pygame: update to 2.6.1.
This commit is contained in:
parent
aba1688718
commit
8c4a6d04c4
1 changed files with 8 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'python3-pygame'
|
||||
pkgname=python3-pygame
|
||||
version=2.5.2
|
||||
version=2.6.1
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
make_build_args="cython"
|
||||
hostmakedepends="pkg-config python3-setuptools python3-Cython0.29
|
||||
SDL2_mixer-devel SDL2_image-devel SDL2_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
||||
hostmakedepends="pkg-config python3-setuptools python3-Cython SDL2_mixer-devel
|
||||
SDL2_image-devel SDL2_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
||||
makedepends="python3-devel SDL2_mixer-devel SDL2_image-devel
|
||||
SDL2_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
||||
depends="python3"
|
||||
|
@ -14,10 +14,14 @@ maintainer="Archaeme <normandy@firemail.cc>"
|
|||
license="LGPL-2.1-or-later"
|
||||
homepage="https://www.pygame.org/"
|
||||
distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz"
|
||||
checksum=c1b89eb5d539e7ac5cf75513125fb5f2f0a2d918b1fd6e981f23bf0ac1b1c24a
|
||||
checksum=56fb02ead529cee00d415c3e007f75e0780c655909aaa8e8bf616ee09c9feb1f
|
||||
|
||||
export PORTMIDI_INC_PORTTIME=1
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
i686*) export CFLAGS="-msse2" ;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
find src_c/cython/pygame -name '*.pyx' |
|
||||
sed 's,cython/pygame/,,;s/pyx$/c/' |
|
||||
|
|
Loading…
Add table
Reference in a new issue