gnu: python-asynckivy: Update to 0.8.1.

* gnu/packages/python-xyz.scm (python-asynckivy): Update to 0.8.1.
[source]: Switch to git-fetch containing tests.
[build-system]: Switch to pyproejct.
[native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: Ie7145f020e0487799ca8af0ce4506a5ffc290191
This commit is contained in:
Sharlatan Hellseher 2025-05-06 19:12:16 +01:00
parent 81be05a60a
commit 09effee863
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24793,23 +24793,31 @@ pytest-fixtures-style dependency injection.")
(define-public python-asynckivy
(package
(name "python-asynckivy")
(version "0.5.3")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri
(pypi-uri "asynckivy" version))
(method git-fetch) ; no tests in PyPI release
(uri (git-reference
(url "https://github.com/asyncgui/asynckivy")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0ivjvch8yn3k1ybfp7c1nm8mhc0ymg7d04mq54lly7yjvg0jvcni"))))
(build-system python-build-system)
(base32 "0gjddv6d7bbjymvly2x5zaay1gyihls1c4bh7y1ppbvz15152lkj"))))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home
(lambda _
;; 'kivy/__init__.py' wants to create $HOME/.kivy.
(setenv "HOME" (getcwd)))))))
(propagated-inputs (list python-kivy python-asyncgui))
(setenv "HOME" "/tmp"))))))
(native-inputs
(list python-poetry-core
python-pytest))
(propagated-inputs
(list python-kivy
python-asyncgui))
(home-page "https://github.com/gottadiveintopython/asynckivy")
(synopsis "Async library for Kivy")
(description