GNU bug report logs - #26867
[PATCH] gnu: Add python-tmx.

Previous Next

Package: guix-patches;

Reported by: Kei Kebreau <kei <at> openmailbox.org>

Date: Wed, 10 May 2017 17:22:01 UTC

Severity: normal

Tags: patch

Done: Kei Kebreau <kei <at> openmailbox.org>

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 26867 in the body.
You can then email your comments to 26867 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#26867; Package guix-patches. (Wed, 10 May 2017 17:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kei Kebreau <kei <at> openmailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 10 May 2017 17:22:02 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kei <at> openmailbox.org>
To: guix-patches <at> gnu.org
Cc: Kei Kebreau <kei <at> openmailbox.org>
Subject: [PATCH] gnu: Add python-tmx.
Date: Wed, 10 May 2017 13:20:40 -0400
* gnu/packages/game-development.scm (python-tmx, python2-tmx): New
variables.
---
 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 e47b556c0..c95afe231 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -214,6 +214,38 @@ possible, and it also makes the SGE easy to learn.")
 (define-public python2-sge-pygame
   (package-with-python2 python-sge-pygame))
 
+(define-public python-tmx
+  (package
+    (name "python-tmx")
+    (version "1.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://savannah/python-tmx/tmx-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1is107sx3lr09dqjiyn10xqhyv5x54c2ryhys9mb9j3mxjbm227l"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)))
+    (home-page "http://python-tmx.nongnu.org")
+    (synopsis "Python library for the @code{Tiled} TMX format")
+    (description
+     "Python TMX read and writes the @code{Tiled} TMX format in a simple way.
+This is useful for map editors or generic level editors, and it's also useful
+for using a map editor or generic level editor like Tiled to edit your game's
+levels.")
+    (license license:asl2.0)))
+
+(define-public python2-tmx
+  (let ((python2-tmx (package-with-python2 python-tmx)))
+    (package
+      (inherit python2-tmx)
+      (propagated-inputs
+       `(("python2-pathlib" ,python2-pathlib)
+         ,@(package-propagated-inputs python2-tmx))))))
+
 (define-public tiled
   (package
     (name "tiled")
-- 
2.12.2





Information forwarded to guix-patches <at> gnu.org:
bug#26867; Package guix-patches. (Wed, 10 May 2017 20:18:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Kei Kebreau <kei <at> openmailbox.org>, 26867 <at> debbugs.gnu.org
Cc: Kei Kebreau <kei <at> openmailbox.org>
Subject: Re: bug#26867: [PATCH] gnu: Add python-tmx.
Date: Wed, 10 May 2017 22:17:06 +0200
[Message part 1 (text/plain, inline)]
Kei Kebreau <kei <at> openmailbox.org> writes:

> * gnu/packages/game-development.scm (python-tmx, python2-tmx): New
> variables.

[...]

> +    (license license:asl2.0)))

It looks like the documentation is CC0/public-domain. It should be
listed here if it is part of the installed package (but does not hurt to
mention it here regardless).

LGTM otherwise, thanks for packaging these!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Kei Kebreau <kei <at> openmailbox.org>:
You have taken responsibility. (Thu, 11 May 2017 00:07:02 GMT) Full text and rfc822 format available.

Notification sent to Kei Kebreau <kei <at> openmailbox.org>:
bug acknowledged by developer. (Thu, 11 May 2017 00:07:02 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kei <at> openmailbox.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 26867-done <at> debbugs.gnu.org
Subject: Re: bug#26867: [PATCH] gnu: Add python-tmx.
Date: Wed, 10 May 2017 20:06:22 -0400
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:

> Kei Kebreau <kei <at> openmailbox.org> writes:
>
>> * gnu/packages/game-development.scm (python-tmx, python2-tmx): New
>> variables.
>
> [...]
>
>> +    (license license:asl2.0)))
>
> It looks like the documentation is CC0/public-domain. It should be
> listed here if it is part of the installed package (but does not hurt to
> mention it here regardless).
>
> LGTM otherwise, thanks for packaging these!

Thanks again for the review! Pushed as
1b775fd1df9e4c4f96e9acdf5485d04a74730153.

P.S. python-sge-pygame hash should have been
45f8e7f75e5401eb05bf98383ee169f6b7f06851.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Jun 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 12 days ago.

Previous Next


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