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
This commit is contained in:
Sharlatan Hellseher 2025-05-06 09:02:48 +01:00
parent e9e15e60e8
commit a1b5fcd4d8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24621,16 +24621,14 @@ for Kivy, the multitouch application platform.")
(define-public python-kivy (define-public python-kivy
(package (package
(name "python-kivy") (name "python-kivy")
(version "2.1.0") (version "2.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Kivy" version)) (uri (pypi-uri "Kivy" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1ngrnkrp6xgfl4x32i2nv3bml13l8qwa87cwrymv9k826ng98cq8"))))
"1cq4djfn7h8560mvz94dydsldg2jpp5w9rby7nafgmbh7fxg65is")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
`(#:tests? #f ; Tests require many optional packages `(#:tests? #f ; Tests require many optional packages
#:phases #:phases
@ -24644,14 +24642,27 @@ for Kivy, the multitouch application platform.")
;; 'kivy/__init__.py' wants to create $HOME/.kivy. ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
(setenv "HOME" (getcwd))))))) (setenv "HOME" (getcwd)))))))
(native-inputs (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 (inputs
(list gstreamer (list gstreamer
mesa mesa
(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-filetype
python-kivy-garden python-kivy-garden
python-pygments)) python-pygments
python-requests))
(home-page "https://kivy.org") (home-page "https://kivy.org")
(synopsis "Multitouch application framework") (synopsis "Multitouch application framework")
(description (description