From 09effee863a2bcec0d675aa0ffba50e8be4330cb Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 6 May 2025 19:12:16 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a9d7fbae22..e0b579a101 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 - (add-before 'check 'set-home - (lambda _ - ;; 'kivy/__init__.py' wants to create $HOME/.kivy. - (setenv "HOME" (getcwd))))))) - (propagated-inputs (list python-kivy python-asyncgui)) + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + ;; 'kivy/__init__.py' wants to create $HOME/.kivy. + (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