mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 23:30:04 +02:00
pygame: switch to Python 3.9. (#8255)
This commit is contained in:
@@ -8,20 +8,23 @@ COPYRIGHT="2000-2004, 2007 Pete Shinners
|
||||
2007 Richard Goedeken
|
||||
2007-2008 Marcus von Appen"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pygame/pygame-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9"
|
||||
SOURCE_DIR="pygame-$portVersion"
|
||||
PATCHES="pygame-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2 ?x86"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
pythonVersion=3.9
|
||||
pythonPackage="python${pythonVersion//.}"
|
||||
|
||||
PROVIDES="
|
||||
pygame$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
cmd:cython3$secondaryArchSuffix
|
||||
cmd:cython$pythonVersion
|
||||
cmd:f2py3
|
||||
cmd:python3
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
@@ -44,7 +47,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
setuptools_python3
|
||||
setuptools_$pythonPackage
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
@@ -61,8 +64,7 @@ BUILD_REQUIRES="
|
||||
devel:libsmpeg_0.4
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cython3$secondaryArchSuffix
|
||||
cmd:freetype_config$secondaryArchSuffix
|
||||
cmd:cython$pythonVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:python3
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user