gnu: python-pygame: Use G-Expressions and new-style inputs.
* gnu/packages/game-development.scm (python-pygame)[arguments]: Convert to list of G-Expressions. [inputs]: Drop labels. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>master
parent
211524df84
commit
6dba52892b
|
@ -1203,9 +1203,10 @@ interface (API).")
|
||||||
"0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
|
"0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; tests require pygame to be installed first
|
(list
|
||||||
|
#:tests? #f ; tests require pygame to be installed first
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-build-config
|
(add-after 'unpack 'fix-build-config
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "buildconfig/config_unix.py"
|
(substitute* "buildconfig/config_unix.py"
|
||||||
|
@ -1231,18 +1232,18 @@ interface (API).")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(list pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
`(("freetype" ,freetype)
|
(list freetype
|
||||||
("sdl2" ,sdl2)
|
sdl2
|
||||||
("sdl2-image" ,sdl2-image)
|
sdl2-image
|
||||||
("sdl2-mixer" ,sdl2-mixer)
|
sdl2-mixer
|
||||||
("sdl2-ttf" ,sdl2-ttf)
|
sdl2-ttf
|
||||||
("sdl2-gfx" ,sdl2-gfx)
|
sdl2-gfx
|
||||||
("libjpeg" ,libjpeg-turbo)
|
libjpeg-turbo
|
||||||
("libpng" ,libpng)
|
libpng
|
||||||
("libX11" ,libx11)
|
libx11
|
||||||
("libsmpeg" ,libsmpeg)
|
libsmpeg
|
||||||
("portmidi" ,portmidi)
|
portmidi
|
||||||
("v4l-utils" ,v4l-utils)))
|
v4l-utils))
|
||||||
(home-page "https://www.pygame.org")
|
(home-page "https://www.pygame.org")
|
||||||
(synopsis "SDL wrapper for Python")
|
(synopsis "SDL wrapper for Python")
|
||||||
(description "Pygame is a set of Python modules designed for writing games.
|
(description "Pygame is a set of Python modules designed for writing games.
|
||||||
|
|
Reference in New Issue