summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 20:10:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 20:10:55 +0100
commit4883841fc60143c42f5f1a091ff56a53e60bb8b0 (patch)
treedc2265f17c036f537369bcb0899658298179becd
parentbbb06b2ce0514f7170f2cea005c9d0f97b13a4a7 (diff)
gnu: python-asynckivy: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-asynckivy): Move from here ... * gnu/packages/python-graphics.scm: ... to here. Change-Id: I22db22da9bf83edbb429c8a8cd7ae45c218e5b19
-rw-r--r--gnu/packages/python-graphics.scm36
-rw-r--r--gnu/packages/python-xyz.scm35
2 files changed, 36 insertions, 35 deletions
diff --git a/gnu/packages/python-graphics.scm b/gnu/packages/python-graphics.scm
index ed57af1d69..c9eb695b21 100644
--- a/gnu/packages/python-graphics.scm
+++ b/gnu/packages/python-graphics.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2021 Adam Kandur <kefironpremise@gmail.com>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
+;;; Copyright © 2022 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org>
;;; Copyright © 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
@@ -57,6 +58,41 @@
;;;
;;; Code:
+(define-public python-asynckivy
+ (package
+ (name "python-asynckivy")
+ (version "0.8.1")
+ (source
+ (origin
+ (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 "0gjddv6d7bbjymvly2x5zaay1gyihls1c4bh7y1ppbvz15152lkj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (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/asyncgui/asynckivy")
+ (synopsis "Async library for Kivy")
+ (description
+ "This package provides async versions of Kivy functions to avoid the
+callback-heavy mode of interaction typical in some Kivy applications.")
+ (license license:expat)))
+
(define-public python-glcontext
(let (;; Upstream is known for abusing mutable tag, hence pinpoint the
;; relevant commit.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0c26935dcf..33a513b6a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24790,41 +24790,6 @@ completes.")
pytest-fixtures-style dependency injection.")
(license license:asl2.0)))
-(define-public python-asynckivy
- (package
- (name "python-asynckivy")
- (version "0.8.1")
- (source
- (origin
- (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 "0gjddv6d7bbjymvly2x5zaay1gyihls1c4bh7y1ppbvz15152lkj"))))
- (build-system pyproject-build-system)
- (arguments
- (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/asyncgui/asynckivy")
- (synopsis "Async library for Kivy")
- (description
- "This package provides async versions of Kivy functions to avoid the
-callback-heavy mode of interaction typical in some Kivy applications.")
- (license license:expat)))
-
(define-public python-asyncgui
(package
(name "python-asyncgui")