me
/
guix
Archived
1
0
Fork 0

gnu: python-pygame-sdl2: Update to 2.1.0-0-1705c6e.

* gnu/packages/game-development.scm (python-pygame-sdl2): Update to
2.1.0-0-1705c6e.
Liliana Marie Prikler 2022-06-17 10:26:57 +02:00
parent 82cff40a9c
commit 62a7455107
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 12 additions and 14 deletions

View File

@ -1207,26 +1207,24 @@ to create fully featured games and multimedia programs in the python language.")
license:lgpl2.1+)))) license:lgpl2.1+))))
(define-public python-pygame-sdl2 (define-public python-pygame-sdl2
;; Using latest git commit as of 2022-06-17, because there is no tagged
;; release for renpy 8.
;; Revert back to URLs once renpy 8 is released!
(let ((real-version "2.1.0") (let ((real-version "2.1.0")
(renpy-version "7.4.11")) ;;(renpy-version "8.0.0")
(commit "1705c6e3004dcb1daf859560bcd52eb093e97d45"))
(package (package
(inherit python-pygame) (inherit python-pygame)
(name "python-pygame-sdl2") (name "python-pygame-sdl2")
(version (string-append real-version "-for-renpy-" renpy-version)) (version (git-version real-version "0" commit))
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://www.renpy.org/dl/" renpy-version (uri (git-reference
"/pygame_sdl2-" version ".tar.gz")) (url "https://github.com/renpy/pygame_sdl2")
(sha256 (base32 "0nxvca16299jx6sp0ys29rqixcs21ymhqwjfkbchhss0yar7qjgz")) (commit commit)))
(modules '((guix build utils))) (file-name (git-file-name name version))
(snippet (sha256 (base32 "1g0arhpd59zypspk36sgajf1kzavppfkv766vifvxar60968rrjn"))))
'(begin
;; drop generated sources
(delete-file-recursively "gen")
(delete-file-recursively "gen3")
(delete-file-recursively "gen-static")
#t))))
(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