From 2fad2470b6f4b250a005175e1966a704c0c64b77 Mon Sep 17 00:00:00 2001 From: OscarL Date: Thu, 8 Jun 2023 11:02:42 -0300 Subject: [PATCH] pygame: provide "non _x86" package name. (#8821) --- dev-python/pygame/pygame-2.0.0.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/pygame/pygame-2.0.0.recipe b/dev-python/pygame/pygame-2.0.0.recipe index adc3aa6ec..e98d23aed 100644 --- a/dev-python/pygame/pygame-2.0.0.recipe +++ b/dev-python/pygame/pygame-2.0.0.recipe @@ -8,7 +8,7 @@ COPYRIGHT="2000-2004, 2007 Pete Shinners 2007 Richard Goedeken 2007-2008 Marcus von Appen" LICENSE="GNU LGPL v2.1" -REVISION="2" +REVISION="3" SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pygame/pygame-$portVersion.tar.gz" CHECKSUM_SHA256="63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9" SOURCE_DIR="pygame-$portVersion" @@ -23,6 +23,11 @@ pythonPackage="python${pythonVersion//.}" PROVIDES=" pygame$secondaryArchSuffix = $portVersion " +if [ "$targetArchitecture" = x86_gcc2 ]; then + PROVIDES+=" + pygame = $portVersion + " +fi REQUIRES=" cmd:cython$pythonVersion cmd:f2py3