[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: Add python-qasync.
From: |
guix-commits |
Subject: |
03/10: gnu: Add python-qasync. |
Date: |
Sun, 25 Apr 2021 14:53:10 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 45d80c72dc9b4f1aad1bd6e90313a73ee8a4f64a
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Apr 25 03:26:01 2021 +0000
gnu: Add python-qasync.
* gnu/packages/python-xyz.scm (python-qasync): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index df2d1e9..d2e4f92 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12633,6 +12633,41 @@ and PySide6. It is intended for use in mathematics,
scientific or engineering
applications.")
(license license:expat)))
+(define-public python-qasync
+ (package
+ (name "python-qasync")
+ (version "0.15.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/CabbageDevelopment/qasync/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0va9h6v102d7mxz608banjc0l0v02dq3ywhr5i4nqaxx3qkazc2l"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-qpa
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (propagated-inputs
+ `(("python-pyqt" ,python-pyqt)))
+ (home-page "https://github.com/CabbageDevelopment/qasync")
+ (synopsis "Implementation of the PEP 3156 Event-Loop with Qt")
+ (description
+ "@code{qasync} allows coroutines to be used in PyQt/PySide applications
+by providing an implementation of the PEP 3156 event-loop.")
+ (license license:bsd-2)))
+
(define-public python-editor
(package
(name "python-editor")
- branch master updated (862a886 -> 5461efe), guix-commits, 2021/04/25
- 01/10: gnu: Add python-anyqt., guix-commits, 2021/04/25
- 04/10: gnu: Add python-orange-canvas-core., guix-commits, 2021/04/25
- 05/10: gnu: Add python-orange-widget-base., guix-commits, 2021/04/25
- 06/10: gnu: Add python-serverfiles., guix-commits, 2021/04/25
- 03/10: gnu: Add python-qasync.,
guix-commits <=
- 02/10: gnu: Add python-pyqtgraph., guix-commits, 2021/04/25
- 07/10: gnu: Add python-louvain 0.15., guix-commits, 2021/04/25
- 08/10: gnu: python-pynndescent: Update to 0.5.2., guix-commits, 2021/04/25
- 09/10: gnu: python-opentsne: Update to 0.5.2., guix-commits, 2021/04/25
- 10/10: gnu: Add orange., guix-commits, 2021/04/25