From patchwork Mon Dec 18 15:14:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 57670 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE93C27BBEA; Mon, 18 Dec 2023 15:16:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2558227BBE2 for ; Mon, 18 Dec 2023 15:16:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFFLf-0007cD-5D; Mon, 18 Dec 2023 10:16:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFFLd-0007bp-GW for guix-patches@gnu.org; Mon, 18 Dec 2023 10:16:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFFLd-0001RT-7c for guix-patches@gnu.org; Mon, 18 Dec 2023 10:16:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFFLd-0007n1-SB for guix-patches@gnu.org; Mon, 18 Dec 2023 10:16:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67131] [PATCH v3 3/7] gnu: python-pygame: Update to 2.5.2. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Dec 2023 15:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67131@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 67131-submit@debbugs.gnu.org id=B67131.170291252725559 (code B ref 67131); Mon, 18 Dec 2023 15:16:01 +0000 Received: (at 67131) by debbugs.gnu.org; 18 Dec 2023 15:15:27 +0000 Received: from localhost ([127.0.0.1]:33289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFFL4-0006dY-9K for submit@debbugs.gnu.org; Mon, 18 Dec 2023 10:15:26 -0500 Received: from layka.disroot.org ([178.21.23.139]:34754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFFL1-0006VG-Be for 67131@debbugs.gnu.org; Mon, 18 Dec 2023 10:15:24 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B148344D45; Mon, 18 Dec 2023 16:15:20 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GlQTbDPME3lq; Mon, 18 Dec 2023 16:15:20 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1702912520; bh=/59CZUUpF0/RWXKKE8t5bD3piV0kROJU5d/bYYZAM64=; h=Date:Subject:From:To:References:Cc:In-Reply-To; b=YlIt3c6mG7O4QqnnEMf4vdkSfU3ABFVMWxSKyfMbqpBw7srRME8de/EKygdJpUzRY GmuSQ0WuEFGFjYRIakyF3gNtDIYeKcKonuChN+XuYUcDUPbSk9ISu8IQvtOEK2us9W BWgap8S9vbNnFjbL8doWoPxNfizMlRMOAzOstYkYPEyjpOZXRwBHHMpBulx8HnDtac 402ncFASMIBxvNSsOeLa5dWH6kQ9rP9AllNAp3x/U7rSDioXCakduslAQ/NUpP0rex FSj3b0pbidl9hLc9m3II11z3mNtbsf/q8vDQaXXx2ZUwD6WjzhYZ/jwlr/sd/pTZ3z He3QIsOLTLd8Q== Date: Mon, 18 Dec 2023 23:14:56 +0800 MIME-Version: 1.0 Content-Language: en-US References: In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 6766999d8bec5ddcf40168a7be3cacf8152f4dad Mon Sep 17 00:00:00 2001 Message-ID: <6766999d8bec5ddcf40168a7be3cacf8152f4dad.1702911964.git.adam.faiz@disroot.org> In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz@disroot.org> References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Mon, 13 Nov 2023 11:40:42 +0800 Subject: [PATCH v3 3/7] gnu: python-pygame: Update to 2.5.2. * gnu/packages/game-development.scm (python-pygame): Update to 2.5.2. [arguments]: Adapt the 'fix-build-config phase to the new version. --- gnu/packages/game-development.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 3742b45321..c8d1e14983 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1332,13 +1332,13 @@ (define-public quesoglc (define-public python-pygame (package (name "python-pygame") - (version "2.1.2") + (version "2.5.2") (source (origin (method url-fetch) (uri (pypi-uri "pygame" version)) (sha256 (base32 - "0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n")))) + "0jn2n70hmgr33yc6xzdi33cs5w7jnmgi44smyxfarrrrsnsrxf61")))) (build-system python-build-system) (arguments (list @@ -1352,7 +1352,10 @@ (define-public python-pygame "origincdirs = os.environ['C_INCLUDE_PATH'].split(\":\")") (("ORIGLIBDIRS") "LIBRARY_PATH") (("incdirs = \\[\\]") "incdirs = origincdirs") - (("libdirs = \\[\\]") "libdirs = origlibdirs")))) + (("libdirs = \\[\\]") "libdirs = origlibdirs") + (("sdl2-config") "pkg-config sdl2") + (("\\['sdl'\\]") "['sdl'], '--modversion'") + ((".dpkg-architecture.*,") "")))) (add-after 'unpack 'fix-sdl2-headers (lambda _ (substitute* "buildconfig/config_unix.py"