GNU bug report logs - #60192
[PATCH] gnu: Add python-tcod.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Adam Kandur <manualbot@HIDDEN>; Keywords: moreinfo patch; merged with #60193; dated Mon, 19 Dec 2022 08:54:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 60192 <at> debbugs.gnu.org:


Received: (at 60192) by debbugs.gnu.org; 26 Jan 2023 18:50:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 13:50:19 2023
Received: from localhost ([127.0.0.1]:36175 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pL7KF-0008Mn-5F
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2023 13:50:19 -0500
Received: from ms11p00im-qufo17291601.me.com ([17.58.38.45]:35446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manualbot@HIDDEN>) id 1pL6PO-0006iz-Ph
 for 60192 <at> debbugs.gnu.org; Thu, 26 Jan 2023 12:51:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; t=1674755489;
 bh=OI2UGYQ0e2N3g8fwM8B6XD6gAfslqe14wHQBlyrZJ4Q=;
 h=To:From:Subject:Date:Message-id:Content-Type:MIME-Version;
 b=b+kjZMKOkw3olis8b7GBen4kcwovzQR0iA512yWiOJEikFps9Sz6PYL0+VHGWC3YK
 9S4ULqfk6Cz5n3YOOKF9CjYy7qzsrLOSj8SGLakqILm+g/yxy2t07gdBSpwU89VEum
 eOzn44962OfFMU2G/9i52tq85k7ZJDiF6GYKtBLL6QgFnIhr/tEOzZ0n9myKwb1Zin
 6hUo7xXZXFo0h2MM/Wo6OMG1whOBOgGDOJUHm8K4AzNSpWT4gVmeVKaKvVFrPYXlgL
 cojiEeGNLRr7V2RUOFvfCMUUzSxsl9ik4kqmCoVtP4TeVBa39440p4Krk7wvfU0pYK
 oIp9UdAgZy9/g==
Received: from ms11p00im-qufo17291601.me.com (ms11p00im-qufo17291601.me.com
 [17.58.38.45])
 by ms11p00im-qufo17291601.me.com (Postfix) with ESMTPS id B5C013A0838;
 Thu, 26 Jan 2023 17:51:28 +0000 (UTC)
Received: from localhost (ms11p00im-dlb-asmtpoutvip.me.com [10.52.196.131])
 by ms11p00im-qufo17291601.me.com (Postfix) with ESMTPA id 9C1623A079B;
 Thu, 26 Jan 2023 17:51:28 +0000 (UTC)
To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= <ludo@HIDDEN>
From: Adam Kandur <manualbot@HIDDEN>
Subject: Re: bug#60192: [PATCH] gnu: Add python-tcod.
Date: Thu, 26 Jan 2023 17:51:28 -0000
X-Mailer: iCloud MailClientcurrent
 MailServer2308B104.10000-Famine2308-0-6c2ccbee4fd8
Message-id: <d1c56dd5-c94d-4adf-b707-d4a8f6d14603@HIDDEN>
Content-Type: multipart/alternative;
 boundary=Apple-Webmail-42--80faaf0a-f27c-4f44-bdd4-719252c78072
MIME-Version: 1.0
In-Reply-To: <87k019r5ck.fsf@HIDDEN>
References: <20221218210216.3920-1-manualbot@HIDDEN>
 <87k019r5ck.fsf@HIDDEN>
X-Proofpoint-ORIG-GUID: Xum8RWK361Bs7bFsrxLUPx_BpWtZnUis
X-Proofpoint-GUID: Xum8RWK361Bs7bFsrxLUPx_BpWtZnUis
X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?=
 =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.816,17.0.605.474.0000000_definitions?=
 =?UTF-8?Q?=3D2022-01-18=5F01:2022-01-14=5F01,2022-01-18=5F01,2020-01-23?=
 =?UTF-8?Q?=5F02_signatures=3D0?=
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999
 malwarescore=0
 phishscore=0 clxscore=1011 spamscore=0 suspectscore=0 mlxscore=0
 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2209130000 definitions=main-2301260172
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: 60192
X-Mailman-Approved-At: Thu, 26 Jan 2023 13:50:17 -0500
Cc: 60192 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.6 (-)


--Apple-Webmail-42--80faaf0a-f27c-4f44-bdd4-719252c78072
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
    charset=utf-8;
    format=flowed

Sure, I will fix my patch and will try to build the package with suggested=
 input (probably next week).On Jan 26, 2023, at 1:51 AM, Ludovic Court=C3=A8=
s <ludo@HIDDEN> wrote:Hi,Adam Kandur <manualbot@HIDDEN> skribis:* gnu=
/packages/game-development.scm (python-tcod): New variable.I suggest the a=
ttached changes.However, one comment:+      ;; tests fail for a strange re=
ason+      ;; "ERROR docs/conf.py - FileNotFoundError",+      ;; but this =
file is in the checkout+      (arguments+       '(#:tests? #f))+      (nat=
ive-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-e=
xtensions+             python-cffi))+      (home-page "https://github.com/=
libtcod/python-tcod")+      (synopsis+       "This library is a Python cff=
i port of libtcod")That =E2=80=98FileNotFoundError=E2=80=99, could it be b=
ecause libtcod itself is missing?I would expect libtocd to be in =E2=80=98=
inputs=E2=80=99 since this package providesbindings to libtcod, no?+      =
(description+       "A high-performance Python port of libtcod.+Includes t=
he libtcodpy module for backwards compatibility with older projects.")Plea=
se improve the synopsis and description as per: https://guix.gnu.org/manua=
l/en/html_node/Synopses-and-Descriptions.htmlCould you send an updated pat=
ch?Thanks,Ludo=E2=80=99.diff --git a/gnu/packages/game-development.scm b/g=
nu/packages/game-development.scmindex 304df3bd75..dd08241080 100644--- a/g=
nu/packages/game-development.scm+++ b/gnu/packages/game-development.scm@@ =
-2584,11 +2584,12 @@ (define-public python-tcod (package (name "python-tco=
d") (version "13.9.1")+      (home-page "https://github.com/libtcod/python=
-tcod") (source (origin (method git-fetch) (uri (git-reference-           =
    (url "https://github.com/libtcod/python-tcod")+               (url hom=
e-page) (commit commit) (recursive? #true))) (file-name (git-file-name nam=
e version))@@ -2613,7 +2614,6 @@ (define-public python-tcod (list python-n=
umpy python-typing-extensions python-cffi))-      (home-page "https://gith=
ub.com/libtcod/python-tcod") (synopsis "This library is a Python cffi port=
 of libtcod") (description
--Apple-Webmail-42--80faaf0a-f27c-4f44-bdd4-719252c78072
Content-Type: multipart/related;
    type="text/html";
    boundary=Apple-Webmail-86--80faaf0a-f27c-4f44-bdd4-719252c78072


--Apple-Webmail-86--80faaf0a-f27c-4f44-bdd4-719252c78072
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
    charset=utf-8;

<html><body><div><div>Sure, I will fix my patch and will try to build the package with=
 suggested input (probably next week).</div><div><br></div><blockquote typ=
e=3D"cite"><div>On Jan 26, 2023, at 1:51 AM, Ludovic Court=C3=A8s &lt;ludo=
@gnu.org&gt; wrote:<br></div><div><br></div><div><br></div><div><div><div>=
Hi,<br></div><div><br></div><div>Adam Kandur &lt;manualbot@HIDDEN&gt; =
skribis:<br></div><div><br></div><blockquote type=3D"cite">* gnu/packages/=
game-development.scm (python-tcod): New variable.<br></blockquote><div><br=
></div><div>I suggest the attached changes.<br></div><div><br></div><div>H=
owever, one comment:<br></div><div><br></div><blockquote type=3D"cite"><di=
v>+      ;; tests fail for a strange reason<br></div><div>+      ;; "ERROR=
 docs/conf.py - FileNotFoundError",<br></div><div>+      ;; but this file =
is in the checkout<br></div><div>+      (arguments<br></div><div>+       '=
(#:tests? #f))<br></div><div>+      (native-inputs<br></div><div>+       (=
list sdl2<br></div><div>+             python-pcpp<br></div><div>+         =
    python-pycparser<br></div><div>+             python-requests<br></div>=
<div>+             python-pytest-runner<br></div><div>+             python=
-pytest-benchmark<br></div><div>+             python-pytest-cov))<br></div=
><div>+      (propagated-inputs<br></div><div>+       (list python-numpy<b=
r></div><div>+             python-typing-extensions<br></div><div>+       =
      python-cffi))<br></div><div>+      (home-page "<a rel=3D"noopener no=
referrer" href=3D"https://github.com/libtcod/python-tcod">https://github.c=
om/libtcod/python-tcod</a>")<br></div><div>+      (synopsis<br></div><div>=
+       "This library is a Python cffi port of libtcod")<br></div></blockq=
uote><div><br></div><div>That =E2=80=98FileNotFoundError=E2=80=99, could i=
t be because libtcod itself is missing?<br></div><div>I would expect libto=
cd to be in =E2=80=98inputs=E2=80=99 since this package provides<br></div>=
<div>bindings to libtcod, no?<br></div><div><br></div><blockquote type=3D"=
cite"><div>+      (description<br></div><div>+       "A high-performance P=
ython port of libtcod.<br></div><div>+Includes the libtcodpy module for ba=
ckwards compatibility with older projects.")<br></div></blockquote><div><b=
r></div><div>Please improve the synopsis and description as per:<br></div>=
<div><br></div><div> <a rel=3D"noopener noreferrer" href=3D"https://guix.g=
nu.org/manual/en/html_node/Synopses-and-Descriptions.html">https://guix.gn=
u.org/manual/en/html_node/Synopses-and-Descriptions.html</a><br></div><div=
><br></div><div>Could you send an updated patch?<br></div><div><br></div><=
div>Thanks,<br></div><div>Ludo=E2=80=99.<br></div></div><div><div>diff --g=
it a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm=
<br></div><div>index 304df3bd75..dd08241080 100644<br></div><div>--- a/gnu=
/packages/game-development.scm<br></div><div>+++ b/gnu/packages/game-devel=
opment.scm<br></div><div>@@ -2584,11 +2584,12 @@ (define-public python-tco=
d<br></div><div> (package<br></div><div> (name "python-tcod")<br></div><di=
v> (version "13.9.1")<br></div><div>+      (home-page "<a rel=3D"noopener =
noreferrer" href=3D"https://github.com/libtcod/python-tcod">https://github=
.com/libtcod/python-tcod</a>")<br></div><div> (source<br></div><div> (orig=
in<br></div><div> (method git-fetch)<br></div><div> (uri (git-reference<br=
></div><div>-               (url "<a rel=3D"noopener noreferrer" href=3D"h=
ttps://github.com/libtcod/python-tcod">https://github.com/libtcod/python-t=
cod</a>")<br></div><div>+               (url home-page)<br></div><div> (co=
mmit commit)<br></div><div> (recursive? #true)))<br></div><div> (file-name=
 (git-file-name name version))<br></div><div>@@ -2613,7 +2614,6 @@ (define=
-public python-tcod<br></div><div> (list python-numpy<br></div><div> pytho=
n-typing-extensions<br></div><div> python-cffi))<br></div><div>-      (hom=
e-page "<a rel=3D"noopener noreferrer" href=3D"https://github.com/libtcod/=
python-tcod">https://github.com/libtcod/python-tcod</a>")<br></div><div> (=
synopsis<br></div><div> "This library is a Python cffi port of libtcod")<b=
r></div><div> (description<br></div></div></div></blockquote></div><div><b=
r></div></body></html>
--Apple-Webmail-86--80faaf0a-f27c-4f44-bdd4-719252c78072--

--Apple-Webmail-42--80faaf0a-f27c-4f44-bdd4-719252c78072--





Information forwarded to guix-patches@HIDDEN:
bug#60192; Package guix-patches. Full text available.

Message received at 60192 <at> debbugs.gnu.org:


Received: (at 60192) by debbugs.gnu.org; 26 Jan 2023 09:51:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 04:51:52 2023
Received: from localhost ([127.0.0.1]:60749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pKyvA-00034c-7g
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2023 04:51:52 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pKyv7-00034O-8s
 for 60192 <at> debbugs.gnu.org; Thu, 26 Jan 2023 04:51:50 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pKyv1-0006T7-Of; Thu, 26 Jan 2023 04:51:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=AtsulCkp15QGONrfrmnpVea7462Rqf/s+4Y+5qJOQ2k=; b=l67Q/0SxRoZzSmBh/NOR
 jgYFbYemAEmqSLj/a/1OGpI2WpuPCsThF/+gNjrSRF5Gep1dqK9mltQZ0rKGWjDsnJdDBQENb8Wna
 GmpBbSN8lvCDh5iAXvd2H/6uTS7pRX4pVC/Mduqahpgf31Ltk0hVvbWQFNWeNekCy0UkMNqN2dahp
 Tu+bylpEUz6vK5eX0l6mn/TKETiE7YINUD875ETUvFYct/cetT2yOFha1+0ZKDyYfrCd+tyP7eOsC
 psaNl/r+KNk7klcj0uHYo8ZHOzHH1FhJl0ViStsvPEPLrjoSUqizrJ5jfG/0i6Kz6AfugvMsafXXB
 Sxq8JEKX+h3ATw==;
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pKyv0-00029P-3h; Thu, 26 Jan 2023 04:51:42 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Adam Kandur <manualbot@HIDDEN>
Subject: Re: bug#60192: [PATCH] gnu: Add python-tcod.
References: <20221218210216.3920-1-manualbot@HIDDEN>
Date: Thu, 26 Jan 2023 10:51:39 +0100
In-Reply-To: <20221218210216.3920-1-manualbot@HIDDEN> (Adam Kandur's
 message of "Mon, 19 Dec 2022 00:02:16 +0300")
Message-ID: <87k019r5ck.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 60192
Cc: 60192 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

Adam Kandur <manualbot@HIDDEN> skribis:

> * gnu/packages/game-development.scm (python-tcod): New variable.

I suggest the attached changes.

However, one comment:

> +      ;; 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")

That =E2=80=98FileNotFoundError=E2=80=99, could it be because libtcod itsel=
f is missing?
I would expect libtocd to be in =E2=80=98inputs=E2=80=99 since this package=
 provides
bindings to libtcod, no?

> +      (description
> +       "A high-performance Python port of libtcod.
> +Includes the libtcodpy module for backwards compatibility with older pro=
jects.")

Please improve the synopsis and description as per:

  https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

Could you send an updated patch?

Thanks,
Ludo=E2=80=99.


--=-=-=
Content-Type: text/plain
Content-Disposition: inline

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 304df3bd75..dd08241080 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2584,11 +2584,12 @@ (define-public python-tcod
     (package
       (name "python-tcod")
       (version "13.9.1")
+      (home-page "https://github.com/libtcod/python-tcod")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
-               (url "https://github.com/libtcod/python-tcod")
+               (url home-page)
                (commit commit)
                (recursive? #true)))
          (file-name (git-file-name name version))
@@ -2613,7 +2614,6 @@ (define-public python-tcod
        (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

--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#60192; Package guix-patches. Full text available.
Merged 60192 60193. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Dec 2022 08:53:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 19 03:53:48 2022
Received: from localhost ([127.0.0.1]:38081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p7Bu8-0002R6-2r
	for submit <at> 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 <manualbot@HIDDEN>) id 1p70nt-0004uq-KY
 for submit <at> 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 <manualbot@HIDDEN>)
 id 1p70nk-0005hq-A2
 for guix-patches@HIDDEN; 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 <manualbot@HIDDEN>)
 id 1p70ni-0007eN-Hq
 for guix-patches@HIDDEN; 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)
From: Adam Kandur <manualbot@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add python-tcod.
Date: Mon, 19 Dec 2022 00:02:16 +0300
Message-Id: <20221218210216.3920-1-manualbot@HIDDEN>
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: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?=
 =?UTF-8?Q?2903e8d5c8f:6.0.517,18.0.883,17.11.64.514.0000000_definitions?=
 =?UTF-8?Q?=3D2022-06-21=5F08:2022-06-21=5F01,2022-06-21=5F08,2022-02-23?=
 =?UTF-8?Q?=5F01_signatures=3D0?=
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@HIDDEN;
 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 19 Dec 2022 03:53:46 -0500
Cc: Adam Kandur <manualbot@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* 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





Acknowledgement sent to Adam Kandur <manualbot@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#60192; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 1 Mar 2023 09:30:02 UTC

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