GNU bug report logs - #67131
[PATCH 0/7] gnu: Add tuxemon.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Sun, 12 Nov 2023 17:04:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Cc: 67131 <at> debbugs.gnu.org
Subject: [bug#67131] [PATCH v3 7/7] gnu: Add tuxemon.
Date: Tue, 14 May 2024 09:33:53 +0200
Am Montag, dem 13.11.2023 um 11:53 +0800 schrieb AwesomeAdam54321:
> * gnu/packages/games.scm (tuxemon): New variable.
> ---
>  gnu/packages/games.scm | 64
> ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 64 insertions(+)
> 
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 9936f96e6b..66739d7a6b 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -79,6 +79,7 @@
>  ;;; Copyright © 2023 Florian Pelz <pelzflorian <at> pelzflorian.de>
>  ;;; Copyright © 2023 Ivana Drazovic <iv.dra <at> hotmail.com>
>  ;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
> +;;; Copyright © 2023 Adam Faiz <adam.faiz <at> disroot.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -5922,6 +5923,69 @@ (define-public chromium-bsu
>      ;; by the Expat License.
>      (license (list license:clarified-artistic license:expat))))
>  
> +(define-public tuxemon
> +  (let ((commit "068b9c44345a86e83b35383a2e372629214f51f3")
> +        (revision "0"))
> +  (package
> +    (name "tuxemon")
> +    (version (git-version "0.4.34" revision commit))
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +              (url "https://github.com/Tuxemon/Tuxemon")
> +              (commit commit)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> "1nsq26zx355w0sr2rc74kv2gnllqgki9fc5rgdiqcgiqsksbrhfy"))
> +       (modules '((guix build utils)))
> +       (snippet
> +        #~(begin
> +            (substitute* "setup.py"
> +              (("# build_translations..") "build_translations()")
> +              (("tuxemon.core.locale") "tuxemon.locale"))
> +            (substitute* "requirements.txt"
> +              (("pygame-ce") "pygame") ; The pygame-ce fork isn't
> packaged in Guix
> +              (("pygame-menu-ce") "pygame-menu")
> +              (("==") ">="))
> +            (substitute* "tuxemon/constants/paths.py"
> +              (("LIBDIR, ....,") "LIBDIR,"))))))
> +    (build-system pyproject-build-system)
> +    (propagated-inputs
> +     (list python-babel
> +           python-cbor
> +           python-neteria
> +           python-natsort
> +           python-pygame
> +           python-pyscroll
> +           python-pytmx
> +           python-pillow
> +           python-prompt-toolkit
> +           python-pydantic
> +           python-pygame-menu
> +           python-pyyaml
> +           python-requests))
> +    (arguments
> +     (list #:tests? #f ; Some tests are outdated because of API
> changes
Can we just disable those "some tests"?
> +           #:phases
> +           #~(modify-phases %standard-phases
> +               (add-after 'install 'install-mods
> +                 (lambda _
> +                   (let ((site (string-append #$output "/lib/python"
> +                                              #$(version-major+minor
> +                                                 (package-version
> python))
> +                                              "/site-
> packages/tuxemon/mods")))
> +                     (mkdir-p site)
> +                     (copy-recursively "mods" site)))))))
> +    (home-page "https://www.tuxemon.org/")
> +    (synopsis "Monster-fighting RPG")
> +    (description
> +     "Tuxemon is a monster-fighting RPG.
> +In the spirit of other clones like SuperTux and SuperTuxKart,
> +Tuxemon aims to create a game with its own unique style
> +that sets it apart from other monster fighting RPGs.")
> +    (license license:gpl3+))))
> +
>  (define-public tuxpaint
>    (package
>      (name "tuxpaint")
The current v3 appears broken when trying 'git am'.  Would you mind
sending a v4 with possible updates also to the dependencies?

Cheers

This bug report was last modified 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.