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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67131 in the body.
You can then email your comments to 67131 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Faiz <adam.faiz <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 12 Nov 2023 17:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 0/7] gnu: Add tuxemon.
Date: Mon, 13 Nov 2023 01:02:01 +0800
From cfe1482480fa26ac9da818fa4b0669dd6017f99b Mon Sep 17 00:00:00 2001
Message-ID: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 00:36:37 +0800
Subject: [PATCH 0/7] gnu: Add tuxemon.

This patch series adds Tuxemon, a monster RPG.

I got stuck packaging this for a long time because I didn't know
how to fix the packaging problems in python-pygame and tuxemon.

It turns out the fixes were simple, but I don't think they've been
sent upstream yet.

AwesomeAdam54321 (7):
  gnu: Add python-neteria.
  gnu: Add python-pyglet.
  gnu: python-pygame: Update to 2.5.2.
  gnu: Add python-pygame-menu.
  gnu: Add python-pyscroll.
  gnu: Add python-pytmx.
  gnu: Add tuxemon.

 gnu/packages/game-development.scm | 122 +++++++++++++++++++++++++++++-
 gnu/packages/games.scm            |  62 +++++++++++++++
 2 files changed, 181 insertions(+), 3 deletions(-)


base-commit: b268842ec4808f5030f3bda95f52ff39dd88e3ad
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 1/7] gnu: Add python-neteria.
Date: Mon, 13 Nov 2023 01:06:26 +0800
From 946366ee7f4e87a167eae7a4fc53cd6a35286edd Mon Sep 17 00:00:00 2001
Message-ID: <946366ee7f4e87a167eae7a4fc53cd6a35286edd.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:16:40 +0800
Subject: [PATCH 1/7] gnu: Add python-neteria.

* gnu/packages/game-development.scm (python-neteria): New variable.
---
 gnu/packages/game-development.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c4616877a1..abc7b35c25 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -488,6 +488,24 @@ (define-public python-nbt
 and it's container the RegionFile.")
     (license license:expat)))
 
