all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 47976@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#47976] [PATCH 03/10] gnu: Add python-qasync.
Date: Fri, 23 Apr 2021 17:28:09 +0000	[thread overview]
Message-ID: <20210423172816.73579-3-monego@posteo.net> (raw)
In-Reply-To: <20210423172816.73579-1-monego@posteo.net>

* gnu/packages/python-xyz.scm (python-qasync): New variable.
---
 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 e3e55c010a..66f9a98091 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12473,6 +12473,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-3)))
+
 (define-public python-editor
   (package
   (name "python-editor")
-- 
2.31.1





  parent reply	other threads:[~2021-04-23 17:29 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 17:25 [bug#47976] [PATCH 00/10] Add Orange Vinicius Monego
2021-04-23 17:28 ` [bug#47976] [PATCH 01/10] gnu: Add python-anyqt Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 02/10] gnu: Add python-pyqtgraph Vinicius Monego
2021-04-23 17:28   ` Vinicius Monego [this message]
2021-04-23 17:28   ` [bug#47976] [PATCH 04/10] gnu: Add python-orange-canvas-core Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 05/10] gnu: Add python-orange-widget-base Vinicius Monego
2021-04-23 19:20     ` Leo Famulari
2021-04-23 17:28   ` [bug#47976] [PATCH 06/10] gnu: Add python-serverfiles Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 07/10] gnu: Add python-python-louvain Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 08/10] gnu: python-pynndescent: Update to 0.5.2 Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 09/10] gnu: python-opentsne: " Vinicius Monego
2021-04-23 17:28   ` [bug#47976] [PATCH 10/10] gnu: Add orange Vinicius Monego
2021-04-23 19:25     ` Leo Famulari
2021-04-23 21:04       ` Vinicius Monego
2021-04-23 21:15         ` Leo Famulari
2021-04-23 19:29 ` [bug#47976] [PATCH 00/10] Add Orange Leo Famulari
2021-04-23 21:20   ` Vinicius Monego
2021-04-23 21:46     ` Leo Famulari
2021-04-25  3:25 ` [bug#47976] [PATCH v2 01/10] gnu: Add python-anyqt Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 02/10] gnu: Add python-pyqtgraph Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 03/10] gnu: Add python-qasync Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 04/10] gnu: Add python-orange-canvas-core Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 05/10] gnu: Add python-orange-widget-base Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 06/10] gnu: Add python-serverfiles Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 07/10] gnu: Add python-python-louvain Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 08/10] gnu: python-pynndescent: Update to 0.5.2 Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 09/10] gnu: python-opentsne: " Vinicius Monego
2021-04-25  3:26   ` [bug#47976] [PATCH v2 10/10] gnu: Add orange Vinicius Monego
2021-04-25 18:59     ` bug#47976: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210423172816.73579-3-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=47976@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.