GNU bug report logs - #60153
[PATCH] gnu: python-pygame: Update to 2.1.2.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Sat, 17 Dec 2022 10:02:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 60153 <at> debbugs.gnu.org
Subject: [bug#60153] [PATCH v1 2/3] gnu: python-pygame: Use gexps and new style inputs.
Date: Sun, 18 Dec 2022 23:54:22 +0800
From 76f9b1970a8dfb11108823be8dc0f16b1d0861a7 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 18 Dec 2022 23:20:27 +0800
Subject: [PATCH v1 2/3] gnu: python-pygame: Use gexps and new style inputs.

* gnu/packages/game-development.scm (python-pygame)[arguments]: Use gexps.
[inputs]: Use the new style.
---
 gnu/packages/game-development.scm | 40 +++++++++++++++----------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index f9a53799f5..a96f62603f 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1225,29 +1225,29 @@ (define-public python-pygame
                      (("SDL_mixer.h") "SDL2/SDL_mixer.h"))))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f                ; tests require pygame to be 
installed first
-       #:phases
-       (modify-phases %standard-phases
-         ;; Pass the dependencies to the configure script
-         ;; through environment variables.
-         (add-before 'build 'set-library-paths
-           (lambda _
-             (setenv "LOCALBASE" " "))))))
+     (list #:tests? #f              ; tests require pygame to be 
installed first
+           #:phases
+           #~(modify-phases %standard-phases
+             ;; Pass the dependencies to the configure script
+             ;; through environment variables.
+             (add-before 'build 'set-library-paths
+               (lambda _
+                 (setenv "LOCALBASE" " "))))))
     (native-inputs
      (list pkg-config))
     (inputs
-     `(("freetype" ,freetype)
-       ("sdl2" ,sdl2)
-       ("sdl2-image" ,sdl2-image)
-       ("sdl2-mixer" ,sdl2-mixer)
-       ("sdl2-ttf" ,sdl2-ttf)
-       ("sdl2-gfx" ,sdl2-gfx)
-       ("libjpeg" ,libjpeg-turbo)
-       ("libpng" ,libpng)
-       ("libX11" ,libx11)
-       ("libsmpeg" ,libsmpeg)
-       ("portmidi" ,portmidi)
-       ("v4l-utils" ,v4l-utils)))
+     (list freetype
+           sdl2
+           sdl2-image
+           sdl2-mixer
+           sdl2-ttf
+           sdl2-gfx
+           libjpeg-turbo
+           libpng
+           libx11
+           libsmpeg
+           portmidi
+           v4l-utils))
     (home-page "https://www.pygame.org")
     (synopsis "SDL wrapper for Python")
     (description "Pygame is a set of Python modules designed for 
writing games.
-- 
2.38.1




This bug report was last modified 2 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.