all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: AwesomeAdam54321 <adam.faiz@disroot.org>
Cc: 67131@debbugs.gnu.org
Subject: [bug#67131] [PATCH v3 7/7] gnu: Add tuxemon.
Date: Tue, 14 May 2024 09:33:53 +0200	[thread overview]
Message-ID: <2718473f4650e7502d7ebc8434e8441db75c9481.camel@gmail.com> (raw)
In-Reply-To: <e73f2b26c294c32f791774a8f6f44385f650a96f.1702911965.git.adam.faiz@disroot.org>

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@pelzflorian.de>
>  ;;; Copyright © 2023 Ivana Drazovic <iv.dra@hotmail.com>
>  ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
> +;;; Copyright © 2023 Adam Faiz <adam.faiz@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

       reply	other threads:[~2024-05-14  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz@disroot.org>
     [not found] ` <e73f2b26c294c32f791774a8f6f44385f650a96f.1702911965.git.adam.faiz@disroot.org>
2024-05-14  7:33   ` Liliana Marie Prikler [this message]
2023-12-18 15:10 [bug#67131] [PATCH v3 1/7] gnu: Add python-neteria Adam Faiz via Guix-patches via
2023-12-18 15:21 ` [bug#67131] [PATCH v3 7/7] gnu: Add tuxemon Adam Faiz via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2718473f4650e7502d7ebc8434e8441db75c9481.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=67131@debbugs.gnu.org \
    --cc=adam.faiz@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.