guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: python-kivy: Add missing dependencies.


From: guix-commits
Subject: 04/04: gnu: python-kivy: Add missing dependencies.
Date: Mon, 6 Dec 2021 05:50:51 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit f4d4c40500533a887c563f7306dbc2ad0a8dbc8b
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 6 11:49:06 2021 +0100

    gnu: python-kivy: Add missing dependencies.
    
    * gnu/packages/python-xyz.scm (python-kivy)[arguments]: Add 'set-home'
    phase.
    [inputs]: Add PYTHON-DOCUTILS, PYTHON-KIVY-GARDEN, and PYTHON-PYGMENTS.
    [synopsis, description]: Tweak.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 895bcf3..461eea2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16702,7 +16702,11 @@ for Kivy, the multitouch application platform.")
          (add-after 'patch-generated-file-shebangs 'set-sdl-paths
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "KIVY_SDL2_PATH"
-                     (search-input-directory inputs "/include/SDL2")))))))
+                     (search-input-directory inputs "/include/SDL2"))))
+         (add-before 'sanity-check 'set-home
+           (lambda _
+             ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
+             (setenv "HOME" (getcwd)))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("python-cython" ,python-cython)))
@@ -16710,13 +16714,15 @@ for Kivy, the multitouch application platform.")
      `(("gstreamer" ,gstreamer)
        ("mesa" ,mesa)
        ("sdl-union"
-        ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))
+        ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
+       ("python-docutils" ,python-docutils)
+       ("python-kivy-garden" ,python-kivy-garden)
+       ("python-pygments" ,python-pygments)))
     (home-page "https://kivy.org";)
-    (synopsis
-     "Multitouch application framework")
+    (synopsis "Multitouch application framework")
     (description
-     "A software library for rapid development of
-     hardware-accelerated multitouch applications.")
+     "Kivy is a software library for rapid development of hardware-accelerated
+multitouch applications.")
     (license license:expat)))
 
 (define-public python2-kivy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]