unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Faiz via Guix-patches via <guix-patches@gnu.org>
To: 67131@debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>, iyzsong@envs.net
Subject: [bug#67131] [PATCH 3/7] gnu: python-pygame: Update to 2.5.2.
Date: Mon, 13 Nov 2023 01:10:20 +0800	[thread overview]
Message-ID: <88e732ff-4993-4039-9b30-f2cdb478012c@disroot.org> (raw)
In-Reply-To: <0256321a-9049-d36e-dec5-55d2cdca8b96@disroot.org>

From 02d31d0842c19a62e16d849e012ed86db7888076 Mon Sep 17 00:00:00 2001
Message-ID: <02d31d0842c19a62e16d849e012ed86db7888076.1699806997.git.adam.faiz@disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz@disroot.org>
References: <cover.1699806997.git.adam.faiz@disroot.org>
From: AwesomeAdam54321 <adam.faiz@disroot.org>
Date: Sun, 12 Nov 2023 16:18:40 +0800
Subject: [PATCH 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 1cf46464b9..45d63b8cdf 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1328,13 +1328,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
@@ -1348,7 +1348,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"
-- 
2.41.0




  parent reply	other threads:[~2023-11-12 17:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-12 17:02 [bug#67131] [PATCH 0/7] gnu: Add tuxemon Adam Faiz via Guix-patches via
2023-11-12 17:06 ` [bug#67131] [PATCH 1/7] gnu: Add python-neteria Adam Faiz via Guix-patches via
2023-11-12 17:09 ` [bug#67131] [PATCH 2/7] gnu: Add python-pyglet Adam Faiz via Guix-patches via
2023-11-12 17:10 ` Adam Faiz via Guix-patches via [this message]
2023-11-12 17:11 ` [bug#67131] [PATCH 4/7] gnu: Add python-pygame-menu Adam Faiz via Guix-patches via
2023-11-12 17:12 ` [bug#67131] [PATCH 5/7] gnu: Add python-pyscroll Adam Faiz via Guix-patches via
2023-11-12 17:13 ` [bug#67131] [PATCH 6/7] gnu: Add python-pytmx Adam Faiz via Guix-patches via
2023-11-12 17:14 ` [bug#67131] [PATCH 7/7] gnu: Add tuxemon Adam Faiz via Guix-patches via
2023-11-13  4:03 ` [bug#67131] [PATCH v1 1/7] gnu: Add python-neteria Adam Faiz via Guix-patches via
2023-11-13  4:06 ` [bug#67131] [PATCH v2 " Adam Faiz via Guix-patches via
2023-11-13  4:08   ` [bug#67131] [PATCH v2 2/7] gnu: Add python-pyglet Adam Faiz via Guix-patches via
2023-11-13  4:09   ` [bug#67131] [PATCH v2 3/7] gnu: python-pygame: Update to 2.5.2 Adam Faiz via Guix-patches via
2023-11-13  4:11   ` [bug#67131] [PATCH v2 4/7] gnu: Add python-pygame-menu Adam Faiz via Guix-patches via
2023-11-13  4:12   ` [bug#67131] [PATCH v2 5/7] gnu: Add python-pyscroll Adam Faiz via Guix-patches via
2023-11-13  4:14   ` [bug#67131] [PATCH v2 6/7] gnu: Add python-pytmx Adam Faiz via Guix-patches via
2023-11-13  4:15   ` [bug#67131] [PATCH v2 7/7] gnu: Add tuxemon Adam Faiz via Guix-patches via
2023-12-18 15:10 ` [bug#67131] [PATCH v3 1/7] gnu: Add python-neteria Adam Faiz via Guix-patches via
2023-12-18 15:13   ` [bug#67131] [PATCH v3 2/7] gnu: Add python-pyglet Adam Faiz via Guix-patches via
2023-12-18 15:14   ` [bug#67131] [PATCH v3 3/7] gnu: python-pygame: Update to 2.5.2 Adam Faiz via Guix-patches via
2023-12-18 15:16   ` [bug#67131] [PATCH v3 4/7] gnu: Add python-pygame-menu Adam Faiz via Guix-patches via
2023-12-18 15:18   ` [bug#67131] [PATCH v3 5/7] gnu: Add python-pyscroll Adam Faiz via Guix-patches via
2023-12-18 15:19   ` [bug#67131] [PATCH v3 6/7] gnu: Add python-pytmx Adam Faiz via Guix-patches via
2023-12-18 15:21   ` [bug#67131] [PATCH v3 7/7] gnu: Add tuxemon Adam Faiz via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88e732ff-4993-4039-9b30-f2cdb478012c@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=67131@debbugs.gnu.org \
    --cc=adam.faiz@disroot.org \
    --cc=iyzsong@envs.net \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).