+(define-public python-neteria
+  (package
+    (name "python-neteria")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "neteria" version))
+       (sha256
+        (base32 "1azlix80a6vns2i3z0bdbqk32kx8s2gjh2nvshab235fd9h85yv7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-rsa))
+    (home-page "https://pypi.org/project/neteria/")
+    (synopsis "Simple game networking library")
+    (description
+     "This package is a game networking framework for Python.")
+    (license license:gpl3+)))
 (define-public python-sge
   (package
     (name "python-sge")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:11:01 GMT) Full text and rfc822 format available.

Message #11 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 2/7] gnu: Add python-pyglet.
Date: Mon, 13 Nov 2023 01:09:21 +0800
From 945f787ec2972b18ecc1da56e1362f484a2a355e Mon Sep 17 00:00:00 2001
Message-ID: <945f787ec2972b18ecc1da56e1362f484a2a355e.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 17:26:04 +0800
Subject: [PATCH 2/7] gnu: Add python-pyglet.

* gnu/packages/game-development.scm (python-pyglet): New variable.
---
 gnu/packages/game-development.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index abc7b35c25..1cf46464b9 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1395,6 +1395,30 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pyglet
+  (package
+    (name "python-pyglet")
+    (version "2.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyglet" version ".zip"))
+       (sha256
+        (base32 "1jdraqr7i3bz64m7yvhcnn3av5mnavn13fp5vzmmnz6n7cdynar4"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list unzip))
+    (arguments
+     ;; TypeError: don't know how to make test from:
+     ;; <pyglet._ModuleProxy object at 0x7ffff697df90>
+     (list #:tests? #f))
+    (home-page "http://pyglet.readthedocs.org/en/latest/")
+    (synopsis "Windowing and multimedia library")
+    (description "@code{pyglet} is a windowing and multimedia library for Python,
+intended for developing games and other visually rich applications.
+It supports windowing, user interface event handling, game controllers
+and joysticks, OpenGL graphics, loading images and videos, and playing sounds
+and music.")
+    (license license:bsd-3)))
 (define-public python-pygame-sdl2
   (let ((real-version "2.1.0")
         (renpy-version "8.1.0"))
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 3/7] gnu: python-pygame: Update to 2.5.2.
Date: Mon, 13 Nov 2023 01:10:20 +0800
From 02d31d0842c19a62e16d849e012ed86db7888076 Mon Sep 17 00:00:00 2001
Message-ID: <02d31d0842c19a62e16d849e012ed86db7888076.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:18:40 +0800
Subject: [PATCH 3/7] gnu: python-pygame: Update to 2.5.2.

* gnu/packages/game-development.scm (python-pygame): Update to 2.5.2.
[arguments]: Adapt the 'fix-build-config phase to the new version.
---
 gnu/packages/game-development.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 1cf46464b9..45d63b8cdf 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1328,13 +1328,13 @@ (define-public quesoglc
 (define-public python-pygame
   (package
     (name "python-pygame")
-    (version "2.1.2")
+    (version "2.5.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "pygame" version))
               (sha256
                (base32
-                "0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
+                "0jn2n70hmgr33yc6xzdi33cs5w7jnmgi44smyxfarrrrsnsrxf61"))))
     (build-system python-build-system)
     (arguments
      (list
@@ -1348,7 +1348,10 @@ (define-public python-pygame
                  "origincdirs = os.environ['C_INCLUDE_PATH'].split(\":\")")
                 (("ORIGLIBDIRS") "LIBRARY_PATH")
                 (("incdirs = \\[\\]") "incdirs = origincdirs")
-                (("libdirs = \\[\\]") "libdirs = origlibdirs"))))
+                (("libdirs = \\[\\]") "libdirs = origlibdirs")
+                (("sdl2-config") "pkg-config sdl2")
+                (("\\['sdl'\\]") "['sdl'], '--modversion'")
+                ((".dpkg-architecture.*,") ""))))
           (add-after 'unpack 'fix-sdl2-headers
             (lambda _
               (substitute* "buildconfig/config_unix.py"
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:13:01 GMT) Full text and rfc822 format available.

Message #17 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 4/7] gnu: Add python-pygame-menu.
Date: Mon, 13 Nov 2023 01:11:42 +0800
From 436ff79c2d5304b69d8d38be30fa909971fa0604 Mon Sep 17 00:00:00 2001
Message-ID: <436ff79c2d5304b69d8d38be30fa909971fa0604.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 23:29:34 +0800
Subject: [PATCH 4/7] gnu: Add python-pygame-menu.

* gnu/packages/game-development.scm (python-pygame-menu): New variable.
---
 gnu/packages/game-development.scm | 33 +++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 45d63b8cdf..c06fa7f916 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1422,6 +1422,39 @@ (define-public python-pyglet
 and joysticks, OpenGL graphics, loading images and videos, and playing sounds
 and music.")
     (license license:bsd-3)))
+
+(define-public python-pygame-menu
+  (package
+    (name "python-pygame-menu")
+    (version "4.4.3")
+    (source
+     ;; Tests not included in release.
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/ppizarror/pygame-menu")
+           (commit version)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0s7w8z931iw9rzsaq9810lbrgba9i2qhkryf0y011njc6bxhf6w4"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Some tests depend on having a mixer, and a few assertions fail
+     (list #:tests? #f))
+    (propagated-inputs (list python-pygame python-pyperclip
+                             python-typing-extensions))
+    (native-inputs (list python-nose2))
+    (home-page "https://pygame-menu.readthedocs.io")
+    (synopsis "Menu for pygame")
+    (description
+     "Pygame-menu is a python-pygame library for creating menus and GUIs.
+It supports several widgets, such as buttons, color inputs, clock objects,
+drop selectors, frames, images, labels, selectors, tables, text inputs,
+color switches, and many more, with multiple options to customize.")
+    (license license:expat)))
+
 (define-public python-pygame-sdl2
   (let ((real-version "2.1.0")
         (renpy-version "8.1.0"))
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:14:02 GMT) Full text and rfc822 format available.

Message #20 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 5/7] gnu: Add python-pyscroll.
Date: Mon, 13 Nov 2023 01:12:35 +0800
From 678efa89885960e51109d8e0d4064d8657c9d4dc Mon Sep 17 00:00:00 2001
Message-ID: <678efa89885960e51109d8e0d4064d8657c9d4dc.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:32:47 +0800
Subject: [PATCH 5/7] gnu: Add python-pyscroll.

* gnu/packages/game-development.scm (python-pyscroll): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c06fa7f916..a463335cd2 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -506,6 +506,25 @@ (define-public python-neteria
     (description
      "This package is a game networking framework for Python.")
     (license license:gpl3+)))
+
+(define-public python-pyscroll
+  (package
+    (name "python-pyscroll")
+    (version "2.31")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyscroll" version))
+              (sha256
+               (base32
+                "0w3c58mkkbsyvx9w9hwdizk20pbds800m7v9vg49ydw440dha0hr"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pygame))
+    (home-page "https://github.com/bitcraft/pyscroll")
+    (synopsis "Fast scrolling maps library for pygame")
+    (description "@code{pyscroll} is a simple and fast module
+for animated scrolling maps for your new or existing game.")
+    (license license:lgpl3+)))
+
 (define-public python-sge
   (package
     (name "python-sge")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:15:02 GMT) Full text and rfc822 format available.

Message #23 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 6/7] gnu: Add python-pytmx.
Date: Mon, 13 Nov 2023 01:13:27 +0800
From 3b441b8794e3aae6a0693cf856b080d513bbe600 Mon Sep 17 00:00:00 2001
Message-ID: <3b441b8794e3aae6a0693cf856b080d513bbe600.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 00:00:14 +0800
Subject: [PATCH 6/7] gnu: Add python-pytmx.

* gnu/packages/game-development.scm (python-pytmx): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index a463335cd2..ef51d5d452 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -548,6 +548,25 @@ (define-public python-sge
 possible, and it also makes the SGE easy to learn.")
     (license license:lgpl3+)))
 
+(define-public python-pytmx
+  (package
+    (name "python-pytmx")
+    (version "3.32")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "PyTMX" version))
+              (sha256
+               (base32
+                "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pygame python-pysdl2 python-pyglet))
+  (home-page "https://github.com/bitcraft/PyTMX")
+  (synopsis "Python library to read Tiled Map Editor's TMX maps")
+  (description "@code{pytmx} is a map loader for python/pygame designed for games.
+It provides smart tile loading with a fast and efficient storage base.")
+  (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sun, 12 Nov 2023 17:16:01 GMT) Full text and rfc822 format available.

Message #26 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH 7/7] gnu: Add tuxemon.
Date: Mon, 13 Nov 2023 01:14:38 +0800
From cfe1482480fa26ac9da818fa4b0669dd6017f99b Mon Sep 17 00:00:00 2001
Message-ID: <cfe1482480fa26ac9da818fa4b0669dd6017f99b.1699806997.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1699806997.git.adam.faiz <at> disroot.org>
References: <cover.1699806997.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 23:49:16 +0800
Subject: [PATCH 7/7] gnu: Add tuxemon.

* gnu/packages/games.scm (tuxemon): New variable.
---
 gnu/packages/games.scm | 62 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 18907be6ba..7a5c213f80 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5922,6 +5922,68 @@ (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"
+              (("-ce") "") ; The pygame-ce fork isn't packaged in Guix
+              (("==") ">="))
+            (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
+           #: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")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:05:01 GMT) Full text and rfc822 format available.

Message #29 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v1 1/7] gnu: Add python-neteria.
Date: Mon, 13 Nov 2023 12:03:58 +0800
From c3534b088236ae688d64aa91046c24774ac259a6 Mon Sep 17 00:00:00 2001
Message-ID: <c3534b088236ae688d64aa91046c24774ac259a6.1699848118.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:16:40 +0800
Subject: [PATCH v1 1/7] gnu: Add python-neteria.

* gnu/packages/game-development.scm (python-neteria): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index bc318dec52..f6e3a02dea 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -488,6 +488,25 @@ (define-public python-nbt
 and it's container the RegionFile.")
     (license license:expat)))
 
+(define-public python-neteria
+  (package
+    (name "python-neteria")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "neteria" version))
+       (sha256
+        (base32 "1azlix80a6vns2i3z0bdbqk32kx8s2gjh2nvshab235fd9h85yv7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-rsa))
+    (home-page "https://pypi.org/project/neteria/")
+    (synopsis "Simple game networking library")
+    (description
+     "This package is a game networking framework for Python.")
+    (license license:gpl3+)))
+
 (define-public python-sge
   (package
     (name "python-sge")

base-commit: 77386bdbfe6b0c649c05ab37f08051d1ab3e5074
prerequisite-patch-id: cda2ec73586d6ef39faed4e308dea626c809589a
prerequisite-patch-id: 2d22b04ed0bc0cc6c85c808b61d49a33bcaaa09a
prerequisite-patch-id: b9fa13611fb11dc7fe3795cad75c8f493472bfa4
prerequisite-patch-id: e851db072fad08b507e4568e5cc5e978ec37e488
prerequisite-patch-id: 69f19053d3985e098bb6d699cdfa05218138074b
prerequisite-patch-id: 8fbe5d4c1fd9af1303e5172d9c0a91d02d8b90e7
prerequisite-patch-id: 3ef7533cf54ffe315b9c4528009da4e91acb49f4
prerequisite-patch-id: 1bc01cc50326348aeabda41775163a97be17eeba
prerequisite-patch-id: d4c7c0c9ae9d805cb55bd44b3ac49d7ef2d7ea87
prerequisite-patch-id: d8efacb63f67f23ea485ce455cde9eb0d1500fa8
prerequisite-patch-id: 94c3f9d52e643f01a2a9af0796f31b76e6203b3c
prerequisite-patch-id: 325387e07982e0acb0b553ea6d711cdfcc818b99
prerequisite-patch-id: ab198aa8e899340a33ebfe3351cb8a1ae0b6d3e9
prerequisite-patch-id: 7e87a8a70d7beca06722039138d8ed269e9f9c06
prerequisite-patch-id: 7f235a69b487e800df821edd5e3de7a583fc10b5
prerequisite-patch-id: eb82e91f919bb590df8f7594c1eeda49cc486aee
prerequisite-patch-id: 2ae318efb71263e4729f416941de12b602f65657
prerequisite-patch-id: cead32b303c0940848ea1c674010a9cf9deaa99b
prerequisite-patch-id: 5f3caa118dd334fbff161d7707f2c25d3b90761f
prerequisite-patch-id: 6594f2a0c777c23a41961e46a5631e7f919100b9
prerequisite-patch-id: c027e2daf0d3f02a500ac4acbccdfc5afbecc94c
prerequisite-patch-id: 76c5301e062ffb74e1984035dff3fc84b5a7c60f
prerequisite-patch-id: 024e60bc158285e0138d9d75f1559fdc6060ed41
prerequisite-patch-id: 68830157b938b6bec5ab1e8b84da7785f9ddfe18
prerequisite-patch-id: 2a2c22c593d4e8639b875bad5117c517d21d3d38
prerequisite-patch-id: b193520276af5548016e5ecf09458c2ceae819fe
prerequisite-patch-id: aabcbe7c88dba7324ef788e839a512fa70555770
prerequisite-patch-id: 8db19350da80b519507190b7d78e5bd08b12f36f
prerequisite-patch-id: 27503579f8bdfadb95847b8dd5bf3732f5149cfb
prerequisite-patch-id: ebaa3179543385a847dc65334cff8ddd1b46da3a
prerequisite-patch-id: 14e768a59ec3b0783918879f1160115f3f489140
prerequisite-patch-id: 15edcd72b565f696ed813c3c225d8220056445dc
prerequisite-patch-id: c805af9b720aa71defb952e9cedb035818f0e58b
prerequisite-patch-id: 9b44ed514b15414d8f326043d4d4d616c946a30f
prerequisite-patch-id: d796918632b60f4148b771ab8ee1b525674ec214
prerequisite-patch-id: 99cf3a7034251c7b37a9f4ba645ce2b85e86dc3b
prerequisite-patch-id: fe15935e0161b121b613dfd5cabd4483d2410b3f
prerequisite-patch-id: bdedcae94978bb7a7829c1d287caa2ce0d4ace5d
prerequisite-patch-id: 059809b461b184e0e37b93ee25ea2d1d1b40ac79
prerequisite-patch-id: c9444b6bb6b629a5c2c0af9ca41a32fc2011d0ee
prerequisite-patch-id: 0721804abd4a8abbdb2e16f5199de865f9d0c203
prerequisite-patch-id: 2b8ed9a6b236ae0fca1e4f160b8828a4fe7a26bf
prerequisite-patch-id: c3590f35cd5c26409fadf1bb6458d4c2c234148e
prerequisite-patch-id: 9ea84ba795bdf46a6b3a15ee5775f1ef737c3d50
prerequisite-patch-id: 50f6d18de83380ff58ac60bdadea8c579828d422
prerequisite-patch-id: 110e6dd16e018ed6cea7df2783057a2e3b178c12
prerequisite-patch-id: bbbdd977522935e6d9aa555b3ed14d888bf73dff
prerequisite-patch-id: 677d15ee757177d8bd34b6c3d480a4e2396c9f46
prerequisite-patch-id: 6b38ad9a7bb938e87033f49916b69e78a852d8f0
prerequisite-patch-id: 7d771bf7e9261fbc302dd115bd6386d49ea895ef
prerequisite-patch-id: c4ac9041f89b9d475212a24b0340541a91b0f85a
prerequisite-patch-id: 22248683740856c5ed7f3f6ace18d2df75ea0a7c
prerequisite-patch-id: 96550ceba55ca7c10ff62437c6ff36cf3cdd20d0
prerequisite-patch-id: 939cdc126f062ba1dda1b58482723c69aeaecc72
prerequisite-patch-id: 157cede08043e7d263d1eef01a71e83bfaca5cf0
prerequisite-patch-id: c465af0a4e23f343178c23a540884bc635b80e35
prerequisite-patch-id: fc5e2464f5f2f42411429f775ee0bd10dd59ec08
prerequisite-patch-id: 59c45858c8e8e52fa29c7ee948ed695137de2b5c
prerequisite-patch-id: dda1c6fb5c655e6f67602ef9d30c1a0ffd7e534f
prerequisite-patch-id: 298bc76cece3c71b0d8be968b62ce50208014de5
prerequisite-patch-id: 72d733289aab13119b1ab11c037416abbd4db3a1
prerequisite-patch-id: 0d98ba85d75ba48f7f37cee9beb97eef17f5e636
prerequisite-patch-id: d97e61cd8d47d445bc0414bad3afdf873c93d3c2
prerequisite-patch-id: 3452cb340a250524d77d833c094a0c28d1d67bff
prerequisite-patch-id: 0c59c6ec270ef6e74aadbacd38524fa3cd34f274
prerequisite-patch-id: b2efccb3578a6601234a9b483393a472de9921ee
prerequisite-patch-id: 776787b2bc2b36563cbbeb14a6e684adf0c8b3ed
prerequisite-patch-id: d3b8fcf888673a9dc1639d049659e2d48295df7a
prerequisite-patch-id: 0d3dd5d76b10e586824b9b3fdb2f603145ffe551
prerequisite-patch-id: 532f107492bc59a7679164a31e43957d5c863199
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:08:02 GMT) Full text and rfc822 format available.

Message #32 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 1/7] gnu: Add python-neteria.
Date: Mon, 13 Nov 2023 12:06:39 +0800
From c3534b088236ae688d64aa91046c24774ac259a6 Mon Sep 17 00:00:00 2001
Message-ID: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:16:40 +0800
Subject: [PATCH v2 1/7] gnu: Add python-neteria.

* gnu/packages/game-development.scm (python-neteria): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index bc318dec52..f6e3a02dea 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -488,6 +488,25 @@ (define-public python-nbt
 and it's container the RegionFile.")
     (license license:expat)))
 
+(define-public python-neteria
+  (package
+    (name "python-neteria")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "neteria" version))
+       (sha256
+        (base32 "1azlix80a6vns2i3z0bdbqk32kx8s2gjh2nvshab235fd9h85yv7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-rsa))
+    (home-page "https://pypi.org/project/neteria/")
+    (synopsis "Simple game networking library")
+    (description
+     "This package is a game networking framework for Python.")
+    (license license:gpl3+)))
+
 (define-public python-sge
   (package
     (name "python-sge")

base-commit: 77386bdbfe6b0c649c05ab37f08051d1ab3e5074
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:10:02 GMT) Full text and rfc822 format available.

Message #35 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 2/7] gnu: Add python-pyglet.
Date: Mon, 13 Nov 2023 12:08:35 +0800
From 52e19861814837d58440cf628c4948a1df170146 Mon Sep 17 00:00:00 2001
Message-ID: <52e19861814837d58440cf628c4948a1df170146.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:39:22 +0800
Subject: [PATCH v2 2/7] gnu: Add python-pyglet.

* gnu/packages/game-development.scm (python-pyglet): New variable.
---
 gnu/packages/game-development.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index f6e3a02dea..f54b629f90 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1396,6 +1396,31 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pyglet
+  (package
+    (name "python-pyglet")
+    (version "2.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyglet" version ".zip"))
+       (sha256
+        (base32 "1jdraqr7i3bz64m7yvhcnn3av5mnavn13fp5vzmmnz6n7cdynar4"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list unzip))
+    (arguments
+     ;; TypeError: don't know how to make test from:
+     ;; <pyglet._ModuleProxy object at 0x7ffff697df90>
+     (list #:tests? #f))
+    (home-page "http://pyglet.readthedocs.org/en/latest/")
+    (synopsis "Windowing and multimedia library")
+    (description "@code{pyglet} is a windowing and multimedia library for Python,
+intended for developing games and other visually rich applications.
+It supports windowing, user interface event handling, game controllers
+and joysticks, OpenGL graphics, loading images and videos, and playing sounds
+and music.")
+    (license license:bsd-3)))
+
 (define-public python-pygame-sdl2
   (let ((real-version "2.1.0")
         (renpy-version "8.1.0"))
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:11:02 GMT) Full text and rfc822 format available.

Message #38 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 3/7] gnu: python-pygame: Update to 2.5.2.
Date: Mon, 13 Nov 2023 12:09:51 +0800
From 2ea54bea5266a8f61793934fe4083d2c28a15835 Mon Sep 17 00:00:00 2001
Message-ID: <2ea54bea5266a8f61793934fe4083d2c28a15835.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:40:42 +0800
Subject: [PATCH v2 3/7] gnu: python-pygame: Update to 2.5.2.

* gnu/packages/game-development.scm (python-pygame): Update to 2.5.2.
[arguments]: Adapt the 'fix-build-config phase to the new version.
---
 gnu/packages/game-development.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index f54b629f90..ed9e8cb826 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1329,13 +1329,13 @@ (define-public quesoglc
 (define-public python-pygame
   (package
     (name "python-pygame")
-    (version "2.1.2")
+    (version "2.5.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "pygame" version))
               (sha256
                (base32
-                "0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
+                "0jn2n70hmgr33yc6xzdi33cs5w7jnmgi44smyxfarrrrsnsrxf61"))))
     (build-system python-build-system)
     (arguments
      (list
@@ -1349,7 +1349,10 @@ (define-public python-pygame
                  "origincdirs = os.environ['C_INCLUDE_PATH'].split(\":\")")
                 (("ORIGLIBDIRS") "LIBRARY_PATH")
                 (("incdirs = \\[\\]") "incdirs = origincdirs")
-                (("libdirs = \\[\\]") "libdirs = origlibdirs"))))
+                (("libdirs = \\[\\]") "libdirs = origlibdirs")
+                (("sdl2-config") "pkg-config sdl2")
+                (("\\['sdl'\\]") "['sdl'], '--modversion'")
+                ((".dpkg-architecture.*,") ""))))
           (add-after 'unpack 'fix-sdl2-headers
             (lambda _
               (substitute* "buildconfig/config_unix.py"
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:13:02 GMT) Full text and rfc822 format available.

Message #41 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 4/7] gnu: Add python-pygame-menu.
Date: Mon, 13 Nov 2023 12:11:20 +0800
From 5550355f5dbed58b3e7a188d2c1c8f1aeb646c40 Mon Sep 17 00:00:00 2001
Message-ID: <5550355f5dbed58b3e7a188d2c1c8f1aeb646c40.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:41:54 +0800
Subject: [PATCH v2 4/7] gnu: Add python-pygame-menu.

* gnu/packages/game-development.scm (python-pygame-menu): New variable.
---
 gnu/packages/game-development.scm | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index ed9e8cb826..2222183970 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1399,6 +1399,38 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pygame-menu
+  (package
+    (name "python-pygame-menu")
+    (version "4.4.3")
+    (source
+     ;; Tests not included in release.
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/ppizarror/pygame-menu")
+           (commit version)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0s7w8z931iw9rzsaq9810lbrgba9i2qhkryf0y011njc6bxhf6w4"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Some tests depend on having a mixer, and a few assertions fail
+     (list #:tests? #f))
+    (propagated-inputs (list python-pygame python-pyperclip
+                             python-typing-extensions))
+    (native-inputs (list python-nose2))
+    (home-page "https://pygame-menu.readthedocs.io")
+    (synopsis "Menu for pygame")
+    (description
+     "Pygame-menu is a python-pygame library for creating menus and GUIs.
+It supports several widgets, such as buttons, color inputs, clock objects,
+drop selectors, frames, images, labels, selectors, tables, text inputs,
+color switches, and many more, with multiple options to customize.")
+    (license license:expat)))
+
 (define-public python-pyglet
   (package
     (name "python-pyglet")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:14:01 GMT) Full text and rfc822 format available.

Message #44 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 5/7] gnu: Add python-pyscroll.
Date: Mon, 13 Nov 2023 12:12:28 +0800
From 82f89ba8aa785b2fb0bec1283053b462eba8d28d Mon Sep 17 00:00:00 2001
Message-ID: <82f89ba8aa785b2fb0bec1283053b462eba8d28d.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:42:35 +0800
Subject: [PATCH v2 5/7] gnu: Add python-pyscroll.

* gnu/packages/game-development.scm (python-pyscroll): New variable.
---
 gnu/packages/game-development.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 2222183970..ad29931b72 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -507,6 +507,24 @@ (define-public python-neteria
      "This package is a game networking framework for Python.")
     (license license:gpl3+)))
 
+(define-public python-pyscroll
+  (package
+    (name "python-pyscroll")
+    (version "2.31")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyscroll" version))
+              (sha256
+               (base32
+                "0w3c58mkkbsyvx9w9hwdizk20pbds800m7v9vg49ydw440dha0hr"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pygame))
+    (home-page "https://github.com/bitcraft/pyscroll")
+    (synopsis "Fast scrolling maps library for pygame")
+    (description "@code{pyscroll} is a simple and fast module
+for animated scrolling maps for your new or existing game.")
+    (license license:lgpl3+)))
+
 (define-public python-sge
   (package
     (name "python-sge")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:15:02 GMT) Full text and rfc822 format available.

Message #47 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 6/7] gnu: Add python-pytmx.
Date: Mon, 13 Nov 2023 12:14:08 +0800
From 162752285f22ea08d5d8f911b19062da213aa910 Mon Sep 17 00:00:00 2001
Message-ID: <162752285f22ea08d5d8f911b19062da213aa910.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:43:51 +0800
Subject: [PATCH v2 6/7] gnu: Add python-pytmx.

* gnu/packages/game-development.scm (python-pytmx): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index ad29931b72..d9ec0d5826 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -548,6 +548,25 @@ (define-public python-sge
 possible, and it also makes the SGE easy to learn.")
     (license license:lgpl3+)))
 
+(define-public python-pytmx
+  (package
+    (name "python-pytmx")
+    (version "3.32")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "PyTMX" version))
+              (sha256
+               (base32
+                "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pygame python-pysdl2 python-pyglet))
+  (home-page "https://github.com/bitcraft/PyTMX")
+  (synopsis "Python library to read Tiled Map Editor's TMX maps")
+  (description "@code{pytmx} is a map loader for python/pygame designed for games.
+It provides smart tile loading with a fast and efficient storage base.")
+  (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 13 Nov 2023 04:17:02 GMT) Full text and rfc822 format available.

Message #50 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, iyzsong <at> envs.net
Subject: [PATCH v2 7/7] gnu: Add tuxemon.
Date: Mon, 13 Nov 2023 12:15:15 +0800
From d8f1dec54262274b240b77935d352c9cd846a9e6 Mon Sep 17 00:00:00 2001
Message-ID: <d8f1dec54262274b240b77935d352c9cd846a9e6.1699848337.git.adam.faiz <at> disroot.org>
In-Reply-To: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
References: <c3534b088236ae688d64aa91046c24774ac259a6.1699848337.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:53:06 +0800
Subject: [PATCH v2 7/7] gnu: Add tuxemon.

* gnu/packages/games.scm (tuxemon): New variable.
---
 gnu/packages/games.scm | 62 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9936f96e6b..ffc6cc0fc8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5922,6 +5922,68 @@ (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"
+              (("-ce") "") ; The pygame-ce fork isn't packaged in Guix
+              (("==") ">="))
+            (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
+           #: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")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:11:01 GMT) Full text and rfc822 format available.

Message #53 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Subject: [PATCH v3 1/7] gnu: Add python-neteria.
Date: Mon, 18 Dec 2023 23:10:04 +0800
From 9f6186753e6b9cd1f70ec11059c193d30db123aa Mon Sep 17 00:00:00 2001
Message-ID: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:16:40 +0800
Subject: [PATCH v3 1/7] gnu: Add python-neteria.

* gnu/packages/game-development.scm (python-neteria): New variable.
---
 gnu/packages/game-development.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 3d00977601..145538e343 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
 ;;; Copyright © 2022 dan <i <at> dan.games>
 ;;; Copyright © 2023 John Kehayias <john.kehayias <at> protonmail.com>
+;;; Copyright © 2022-2023 Adam Faiz <adam.faiz <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -578,6 +579,25 @@ (define-public python-xsge
 support.")
     (license license:gpl3+)))
 
+(define-public python-neteria
+  (package
+    (name "python-neteria")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "neteria" version))
+       (sha256
+        (base32 "1azlix80a6vns2i3z0bdbqk32kx8s2gjh2nvshab235fd9h85yv7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-rsa))
+    (home-page "https://pypi.org/project/neteria/")
+    (synopsis "Simple game networking library")
+    (description
+     "This package is a game networking framework for Python.")
+    (license license:gpl3+)))
+
 (define-public slade
   (package
     (name "slade")

base-commit: 29c94dd522833b2603a651c14a5b06120bcf1829
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:14:02 GMT) Full text and rfc822 format available.

Message #56 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [PATCH v3 2/7] gnu: Add python-pyglet.
Date: Mon, 18 Dec 2023 23:13:27 +0800
From 572849d2c643ecbe62b31cb9f88ee58d43fb8cc2 Mon Sep 17 00:00:00 2001
Message-ID: <572849d2c643ecbe62b31cb9f88ee58d43fb8cc2.1702911964.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:39:22 +0800
Subject: [PATCH v3 2/7] gnu: Add python-pyglet.

* gnu/packages/game-development.scm (python-pyglet): New variable.
---
 gnu/packages/game-development.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 145538e343..3742b45321 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1399,6 +1399,31 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pyglet
+  (package
+    (name "python-pyglet")
+    (version "2.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyglet" version ".zip"))
+       (sha256
+        (base32 "1jdraqr7i3bz64m7yvhcnn3av5mnavn13fp5vzmmnz6n7cdynar4"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list unzip))
+    (arguments
+     ;; TypeError: don't know how to make test from:
+     ;; <pyglet._ModuleProxy object at 0x7ffff697df90>
+     (list #:tests? #f))
+    (home-page "http://pyglet.readthedocs.org/en/latest/")
+    (synopsis "Windowing and multimedia library")
+    (description "@code{pyglet} is a windowing and multimedia library for Python,
+intended for developing games and other visually rich applications.
+It supports windowing, user interface event handling, game controllers
+and joysticks, OpenGL graphics, loading images and videos, and playing sounds
+and music.")
+    (license license:bsd-3)))
+
 (define-public python-pygame-sdl2
   (let ((real-version "2.1.0")
         (renpy-version "8.1.3"))
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:16:01 GMT) Full text and rfc822 format available.

Message #59 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [PATCH v3 3/7] gnu: python-pygame: Update to 2.5.2.
Date: Mon, 18 Dec 2023 23:14:56 +0800
From 6766999d8bec5ddcf40168a7be3cacf8152f4dad Mon Sep 17 00:00:00 2001
Message-ID: <6766999d8bec5ddcf40168a7be3cacf8152f4dad.1702911964.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:40:42 +0800
Subject: [PATCH v3 3/7] gnu: python-pygame: Update to 2.5.2.

* gnu/packages/game-development.scm (python-pygame): Update to 2.5.2.
[arguments]: Adapt the 'fix-build-config phase to the new version.
---
 gnu/packages/game-development.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 3742b45321..c8d1e14983 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1332,13 +1332,13 @@ (define-public quesoglc
 (define-public python-pygame
   (package
     (name "python-pygame")
-    (version "2.1.2")
+    (version "2.5.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "pygame" version))
               (sha256
                (base32
-                "0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
+                "0jn2n70hmgr33yc6xzdi33cs5w7jnmgi44smyxfarrrrsnsrxf61"))))
     (build-system python-build-system)
     (arguments
      (list
@@ -1352,7 +1352,10 @@ (define-public python-pygame
                  "origincdirs = os.environ['C_INCLUDE_PATH'].split(\":\")")
                 (("ORIGLIBDIRS") "LIBRARY_PATH")
                 (("incdirs = \\[\\]") "incdirs = origincdirs")
-                (("libdirs = \\[\\]") "libdirs = origlibdirs"))))
+                (("libdirs = \\[\\]") "libdirs = origlibdirs")
+                (("sdl2-config") "pkg-config sdl2")
+                (("\\['sdl'\\]") "['sdl'], '--modversion'")
+                ((".dpkg-architecture.*,") ""))))
           (add-after 'unpack 'fix-sdl2-headers
             (lambda _
               (substitute* "buildconfig/config_unix.py"
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:17:01 GMT) Full text and rfc822 format available.

Message #62 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [PATCH v3 4/7] gnu: Add python-pygame-menu.
Date: Mon, 18 Dec 2023 23:16:22 +0800
From fb55515aa11e17fbc2b57145454b4c1e5f58edd9 Mon Sep 17 00:00:00 2001
Message-ID: <fb55515aa11e17fbc2b57145454b4c1e5f58edd9.1702911964.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:41:54 +0800
Subject: [PATCH v3 4/7] gnu: Add python-pygame-menu.

* gnu/packages/game-development.scm (python-pygame-menu): New variable.
---
 gnu/packages/game-development.scm | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c8d1e14983..a87110c138 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1402,6 +1402,38 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pygame-menu
+  (package
+    (name "python-pygame-menu")
+    (version "4.4.3")
+    (source
+     ;; Tests not included in release.
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/ppizarror/pygame-menu")
+           (commit version)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0s7w8z931iw9rzsaq9810lbrgba9i2qhkryf0y011njc6bxhf6w4"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Some tests depend on having a mixer, and a few assertions fail
+     (list #:tests? #f))
+    (propagated-inputs (list python-pygame python-pyperclip
+                             python-typing-extensions))
+    (native-inputs (list python-nose2))
+    (home-page "https://pygame-menu.readthedocs.io")
+    (synopsis "Menu for pygame")
+    (description
+     "Pygame-menu is a python-pygame library for creating menus and GUIs.
+It supports several widgets, such as buttons, color inputs, clock objects,
+drop selectors, frames, images, labels, selectors, tables, text inputs,
+color switches, and many more, with multiple options to customize.")
+    (license license:expat)))
+
 (define-public python-pyglet
   (package
     (name "python-pyglet")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:19:02 GMT) Full text and rfc822 format available.

Message #65 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [PATCH v3 5/7] gnu: Add python-pyscroll.
Date: Mon, 18 Dec 2023 23:18:00 +0800
From 8a294e4597cc4985bf06fe304cca56923ff217b6 Mon Sep 17 00:00:00 2001
Message-ID: <8a294e4597cc4985bf06fe304cca56923ff217b6.1702911964.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:42:35 +0800
Subject: [PATCH v3 5/7] gnu: Add python-pyscroll.

* gnu/packages/game-development.scm (python-pyscroll): New variable.
---
 gnu/packages/game-development.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index a87110c138..5ee4b08e21 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -514,6 +514,24 @@ (define-public python-sge
 possible, and it also makes the SGE easy to learn.")
     (license license:lgpl3+)))
 
+(define-public python-pyscroll
+  (package
+    (name "python-pyscroll")
+    (version "2.31")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyscroll" version))
+              (sha256
+               (base32
+                "0w3c58mkkbsyvx9w9hwdizk20pbds800m7v9vg49ydw440dha0hr"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pygame))
+    (home-page "https://github.com/bitcraft/pyscroll")
+    (synopsis "Fast scrolling maps library for pygame")
+    (description "@code{pyscroll} is a simple and fast module
+for animated scrolling maps for your new or existing game.")
+    (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:20:02 GMT) Full text and rfc822 format available.

Message #68 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Subject: [PATCH v3 6/7] gnu: Add python-pytmx.
Date: Mon, 18 Dec 2023 23:19:31 +0800
From c3f4e8eb98b1c0e802e80e1853476630feb7db6c Mon Sep 17 00:00:00 2001
Message-ID: <c3f4e8eb98b1c0e802e80e1853476630feb7db6c.1702911965.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:43:51 +0800
Subject: [PATCH v3 6/7] gnu: Add python-pytmx.

* gnu/packages/game-development.scm (python-pytmx): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 5ee4b08e21..a2d7c5ea63 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -532,6 +532,25 @@ (define-public python-pyscroll
 for animated scrolling maps for your new or existing game.")
     (license license:lgpl3+)))
 
+(define-public python-pytmx
+  (package
+    (name "python-pytmx")
+    (version "3.32")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "PyTMX" version))
+              (sha256
+               (base32
+                "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pygame python-pysdl2 python-pyglet))
+  (home-page "https://github.com/bitcraft/PyTMX")
+  (synopsis "Python library to read Tiled Map Editor's TMX maps")
+  (description "@code{pytmx} is a map loader for python/pygame designed for games.
+It provides smart tile loading with a fast and efficient storage base.")
+  (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 18 Dec 2023 15:22:02 GMT) Full text and rfc822 format available.

Message #71 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Subject: [PATCH v3 7/7] gnu: Add tuxemon.
Date: Mon, 18 Dec 2023 23:21:03 +0800
From e73f2b26c294c32f791774a8f6f44385f650a96f Mon Sep 17 00:00:00 2001
Message-ID: <e73f2b26c294c32f791774a8f6f44385f650a96f.1702911965.git.adam.faiz <at> disroot.org>
In-Reply-To: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
References: <9f6186753e6b9cd1f70ec11059c193d30db123aa.1702911964.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:53:06 +0800
Subject: [PATCH v3 7/7] gnu: Add tuxemon.

* 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
+           #: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")
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Tue, 14 May 2024 07:36:02 GMT) Full text and rfc822 format available.

Message #74 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Cc: 67131 <at> debbugs.gnu.org
Subject: Re: [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

Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 01 Jul 2024 03:00:02 GMT) Full text and rfc822 format available.

Message #77 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [PATCH 0/7] gnu: Add tuxemon.
Date: Sun, 30 Jun 2024 21:58:55 -0500
> > +(define-public tuxemon
> > +  (let ((commit "068b9c44345a86e83b35383a2e372629214f51f3")

Hi Adam, thanks for the contribution.

Is there a reason why you're not using the release tag found here?

https://github.com/Tuxemon/Tuxemon/releases/tag/v0.4.34

If so, can you add a comment as to why this particular commit?

-- 
Best regards,
jgart




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Mon, 01 Jul 2024 06:25:01 GMT) Full text and rfc822 format available.

Message #80 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: jgart <jgart <at> dismail.de>, 67131 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [PATCH 0/7] gnu: Add tuxemon.
Date: Mon, 01 Jul 2024 06:24:16 +0000
On 1 July 2024 02:58:55 UTC, jgart <jgart <at> dismail.de> wrote:
>
>> > +(define-public tuxemon
>> > +  (let ((commit "068b9c44345a86e83b35383a2e372629214f51f3")
>
>Hi Adam, thanks for the contribution.
>
>Is there a reason why you're not using the release tag found here?
>
>https://github.com/Tuxemon/Tuxemon/releases/tag/v0.4.34
>
>If so, can you add a comment as to why this particular commit?
>

I'm not using the v0.4.34 tag because there are important gameplay bugs fixed since then and there hasn't been a new release yet.

I only chose this particular commit because it was the most recent at the time I was writing the package recipe.




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Fri, 18 Oct 2024 20:22:02 GMT) Full text and rfc822 format available.

Message #83 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 67131 <at> debbugs.gnu.org
Subject: [PATCH 0/7] gnu: Add tuxemon.
Date: Fri, 18 Oct 2024 21:19:56 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've refreshed python-pyglet with combined efforts from:

- 48467 [PATCH] gnu: Add python-pyglet.
;;; Copyright © 2021 Adam Kandur <kefironpremise <at> gmail.com>
- 50505 [PATCH 00/12] gnu: Add python-manim
;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k <at> ruhr-uni-bochum.de>
- 52116 [PATCH 0/2] gnu: Add printrun.
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith <at> outlook.com>
- 67131 [PATCH 0/7] gnu: Add tuxemon.
;;; Copyright © 2023 Adam Faiz <adam.faiz <at> disroot.org>

Pushed as 88471af678959b1eb4e357a47293030d05de8658 to master.

---
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Thu, 13 Feb 2025 12:05:02 GMT) Full text and rfc822 format available.

Message #86 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 67131 <at> debbugs.gnu.org, 67131-submitter <at> debbugs.gnu.org
Subject: RE: add tuxemon
Date: Thu, 13 Feb 2025 12:03:42 +0000
Hi Adam,

You sent a patch series to add Tuxemon in November 2023, it looks like Sharlatan added the Python packages, but we would need to revise a few more. If you're still interested in doing this please send a new version, if you're not you can close by sending to 67131-done <at> debbugs.gnu.org. Thanks for your efforts!

Steve / Futurile




Message sent on to Adam Faiz <adam.faiz <at> disroot.org>:
bug#67131. (Thu, 13 Feb 2025 12:05:02 GMT) Full text and rfc822 format available.

Message #90 received at 67131-quiet <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: Steve George <steve <at> futurile.net>, 67131-quiet <at> debbugs.gnu.org
Subject: Re: bug#67131: add tuxemon
Date: Fri, 14 Feb 2025 16:38:43 +0800
Hi Steve,

On 2/13/25 20:03, Steve George wrote:
> Hi Adam,
> 
> You sent a patch series to add Tuxemon in November 2023, it looks like Sharlatan added the Python packages, but we would need to revise a few more. If you're still interested in doing this please send a new version, if you're not you can close by sending to 67131-done <at> debbugs.gnu.org. Thanks for your efforts!
> 
> Steve / Futurile
> 
> 

Thanks for letting me know that there's still interest in the Tuxemon package. I'll try and send a revised patch series by today.

Sincerely,
Adam




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sat, 15 Feb 2025 01:45:02 GMT) Full text and rfc822 format available.

Message #93 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: [PATCH v4 1/5] gnu: Add python-neteria.
Date: Sat, 15 Feb 2025 09:44:43 +0800
From 41e55dc3f7a5b6a444cd81b641107ac5323a1303 Mon Sep 17 00:00:00 2001
Message-ID: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 12 Nov 2023 16:16:40 +0800
Subject: [PATCH v4 1/5] gnu: Add python-neteria.

* gnu/packages/game-development.scm (python-neteria): New variable.
---
 gnu/packages/game-development.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 5ed19f96aa..c901ad869e 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
 ;;; Copyright © 2022 dan <i <at> dan.games>
 ;;; Copyright © 2023, 2024 John Kehayias <john.kehayias <at> protonmail.com>
+;;; Copyright © 2022-2023, 2025 Adam Faiz <adam.faiz <at> disroot.org>
 ;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;;
@@ -620,6 +621,25 @@ (define-public python-xsge
 support.")
     (license license:lgpl3+)))
 
+(define-public python-neteria
+  (package
+    (name "python-neteria")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "neteria" version))
+       (sha256
+        (base32 "1azlix80a6vns2i3z0bdbqk32kx8s2gjh2nvshab235fd9h85yv7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-rsa))
+    (home-page "https://pypi.org/project/neteria/")
+    (synopsis "Simple game networking library")
+    (description
+     "This package is a game networking framework for Python.")
+    (license license:gpl3+)))
+
 (define-public slade
   (package
     (name "slade")

base-commit: 4b5f0408e66392ab745dc0f7830732217d88f17d
-- 
2.46.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sat, 15 Feb 2025 01:47:01 GMT) Full text and rfc822 format available.

Message #96 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: [PATCH v4 2/5] gnu: Add python-pygame-menu.
Date: Sat, 15 Feb 2025 09:46:08 +0800
From 696d8737ba8d82d429fe66d0899b224b59caf3f4 Mon Sep 17 00:00:00 2001
Message-ID: <696d8737ba8d82d429fe66d0899b224b59caf3f4.1739583668.git.adam.faiz <at> disroot.org>
In-Reply-To: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
References: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:41:54 +0800
Subject: [PATCH v4 2/5] gnu: Add python-pygame-menu.

* gnu/packages/game-development.scm (python-pygame-menu): New variable.
---
 gnu/packages/game-development.scm | 44 +++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c901ad869e..810a03a7c2 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1425,6 +1425,50 @@ (define-public python-pygame
                    license:public-domain
                    license:lgpl2.1+))))
 
+(define-public python-pygame-menu
+  (package
+    (name "python-pygame-menu")
+    (version "4.5.1")
+    (source
+     ;; Tests not included in release.
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/ppizarror/pygame-menu")
+           (commit version)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0xd5d6nfkd5bp2zfq77yglp6mz043w28zprfz7savgmph5kvdnfh"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'check 'prepare-test-environment
+                 (lambda _
+                   (setenv "HOME" (getcwd))))
+               (add-before 'check 'skip-certain-tests
+                 (lambda _
+                   (substitute* "test/test_font.py"
+                     (("test_font_argument") "skip_test_font_argument")
+                     (("test_system_load") "skip_test_system_load"))
+                   (substitute* "test/test_baseimage.py"
+                     ;; Tuples differ: (111, 110) != (110, 109)
+                     (("test_invalid_image") "skip_test_invalid_image")
+                     (("test_scale") "skip_test_scale")))))))
+    (propagated-inputs (list python-pygame python-pyperclip
+                             python-typing-extensions))
+    (native-inputs (list python-nose2 python-setuptools python-wheel))
+    (home-page "https://pygame-menu.readthedocs.io")
+    (synopsis "Menu for pygame")
+    (description
+     "Pygame-menu is a python-pygame library for creating menus and GUIs.
+It supports several widgets, such as buttons, color inputs, clock objects,
+drop selectors, frames, images, labels, selectors, tables, text inputs,
+color switches, and many more, with multiple options to customize.")
+    (license license:expat)))
+
 (define-public python-pygame-sdl2
   (let ((real-version "2.1.0")
         (renpy-version "8.3.0"))
-- 
2.46.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sat, 15 Feb 2025 01:48:02 GMT) Full text and rfc822 format available.

Message #99 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: [PATCH v4 3/5] gnu: Add python-pyscroll.
Date: Sat, 15 Feb 2025 09:47:29 +0800
From 34f984e3720247d3599bc226b249e49205199408 Mon Sep 17 00:00:00 2001
Message-ID: <34f984e3720247d3599bc226b249e49205199408.1739583668.git.adam.faiz <at> disroot.org>
In-Reply-To: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
References: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:42:35 +0800
Subject: [PATCH v4 3/5] gnu: Add python-pyscroll.

* gnu/packages/game-development.scm (python-pyscroll): New variable.
---
 gnu/packages/game-development.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 810a03a7c2..0b0f873afc 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -558,6 +558,24 @@ (define-public python-sge
 possible, and it also makes the SGE easy to learn.")
     (license license:lgpl3+)))
 
+(define-public python-pyscroll
+  (package
+    (name "python-pyscroll")
+    (version "2.31")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyscroll" version))
+              (sha256
+               (base32
+                "0w3c58mkkbsyvx9w9hwdizk20pbds800m7v9vg49ydw440dha0hr"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pygame))
+    (home-page "https://github.com/bitcraft/pyscroll")
+    (synopsis "Fast scrolling maps library for pygame")
+    (description "@code{pyscroll} is a simple and fast module
+for animated scrolling maps for your new or existing game.")
+    (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.46.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sat, 15 Feb 2025 01:49:02 GMT) Full text and rfc822 format available.

Message #102 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: [PATCH v4 4/5] gnu: Add python-pytmx.
Date: Sat, 15 Feb 2025 09:48:30 +0800
From 7407c992ffc12405f9d72a9d65a502801a91709b Mon Sep 17 00:00:00 2001
Message-ID: <7407c992ffc12405f9d72a9d65a502801a91709b.1739583668.git.adam.faiz <at> disroot.org>
In-Reply-To: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
References: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:43:51 +0800
Subject: [PATCH v4 4/5] gnu: Add python-pytmx.

* gnu/packages/game-development.scm (python-pytmx): New variable.
---
 gnu/packages/game-development.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 0b0f873afc..e014089c23 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -110,6 +110,7 @@ (define-module (gnu packages game-development)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
+  #:use-module (gnu packages python-graphics)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
@@ -576,6 +577,25 @@ (define-public python-pyscroll
 for animated scrolling maps for your new or existing game.")
     (license license:lgpl3+)))
 
+(define-public python-pytmx
+  (package
+    (name "python-pytmx")
+    (version "3.32")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "PyTMX" version))
+              (sha256
+               (base32
+                "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pygame python-pysdl2 python-pyglet))
+  (home-page "https://github.com/bitcraft/PyTMX")
+  (synopsis "Python library to read Tiled Map Editor's TMX maps")
+  (description "@code{pytmx} is a map loader for python/pygame designed for games.
+It provides smart tile loading with a fast and efficient storage base.")
+  (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.46.0




Information forwarded to guix-patches <at> gnu.org:
bug#67131; Package guix-patches. (Sat, 15 Feb 2025 01:51:02 GMT) Full text and rfc822 format available.

Message #105 received at 67131 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 67131 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: [PATCH v4 5/5] gnu: Add tuxemon.
Date: Sat, 15 Feb 2025 09:50:02 +0800
From 8f1ef6764d579a4c2bf087d769860e93d012d2ef Mon Sep 17 00:00:00 2001
Message-ID: <8f1ef6764d579a4c2bf087d769860e93d012d2ef.1739583668.git.adam.faiz <at> disroot.org>
In-Reply-To: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
References: <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Mon, 13 Nov 2023 11:53:06 +0800
Subject: [PATCH v4 5/5] gnu: Add tuxemon.

* gnu/packages/games.scm (tuxemon): New variable.
---
 gnu/packages/games.scm | 62 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 231aa12133..4278de2af8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -85,6 +85,7 @@
 ;;; Copyright © 2024 James Smith <jsubuntuxp <at> disroot.org>
 ;;; Copyright © 2024 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
+;;; Copyright © 2023-2025 Adam Faiz <adam.faiz <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6395,6 +6396,67 @@ (define-public chromium-bsu
     ;; by the Expat License.
     (license (list license:clarified-artistic license:expat))))
 
+(define-public tuxemon
+  (let ((commit "19708725f8b2d939e39b726f49a8a078eba8bf32")
+        (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 "0jdhk6xs4895gifxlkaxk7625wvw2yl1yc6ciay137dk78amhp86"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            (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 python-build-system)
+    (native-inputs (list python-flit-core python-setuptools))
+    (propagated-inputs
+     (list python-babel
+           python-cbor
+           python-neteria
+           python-natsort
+           python-pygame
+           python-pyscroll
+           python-pytmx
+           python-pillow
+           python-prompt-toolkit
+           python-pydantic-2
+           python-pygame-menu
+           python-pyyaml
+           python-requests))
+    (arguments
+     (list #:tests? #f ; Tests won't be updated until the API stabilises
+           #: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")
-- 
2.46.0




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Mon, 24 Feb 2025 20:05:03 GMT) Full text and rfc822 format available.

Notification sent to Adam Faiz <adam.faiz <at> disroot.org>:
bug acknowledged by developer. (Mon, 24 Feb 2025 20:05:03 GMT) Full text and rfc822 format available.

Message #110 received at 67131-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Adam Faiz <adam.faiz <at> disroot.org>, 67131-done <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 宋文武 <iyzsong <at> envs.net>
Subject: Re: [PATCH v4 5/5] gnu: Add tuxemon.
Date: Mon, 24 Feb 2025 21:05:10 +0100
Am Samstag, dem 15.02.2025 um 09:50 +0800 schrieb Adam Faiz:
> From 8f1ef6764d579a4c2bf087d769860e93d012d2ef Mon Sep 17 00:00:00
> 2001
> Message-ID:
> <8f1ef6764d579a4c2bf087d769860e93d012d2ef.1739583668.git.adam.faiz <at> di
> sroot.org>
> In-Reply-To:
> <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> di
> sroot.org>
> References:
> <41e55dc3f7a5b6a444cd81b641107ac5323a1303.1739583668.git.adam.faiz <at> di
> sroot.org>
> From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
> Date: Mon, 13 Nov 2023 11:53:06 +0800
> Subject: [PATCH v4 5/5] gnu: Add tuxemon.
> 
> * gnu/packages/games.scm (tuxemon): New variable.
Pushed at last with some minor changes to neteria (description) and
pygame-menu (indentation).

Cheers




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Mar 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 45 days ago.

Previous Next


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