From patchwork Sun Nov 12 17:14:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 56383 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 C5FE127BBEA; Sun, 12 Nov 2023 17:15:54 +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 EA34927BBE2 for ; Sun, 12 Nov 2023 17:15:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2E3l-0007aZ-If; Sun, 12 Nov 2023 12:15:46 -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 1r2E3N-0007X5-HV for guix-patches@gnu.org; Sun, 12 Nov 2023 12:15:23 -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 1r2E3N-0008C2-0L for guix-patches@gnu.org; Sun, 12 Nov 2023 12:15:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2E42-0003mA-0D for guix-patches@gnu.org; Sun, 12 Nov 2023 12:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67131] [PATCH 7/7] gnu: Add tuxemon. References: <0256321a-9049-d36e-dec5-55d2cdca8b96@disroot.org> In-Reply-To: <0256321a-9049-d36e-dec5-55d2cdca8b96@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Nov 2023 17:16:01 +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.169980934214486 (code B ref 67131); Sun, 12 Nov 2023 17:16:01 +0000 Received: (at 67131) by debbugs.gnu.org; 12 Nov 2023 17:15:42 +0000 Received: from localhost ([127.0.0.1]:56890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2E3h-0003lW-L9 for submit@debbugs.gnu.org; Sun, 12 Nov 2023 12:15:42 -0500 Received: from layka.disroot.org ([178.21.23.139]:60984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2E3R-0003l7-FH for 67131@debbugs.gnu.org; Sun, 12 Nov 2023 12:15:40 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D24D340C8B; Sun, 12 Nov 2023 18:14:43 +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 Tv-XLmEZ-Gzw; Sun, 12 Nov 2023 18:14:42 +0100 (CET) Message-ID: <5264c3d0-dfcc-165a-1b08-06eb088c3cf5@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1699809282; bh=bOGSfxP6Nh9JPWHT5WyLFDAq0kIbL7tHsxFf+Kcn+RM=; h=Date:To:Cc:From:Subject; b=Z+CnvzRvI4S5TUZa8fPKXxuFO8nz7xYH3ARSTJzK8baQpf1PAFfaJ8Uxl8QorvHO5 LNV+W6nktH9LgxzbaMa6+5pyvplqQqbn9CQTJGRY0Qp1FLJ3h8+YHDiufvNY4U/QwR cC4VsPMAz6tirCBZL5sfHfDGiA0GqrZi/rZoBEJ7jtmPGB4RROOlng2dDx3W/6+QRn qRpcfkssq43AHl6Lknf8s1abWl4ImdwMiPLFU80aSuYPO9NFtZV2pR/7NvPyr4vFi/ tiLoXQDfmDH/L5kc055F+slS6zd2kKrOXTBkist7aqnMI3YWGrjCOgNqmm1VTlJ47h F6qzsFmHOzPCg== Date: Mon, 13 Nov 2023 01:14:38 +0800 MIME-Version: 1.0 Content-Language: en-US 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 cfe1482480fa26ac9da818fa4b0669dd6017f99b Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 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")