From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WGtLFINa4F8AGgAA0tVLHw (envelope-from ) for ; Mon, 21 Dec 2020 08:19:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CMkeEINa4F9XVQAA1q6Kng (envelope-from ) for ; Mon, 21 Dec 2020 08:19:15 +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 D063F9402A9 for ; Mon, 21 Dec 2020 08:19:14 +0000 (UTC) Received: from localhost ([::1]:37242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krGPR-00045n-Rp for larch@yhetil.org; Mon, 21 Dec 2020 03:19:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krGPG-00045c-5r for guix-patches@gnu.org; Mon, 21 Dec 2020 03:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krGPF-0002x2-V7 for guix-patches@gnu.org; Mon, 21 Dec 2020 03:19:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krGPF-0000f6-Rk for guix-patches@gnu.org; Mon, 21 Dec 2020 03:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Dec 2020 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Doe Received: via spool by 44990-submit@debbugs.gnu.org id=B44990.16085387062499 (code B ref 44990); Mon, 21 Dec 2020 08:19:01 +0000 Received: (at 44990) by debbugs.gnu.org; 21 Dec 2020 08:18:26 +0000 Received: from localhost ([127.0.0.1]:46197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krGOg-0000eE-0U for submit@debbugs.gnu.org; Mon, 21 Dec 2020 03:18:26 -0500 Received: from flashner.co.il ([178.62.234.194]:50680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krGOe-0000e1-84 for 44990@debbugs.gnu.org; Mon, 21 Dec 2020 03:18:24 -0500 Received: from localhost (unknown [5.102.238.249]) by flashner.co.il (Postfix) with ESMTPSA id E1745402D2; Mon, 21 Dec 2020 08:18:17 +0000 (UTC) Date: Mon, 21 Dec 2020 10:18:13 +0200 From: Efraim Flashner Message-ID: References: <20201211201833.22529-1-dftxbs3e@free.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="I0QJrZG93nEhezoS" Content-Disposition: inline In-Reply-To: <20201211201833.22529-1-dftxbs3e@free.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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: , Cc: 44990@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: D063F9402A9 X-Spam-Score: -3.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: Nn4q9Q8Jg9aM --I0QJrZG93nEhezoS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 11, 2020 at 09:18:26PM +0100, John Doe wrote: > * gnu/packages/python-xyz.scm (python-qtpy): New variable. > --- > gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) I would put this in gnu/packages/qt actually >=20 > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index d312e3172a..a92898c7f0 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -23222,3 +23222,28 @@ process.") > "Gamera is a toolkit for building document image recognition system= s.") > (home-page "https://gamera.informatik.hsnr.de/") > (license license:gpl2+))) > + > +(define-public python-qtpy > + (package > + (name "python-qtpy") > + (version "1.9.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "QtPy" version)) > + (sha256 > + (base32 > + "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd")))) > + (build-system python-build-system) > + (propagated-inputs > + `(("python-pyside2" ,python-pyside-2))) > + (arguments > + `(;; Not all supported bindings are packaged. Especially PyQt4. > + #:tests? #f)) > + (home-page "https://github.com/spyder-ide/qtpy") > + (synopsis > + "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidge= ts") > + (description > + "Provides an abstraction layer on top of the various Qt bindings > +(PyQt5, PyQt4 and PySide) and additional custom QWidgets.") > + (license license:expat))) > --=20 > 2.29.2 >=20 I tried a bit to get the tests working. It looks like python-pyside-2 should propagate python-shiboken, and I forgot about python-pyqtwebengine, which looks like it's necessary to run the tests. I haven't looked at the other patches yet, but I wonder how useful this package is with just python-pyside-2 as an input. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --I0QJrZG93nEhezoS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/gWkUACgkQQarn3Mo9 g1GMWBAApU+JBwX8Q9vbG+d/TgXVwgkFl12yWOmaRlDLzNZSAs78cO3iuMI9o/4c b44ie+Vt5Tga2gtZQqLOme+cFb2D/Pd0KupbmDCzA0d2sGgCPPj+QDLW1DvVG1/w J8c7gfLa/412lQWVL64/2O0PkEx7jVEDi3jiSTNkSmP5EvCyFgkCRCjnEvuSlERF qW4n5AkNj0fgSiiFDvIw4jyCtDNUDrKbrrb2BOxLVcU5NiRImG9fZGLOsgLLamI4 O0OnDAANRuZzBzcZm8SFsns3E1XlFH+4QoTVvXDLcfwtC1q37iN6/Np8Td6RfDa2 1Y0znzRCpm8frq0RP5Mfjsa99hbj+yaIDvYJXWso/DrjKCYsBk7BpPMohsGDe2U7 SuXayH69iA7A9ISwKPL+3ZIOKOSm6ygmFbLwNkpViFBjj7EWHtC89fMme1cUfGCq wWjkYIvt/iB+DYL/7Da9EZLX4Aj2LSfUHKJRjJTRw+zN+4JMgRMTXuMwdEjv5tBk HWGrFGJAu+KwiL6KzYOR+38okgcP4QN+7a+eHq4XMTABA2MdBLYSS3nDGZ2f/kqM Yhr5IAvDGQn5SAHm48GTEV3qt4fidi7ZWXc2FsPsb8bQhxNdttBML1Wd3Lpes4d9 KZhKDX6Cdrq3ihwzi8CgKclHoXZ68Du5xB0peY1IW3VWAmHfpak= =PWzn -----END PGP SIGNATURE----- --I0QJrZG93nEhezoS--