[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: python-pygame-sdl2: Use G-Expressions.
From: |
guix-commits |
Subject: |
09/11: gnu: python-pygame-sdl2: Use G-Expressions. |
Date: |
Sun, 28 May 2023 17:15:44 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 1b3c9ef96ea44f57abbea6941621715b056489b3
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Fri May 19 12:13:40 2023 +0200
gnu: python-pygame-sdl2: Use G-Expressions.
* gnu/packages/game-development.scm (python-pygame-sdl2)[arguments]: Convert
to list of G-Expressions.
---
gnu/packages/game-development.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 9333a82a6a..272032a196 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1298,22 +1298,22 @@ and multimedia programs in the Python language.")
(delete-file-recursively "gen-static")))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; tests require pygame to be installed
first
- #:phases
- (modify-phases %standard-phases
- (add-after 'set-paths 'set-sdl-vars
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "PYGAME_SDL2_CFLAGS"
- (string-append "-I"
- (assoc-ref inputs "sdl-union")
- "/include/SDL2 -D_REENTRANT"))
- (setenv "PYGAME_SDL2_LDFLAGS"
- (string-append "-L"
- (assoc-ref inputs "sdl-union")
- "/lib -Wl,-rpath,"
- (assoc-ref inputs "sdl-union")
- "/lib -Wl,--enable-new-dtags -lSDL2"))
- #t)))))
+ (list
+ #:tests? #f ; tests require pygame to be installed first
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'set-paths 'set-sdl-vars
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "PYGAME_SDL2_CFLAGS"
+ (string-append "-I"
+ (assoc-ref inputs "sdl-union")
+ "/include/SDL2 -D_REENTRANT"))
+ (setenv "PYGAME_SDL2_LDFLAGS"
+ (string-append "-L"
+ (assoc-ref inputs "sdl-union")
+ "/lib -Wl,-rpath,"
+ (assoc-ref inputs "sdl-union")
+ "/lib -Wl,--enable-new-dtags
-lSDL2")))))))
(inputs
(list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
(native-inputs
- branch master updated (9845e408e5 -> d64d6ea2cf), guix-commits, 2023/05/28
- 01/11: gnu: emacs-next: Update to 29.0.91., guix-commits, 2023/05/28
- 05/11: gnu: Remove paraview-5.9., guix-commits, 2023/05/28
- 09/11: gnu: python-pygame-sdl2: Use G-Expressions.,
guix-commits <=
- 02/11: gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91., guix-commits, 2023/05/28
- 04/11: gnu: cli11: Use G-Expressions., guix-commits, 2023/05/28
- 08/11: gnu: python-pygame-sdl2: Update to 2.1.0-for-renpy-8.1.0., guix-commits, 2023/05/28
- 06/11: gnu: paraview: Update to 5.11.1., guix-commits, 2023/05/28
- 07/11: gnu: python-mpi4py: Update home-page., guix-commits, 2023/05/28
- 11/11: gnu: python-renpy: Use G-Expressions., guix-commits, 2023/05/28
- 03/11: gnu: cli11: Update to 2.3.2., guix-commits, 2023/05/28
- 10/11: gnu: python-renpy: Update to 8.1.0., guix-commits, 2023/05/28