sharlatan pushed a commit to branch master
in repository guix.

commit f8f5a10d98cfe76f8e2f41b152c02a5860f5e599
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue May 6 23:13:06 2025 +0100

    gnu: python-pysdl2: Update to 0.9.17.
    
    * gnu/packages/python-xyz.scm (python-pysdl2): Update to 0.9.17.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: Ic6830f73a2d8629d7c47cfd329dfa4ddbcb14f19
---
 gnu/packages/python-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 86c69b6037..718eb4b7db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7678,14 +7678,14 @@ Mako, and Tornado.")
 (define-public python-pysdl2
   (package
     (name "python-pysdl2")
-    (version "0.9.11")
+    (version "0.9.17")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "PySDL2" version))
        (sha256
         (base32 "19id1qswgcj4v4j5kn49shq1xxx3slhjpm0102w87mczsdbi1rck"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:tests? #f ;; Requires /dev/dri, OpenGL module, etc.
@@ -7720,6 +7720,9 @@ Mako, and Tornado.")
                 (("os\\.getenv\\(\"PYSDL2_DLL_PATH\"\\)")
                  (format #f "'~a/~a'" #$(this-package-input "sdl2-ttf")
                          "lib/libSDL2_ttf.so"))))))))
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
     (inputs
      (list sdl2 sdl2-image sdl2-gfx sdl2-mixer sdl2-ttf))
     (home-page "https://github.com/py-sdl/py-sdl2";)

Reply via email to