all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60193] [PATCH] gnu: Add python-tcod.
@ 2022-12-18 21:11 Adam Kandur via Guix-patches via
  2022-12-18 21:22 ` Fwd: " Kefir . via
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Kandur via Guix-patches via @ 2022-12-18 21:11 UTC (permalink / raw)
  To: 60193; +Cc: Adam Kandur

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Fwd: [PATCH] gnu: Add python-tcod.
  2022-12-18 21:11 [bug#60193] [PATCH] gnu: Add python-tcod Adam Kandur via Guix-patches via
@ 2022-12-18 21:22 ` Kefir . via
  0 siblings, 0 replies; 2+ messages in thread
From: Kefir . via @ 2022-12-18 21:22 UTC (permalink / raw)
  To: help-guix

Could not sent to guix-patches, forward here

> From: Adam Kandur <manualbot@icloud.com>
> Date: December 19, 2022 at 12:11:23 AM GMT+3
> To: guix-patches@gnu.org
> Cc: Adam Kandur <manualbot@icloud.com>
> Subject: [PATCH] gnu: Add python-tcod.
> 
> * 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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-24 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-18 21:11 [bug#60193] [PATCH] gnu: Add python-tcod Adam Kandur via Guix-patches via
2022-12-18 21:22 ` Fwd: " Kefir . via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.