sharlatan pushed a commit to branch master
in repository guix.

commit a1b5fcd4d868632ee92dab2a31194e0c45f0acb2
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue May 6 09:02:48 2025 +0100

    gnu: python-kivy: Update to 2.3.1.
    
    * gnu/packages/python-xyz.scm (python-kivy): Update to 2.3.1.
    [build-system]: Swap to pyproject.
    [inputs]: Add python-filetype and python-requests.
    [native-inputs]: Add python-packaging, python-setuptools, and
    python-wheel.
    
    Change-Id: I174fa9a2239d4d733e67d08a224e8efcd95268a0
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9692bee40b..dd12d62dbf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24621,16 +24621,14 @@ for Kivy, the multitouch application platform.")
 (define-public python-kivy
   (package
     (name "python-kivy")
-    (version "2.1.0")
+    (version "2.3.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Kivy" version))
-       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1cq4djfn7h8560mvz94dydsldg2jpp5w9rby7nafgmbh7fxg65is"))))
-    (build-system python-build-system)
+        (base32 "1ngrnkrp6xgfl4x32i2nv3bml13l8qwa87cwrymv9k826ng98cq8"))))
+    (build-system pyproject-build-system)
     (arguments
      `(#:tests? #f              ; Tests require many optional packages
        #:phases
@@ -24644,14 +24642,27 @@ for Kivy, the multitouch application platform.")
              ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
              (setenv "HOME" (getcwd)))))))
     (native-inputs
-     (list pkg-config python-cython))
+     (list pkg-config
+           python-cython
+           ;; Not packaged yet, for tests.
+           ;; python-kivy-deps-glew
+           ;; python-kivy-deps-glew-dev
+           ;; python-kivy-deps-gstreamer
+           ;; python-kivy-deps-gstreamer-dev
+           ;; python-kivy-deps-sdl2
+           ;; python-kivy-deps-sdl2-dev
+           python-packaging
+           python-setuptools
+           python-wheel))
     (inputs
      (list gstreamer
            mesa
            (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
            python-docutils
+           python-filetype
            python-kivy-garden
-           python-pygments))
+           python-pygments
+           python-requests))
     (home-page "https://kivy.org";)
     (synopsis "Multitouch application framework")
     (description

Reply via email to