From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YLSnOQFxoGMfQgAAbAwnHQ (envelope-from ) for ; Mon, 19 Dec 2022 15:11:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gCwkOQFxoGMlewAAauVa8A (envelope-from ) for ; Mon, 19 Dec 2022 15:11:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 890413F38F for ; Mon, 19 Dec 2022 15:11:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7GqQ-0001Qt-RM; Mon, 19 Dec 2022 09:10:18 -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 1p7BuM-0007f8-G0 for guix-patches@gnu.org; Mon, 19 Dec 2022 03:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7BuM-0000lk-5t for guix-patches@gnu.org; Mon, 19 Dec 2022 03:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p7BuM-0002Rp-1O for guix-patches@gnu.org; Mon, 19 Dec 2022 03:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60192] [PATCH] gnu: Add python-tcod. Resent-From: Adam Kandur Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Dec 2022 08:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60192 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60192@debbugs.gnu.org Cc: Adam Kandur X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16714400289373 (code B ref -1); Mon, 19 Dec 2022 08:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2022 08:53:48 +0000 Received: from localhost ([127.0.0.1]:38081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7Bu8-0002R6-2r for submit@debbugs.gnu.org; Mon, 19 Dec 2022 03:53:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:42544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p70nt-0004uq-KY for submit@debbugs.gnu.org; Sun, 18 Dec 2022 16:02:38 -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 1p70nk-0005hq-A2 for guix-patches@gnu.org; Sun, 18 Dec 2022 16:02:37 -0500 Received: from pv50p00im-zteg10011501.me.com ([17.58.6.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p70ni-0007eN-Hq for guix-patches@gnu.org; Sun, 18 Dec 2022 16:02:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1671397342; bh=2zVyLdxCeRGarqhe0KlpU5Po8fJpdNEETbkpLubVDAs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Lls3W3S4tLt/X5IFejd36c6h9GsbqzMmSVXJfk6o4S7qAgMmb5EcJtTDUXBf+2BRb x30Y0OMAEmbHEUx8FcHl0i7d3tZoxpWkCZxUzGHN5tV73wpa0JrtL3UF4CJ+9vghHQ xax4MFLGUp+r+WC9VCO5UmoVVSSGClbzVystfiMP4fU4efi88DnTgkW1J0No8FoPi/ rniIfolWNsstZwXM6AE4lti+b0N4DzVCyMFzUs+iuADpUXReA3WLWtsMjDxd2EKAUl eZjXW8NcKXKWpCRIYEDnPN7r3JJRrUCbD2KnMk6T/hrZ2M8WdWMzRxjILTGaUln4j1 lfh3xrzj+Vq7g== Received: from localhost.localdomain (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-zteg10011501.me.com (Postfix) with ESMTPSA id 991292E00E2; Sun, 18 Dec 2022 21:02:20 +0000 (UTC) Date: Mon, 19 Dec 2022 00:02:16 +0300 Message-Id: <20221218210216.3920-1-manualbot@icloud.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: GV3eQxS4WVyzAyDwPH786Uebd2IbYpsA X-Proofpoint-GUID: GV3eQxS4WVyzAyDwPH786Uebd2IbYpsA X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.517, 18.0.883, 17.11.64.514.0000000 definitions=2022-06-21_08:2022-06-21_01, 2022-06-21_08, 2022-02-23_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 mlxscore=0 clxscore=1011 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2212180200 Received-SPF: pass client-ip=17.58.6.42; envelope-from=manualbot@icloud.com; helo=pv50p00im-zteg10011501.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 19 Dec 2022 03:53:46 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 19 Dec 2022 09:10:18 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Kandur X-ACL-Warn: , Adam Kandur via Guix-patches From: Adam Kandur via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=icloud.com header.s=1a1hai header.b=Lls3W3S4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671459073; a=rsa-sha256; cv=none; b=DZFLOycfZ/fiZ8yXWRXN/8UBhv8D/exsreXJMdXTnLFCBx1+F9NBy5TdsyujluNBCXlpyE gFsH2jjqFoTQcvocbQIyq0JgiZMojRMvHVHTkakbgoVaKQtnyo7tzBldUNbJWWm96D3ilg CVARB1l/XXlvCYhRKeWNr/ZY/c5ahzb+mxaQB7oW5gg/Fun6IBrGneIt/oKwTkY1dTwfuX 9r5+S9Ei1KpT81eEM2sbkOrc6Uk2iQDlQbdrku9L9odypHQp6Q0S94D0/KR0Ro0zmWO1qE PRq/F09Ay6qmpiDazEQnzsn9Cb0U6pFJHKC4HwX/uQsoyR00vFY/xZMGEKCjvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671459073; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2zVyLdxCeRGarqhe0KlpU5Po8fJpdNEETbkpLubVDAs=; b=dUnJjDpu2wkmYM19JOpFzwzDse3+UjZQV2zt5yoVOLY47gOgpJhdmIYtNJzBWkRADIQRG9 WhfJfwBprcElCpDRgoZZrHy67cQtJS0U9i/gPGE6wjerIwcllzqmXdLH32upOWJg0StSRR 254OllrD+SZVJS7Dxuknc4VzHQVyxOt0ixHCORgQnhevduHycMQoiiNBuUmlrS3HhxNrOR zZxezX5zhsrqu7ZDtKTqbpetiddyUvxiFRyLFFjjW4X4Nv/NKB+jZVtf0Gs6oTPVFkL0cA LCDmviv+xMRGRBWBg6NpB+PLkXTV2HRMZ6FbOynHQ2CNESNyJr4R/HbWr/B+Tw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=icloud.com header.s=1a1hai header.b=Lls3W3S4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.29 X-Spam-Score: -3.29 X-Migadu-Queue-Id: 890413F38F X-TUID: qQWDpdyEfB0W * gnu/packages/game-development.scm (python-tcod): New variable. --- gnu/packages/game-development.scm | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 8fec474d0b..2746c43a5f 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -64,6 +64,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) + #:use-module (gnu packages c) #:use-module (gnu packages compression) #:use-module (gnu packages check) #:use-module (gnu packages curl) @@ -86,6 +87,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages guile) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages libffi) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages m4) @@ -97,6 +99,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) @@ -2604,6 +2607,50 @@ (define-public libtcod utilities frequently used in roguelikes.") (license license:bsd-3))) +(define-public python-tcod + ;; named branch is outdated + (let ((commit "d3419a5b4593c7df1580427fc07616d798c85856") + (revision "1")) + (package + (name "python-tcod") + (version "13.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libtcod/python-tcod") + (commit commit) + (recursive? #true))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b0ligrswvz307bbx5jp8wnnqz52v5s4gcgakxy4i3jvccalm2if")))) + (build-system python-build-system) + ;; tests fail for a strange reason + ;; "ERROR docs/conf.py - FileNotFoundError", + ;; but this file is in the checkout + (arguments + '(#:tests? #f)) + (native-inputs + (list sdl2 + python-pcpp + python-pycparser + python-requests + python-pytest-runner + python-pytest-benchmark + python-pytest-cov)) + (propagated-inputs + (list python-numpy + python-typing-extensions + python-cffi)) + (home-page "https://github.com/libtcod/python-tcod") + (synopsis + "This library is a Python cffi port of libtcod") + (description + "A high-performance Python port of libtcod. +Includes the libtcodpy module for backwards compatibility with older projects.") + (license license:bsd-2)))) + (define-public warsow-qfusion ;; As of 2020-04-09, the latest stable version 2.1.0 is deprecated. ;; The 2.5 beta as published on the homepage is commit -- 2.38.1