From patchwork Mon Nov 13 04:15:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 56400 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DDEA827BBEA; Mon, 13 Nov 2023 04:16:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0151627BBE2 for ; Mon, 13 Nov 2023 04:16:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2ON5-0002Tj-GG; Sun, 12 Nov 2023 23:16:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2ON3-0002T2-H5 for guix-patches@gnu.org; Sun, 12 Nov 2023 23:16:21 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2ON3-0004IO-9A for guix-patches@gnu.org; Sun, 12 Nov 2023 23:16:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2ONi-0001WY-G3 for guix-patches@gnu.org; Sun, 12 Nov 2023 23:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67131] [PATCH v2 7/7] gnu: Add tuxemon. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Nov 2023 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67131@debbugs.gnu.org Cc: Liliana Marie Prikler , iyzsong@envs.net Received: via spool by 67131-submit@debbugs.gnu.org id=B67131.16998489635768 (code B ref 67131); Mon, 13 Nov 2023 04:17:02 +0000 Received: (at 67131) by debbugs.gnu.org; 13 Nov 2023 04:16:03 +0000 Received: from localhost ([127.0.0.1]:57328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2OMl-0001Ux-5P for submit@debbugs.gnu.org; Sun, 12 Nov 2023 23:16:03 -0500 Received: from layka.disroot.org ([178.21.23.139]:52224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2OMj-0001UY-Bo for 67131@debbugs.gnu.org; Sun, 12 Nov 2023 23:16:02 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7032F41A17; Mon, 13 Nov 2023 05:15:19 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vGK_xcFN26E5; Mon, 13 Nov 2023 05:15:18 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1699848918; bh=5Y23WQnnvAtkSy5aP5yaUEhHyjBLLf4rreskL8B5n3M=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=ODxyTDx5ksIbBv2G+kQU7uF1dLjFvxjHQY3vih2gpmByXiXzykLDBvDx7kGAV2QiV YmHEVciqO/Y5WwBdu+YjSpD84DYvWel+k2RvB1DivcvS44+00ovUDRZEkjTh3ecACf N+sPz7uKpjzMwVynnXmahFhqw9Vu3xs79YO/QgrPzlepQc7RzbBsLk2MyZ2rimZVRK 3ZjZq0bEWwxNXB4t+xCdgAuCV2wpVxQ9R/K53laf0X2MHVMtVRf9OqvRAeloUiRLML TE9+Zph7NgebFxcryKNrrNdwJ1mtJwI4l3rqgDkkOA0YhazwLxLxnkCxhLGyDQtl1s nbrY4w8OsH54Q== Date: Mon, 13 Nov 2023 12:15:15 +0800 MIME-Version: 1.0 Content-Language: en-US References: <77f9d5f0-b014-4f53-c2ad-88d7aba2e272@disroot.org> In-Reply-To: <77f9d5f0-b014-4f53-c2ad-88d7aba2e272@disroot.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From d8f1dec54262274b240b77935d352c9cd846a9e6 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 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")