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
This commit is contained in:
Sharlatan Hellseher 2025-05-06 23:13:06 +01:00
parent ab38239fab
commit f8f5a10d98
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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