From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +Ml1MfkDg2BdbwAAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 19:29:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GNAcLfkDg2DkewAAB5/wlQ (envelope-from ) for ; Fri, 23 Apr 2021 17:29:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8211E1ADC2 for ; Fri, 23 Apr 2021 19:29:29 +0200 (CEST) Received: from localhost ([::1]:60620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZzcO-00065N-Ob for larch@yhetil.org; Fri, 23 Apr 2021 13:29:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZzbz-0005n7-G4 for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZzbz-00023H-84 for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZzbz-00037I-4M for guix-patches@gnu.org; Fri, 23 Apr 2021 13:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47976] [PATCH 03/10] gnu: Add python-qasync. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 17:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47976@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47976-submit@debbugs.gnu.org id=B47976.161919893811942 (code B ref 47976); Fri, 23 Apr 2021 17:29:03 +0000 Received: (at 47976) by debbugs.gnu.org; 23 Apr 2021 17:28:58 +0000 Received: from localhost ([127.0.0.1]:38742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzbu-00036Y-AB for submit@debbugs.gnu.org; Fri, 23 Apr 2021 13:28:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzbs-00036C-A6 for 47976@debbugs.gnu.org; Fri, 23 Apr 2021 13:28:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 984E62400FE for <47976@debbugs.gnu.org>; Fri, 23 Apr 2021 19:28:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619198930; bh=UdiS53ID/IoDJZBOSf6u6ONzwCYLF1H4wuC1s5/Tw9Q=; h=From:To:Cc:Subject:Date:From; b=mSkRgIsvgbjiHfkhw9Spjro/By8xhBq4jK4i7y3juFULJrvrKgZphQYiTqYXFoq4J pj8dvYAW6YiMa5/gY0tmRY8axRnaoxB5NmtT4uhfrmb7zht2On3vt0TUECt9cSXx/N 60X2DBPEX1NV4kQsBskK0ROV6h+mJVh9vEWVTJniIGqXutfaOttTH4NbnZEGk4KPpD ievbuMtax2uXjYWQ7npEZJV1z2PGaFwSA5vQoNtskFPjNhUKhHEp4I9obLozwbjcnx izbkaiXyPP3zunL5hvJsy8pcBGQQ00rwnobbMO3r/WD57+2szErd0hauvL3nj1PvEZ FSGznIb3Y+ySA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FRh8x2VWbz6tmW; Fri, 23 Apr 2021 19:28:49 +0200 (CEST) From: Vinicius Monego Date: Fri, 23 Apr 2021 17:28:09 +0000 Message-Id: <20210423172816.73579-3-monego@posteo.net> In-Reply-To: <20210423172816.73579-1-monego@posteo.net> References: <20210423172816.73579-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619198969; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rHF+7M8yBQmStbLwKrkc1CTxeETGeqYvU433VT4iU1s=; b=paHSOwwMkxT6UvqJTXZLZpcUsDUsQDJnQxtmOVI4ovXvqRLKbECr64PtnvOlG0J8NX9lWu 6T/A978xH5z2lDMMeUE93sEWeVf2Woc0/kOfkiTolF9F7UcWjmzWxdb37Vfl+9G7dZZIof +WkE5K1VkDy9YK+uW0ON34RpmPgcSpGZs2jqKWEznUPFHfderrpzi2mCKFzEiiu9r2Qm5u hIKj1/ccWvu9x+ZjtOMSbbxFOGRBllehd/0eIAUFcdJ0WE2IyUhd0CSuOYmoLXl99G0/fc 2Fu1YLRm0k0HXE7dlVjTTaZq2xrRn42oTEjnAtZ5yc4I9XmxdLjat9hb1YIbWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619198969; a=rsa-sha256; cv=none; b=hGJ7Yryw5LuwBghhq42Yrg8qJ1JmFzvef8kZxFgT+wTz5ZC1tjlIFV5fOvDE88xJ21EDMJ HvjxX0PD2c8ew4n1GWoQjHbag45gZT0vUBQ+NltaJYZWDRL2CjLlZ2xflUW5EUksTU9WzF Dt2KQDwppOP/GWVuVNFNiHHvcdrXkXslJYiLYCyTspfUQ6S7rUdzTTRBhoFBsKW/lzHIYt e+V9QQD9FPcB6TezkiJ/nw3cXtxbegsvxvcZbFnqAQ7VusRvUnW8f0Q+OrSv9ltI0RAclT p8NrBM7MszstNvYR43Xm3YY3qlzSlGuN+T2mhMTWhDRa3q2BNx1thA1S+8K0hQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mSkRgIsv; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mSkRgIsv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8211E1ADC2 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: tjAzQATes0Xk * 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