diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-07-03 16:57:31 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-07-03 17:07:09 +0200 |
commit | 4cd5f030880882a22f4676101ae2c98bd8932b18 (patch) | |
tree | c7041a0efcfe57cc0f2de13162387f58bc9a5636 | |
parent | 3e987cf5217ca3b028001532ecf4589f83303b9a (diff) | |
download | guix-4cd5f030880882a22f4676101ae2c98bd8932b18.tar.gz |
gnu: python-pygame-sdl2: Update to 2.1.0-for-renpy-8.0.0.
* gnu/packages/game-development.scm (python-pygame-sdl2): Update to 2.1.0-for-renpy-8.0.0. [source]: Revert to url-fetch. Also add back the snippet to remove generated sources.
-rw-r--r-- | gnu/packages/game-development.scm | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 04f2b061fc..117c743107 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1209,24 +1209,25 @@ to create fully featured games and multimedia programs in the python language.") license:lgpl2.1+)))) (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") - ;;(renpy-version "8.0.0") - (commit "1705c6e3004dcb1daf859560bcd52eb093e97d45")) + (renpy-version "8.0.0")) (package (inherit python-pygame) (name "python-pygame-sdl2") - (version (git-version real-version "0" commit)) + (version (string-append real-version "-for-renpy-" renpy-version)) (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/renpy/pygame_sdl2") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 (base32 "1g0arhpd59zypspk36sgajf1kzavppfkv766vifvxar60968rrjn")))) + (method url-fetch) + (uri (string-append "https://www.renpy.org/dl/" renpy-version + "/pygame_sdl2-" version ".tar.gz")) + (sha256 (base32 "0majf64pdfba5byjlv41pgsdmwvy09hw3m7143jz3kc1wjd2gaw8")) + (modules '((guix build utils))) + (snippet + '(begin + ;; drop generated sources + (delete-file-recursively "gen") + (delete-file-recursively "gen3") + (delete-file-recursively "gen-static"))))) (build-system python-build-system) (arguments `(#:tests? #f ; tests require pygame to be installed first |