gnu: python-pygame: Update to 1.9.4.

* gnu/packages/game-development.scm (python-pygame): Update to 1.9.4.
[arguments]: Re-indent.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-15 20:57:17 +01:00
parent 75f66e4a39
commit a9db93c10f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 8 deletions

View File

@ -857,16 +857,16 @@ interface (API).")
(define-public python-pygame (define-public python-pygame
(package (package
(name "python-pygame") (name "python-pygame")
(version "1.9.3") (version "1.9.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pygame" version)) (uri (pypi-uri "pygame" version))
(sha256 (sha256
(base32 (base32
"1hlydiyygl444bq5m5g8n3jsxsgrdyxlm42ipmfbw36wkf0j243m")))) "1dn0nb86jl7yr8709cncxdr0yrmviqakw7zx3g8jbbwrr60if3bh"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f ; Tests require pygame to be installed first. `(#:tests? #f ; tests require pygame to be installed first
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; Set the paths to the dependencies manually because ;; Set the paths to the dependencies manually because
@ -891,23 +891,23 @@ interface (API).")
(substitute* "Setup.in" (substitute* "Setup.in"
(("FONT = -lSDL_ttf") (("FONT = -lSDL_ttf")
(string-append "FONT = -I" font-ref "/include/SDL -L" (string-append "FONT = -I" font-ref "/include/SDL -L"
font-ref "/lib -lSDL_ttf"))) font-ref "/lib -lSDL_ttf")))
(substitute* "Setup.in" (substitute* "Setup.in"
(("IMAGE = -lSDL_image") (("IMAGE = -lSDL_image")
(string-append "IMAGE = -I" image-ref "/include/SDL -L" (string-append "IMAGE = -I" image-ref "/include/SDL -L"
image-ref "/lib -lSDL_image"))) image-ref "/lib -lSDL_image")))
(substitute* "Setup.in" (substitute* "Setup.in"
(("MIXER = -lSDL_mixer") (("MIXER = -lSDL_mixer")
(string-append "MIXER = -I" mixer-ref "/include/SDL -L" (string-append "MIXER = -I" mixer-ref "/include/SDL -L"
mixer-ref "/lib -lSDL_mixer"))) mixer-ref "/lib -lSDL_mixer")))
(substitute* "Setup.in" (substitute* "Setup.in"
(("SMPEG = -lsmpeg") (("SMPEG = -lsmpeg")
(string-append "SMPEG = -I" smpeg-ref "/include/smpeg -L" (string-append "SMPEG = -I" smpeg-ref "/include/smpeg -L"
smpeg-ref "/lib -lsmpeg"))) smpeg-ref "/lib -lsmpeg")))
(substitute* "Setup.in" (substitute* "Setup.in"
(("PNG = -lpng") (("PNG = -lpng")
(string-append "PNG = -I" png-ref "/include -L" (string-append "PNG = -I" png-ref "/include -L"
png-ref "/lib -lpng"))) png-ref "/lib -lpng")))
(substitute* "Setup.in" (substitute* "Setup.in"
(("JPEG = -ljpeg") (("JPEG = -ljpeg")
(string-append "JPEG = -I" jpeg-ref "/include -L" (string-append "JPEG = -I" jpeg-ref "/include -L"