summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 19:12:16 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 20:04:55 +0100
commit09effee863a2bcec0d675aa0ffba50e8be4330cb (patch)
tree4a7ed8cf5d94b875bed29b9f653b53b4a28bdef0
parent81be05a60aff5e11301879816b46d4fae5e5243c (diff)
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
-rw-r--r--gnu/packages/python-xyz.scm34
1 files 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