From patchwork Sun Jun 20 01:07:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: slg <0x2d@disroot.org> X-Patchwork-Id: 30514 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C2EF227BC81; Sun, 20 Jun 2021 02:09:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8347B27BC78 for ; Sun, 20 Jun 2021 02:09:11 +0100 (BST) Received: from localhost ([::1]:49532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lulxW-0007WY-Ig for patchwork@mira.cbaines.net; Sat, 19 Jun 2021 21:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lulxO-0007TI-Sp for guix-patches@gnu.org; Sat, 19 Jun 2021 21:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lulxO-0000Kh-LY for guix-patches@gnu.org; Sat, 19 Jun 2021 21:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lulxO-0004Er-Do for guix-patches@gnu.org; Sat, 19 Jun 2021 21:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49123] [PATCH 01/24] gnu: Add pyotherside. References: <24bef80c88d8f45be9e74453c847fc0af8822633.camel@disroot.org> In-Reply-To: <24bef80c88d8f45be9e74453c847fc0af8822633.camel@disroot.org> Resent-From: slg <0x2d@disroot.org> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Jun 2021 01:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49123@debbugs.gnu.org Cc: slg <0x2d@disroot.org> Received: via spool by 49123-submit@debbugs.gnu.org id=B49123.162415128616219 (code B ref 49123); Sun, 20 Jun 2021 01:09:02 +0000 Received: (at 49123) by debbugs.gnu.org; 20 Jun 2021 01:08:06 +0000 Received: from localhost ([127.0.0.1]:32770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lulwT-0004DW-SR for submit@debbugs.gnu.org; Sat, 19 Jun 2021 21:08:06 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0x2d@disroot.org>) id 1lulwS-0004DO-Df for 49123@debbugs.gnu.org; Sat, 19 Jun 2021 21:08:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 07C3E5C92E; Sun, 20 Jun 2021 03:08:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EYT6aGEjX1qO; Sun, 20 Jun 2021 03:08:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1624151280; bh=3hP1MtQqY7arrxwJRUJTic/8/YwNPN3SLhbDC9H03SE=; h=From:To:Cc:Subject:Date; b=KZBIXyPXYXE7qLLxvQPiZDrb9N32e3+gRJ5uvcSLD2ZHCT/tSkhc0IRGXqx/VmQKh 3b7GTLhJKhuFFLq3npeekyIka4jRjIZRM7x4uATmKCFJMsYIBCQrMEwVW74gZcD3Fe GO22IIrON50VYx0JGRsUK+Jaa1duGv2MEaO7JyMbH7B/zuzQgJUT32C4jApJfvjXfF 2/cmdv84E7165+1slch1yDStWJZr7YQke5HCVEfl/oVQmDTl4N/EqXNg1X5bOxOpbW o/2L9ukP8tb/3E4CnheA9jOGBASpB8w8rHytLBO/TJO8DKRlEh34MCFY4NBsmeWDsE 1q5i26m+jhhAw== Date: Sat, 19 Jun 2021 22:07:19 -0300 Message-Id: <20210620010742.4259-1-0x2d@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: slg <0x2d@disroot.org> X-ACL-Warn: , slg via Guix-patches X-Patchwork-Original-From: slg via Guix-patches via From: slg <0x2d@disroot.org> X-getmail-retrieved-from-mailbox: Patches * gnu/packages/qt.scm (pyotherside): New variable. --- gnu/packages/qt.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 19fcc2f37e..3e91a82a46 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3044,3 +3044,36 @@ being fully customizable and easy to extend.") also compatible with SGI and TGS Open Inventor, and the API is based on the API of the InventorXt GUI component toolkit.") (license license:bsd-3)))) + +(define-public pyotherside + (let ((commit-ref "8f7e67980f7ceb2d0fc40a9568d3b10c640a8d74") + (revision "1")) + (package + (inherit qtsvg) + (name "pyotherside") + (version (git-version "1.5.9" revision commit-ref)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thp/pyotherside") + (commit commit-ref))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kq8v2inwx4j9idsdxwkjas4nqyfwzwfwiiwpjqr8ggcx1z9gvi3")))) + (outputs '("out")) + (inputs + `(("qtbase" ,qtbase-5) + ("qtdeclarative" ,qtdeclarative) + ("qtsvg" ,qtsvg))) + (propagated-inputs + `(("python" ,python-wrapper))) + (native-inputs `()) + (arguments + (substitute-keyword-arguments (package-arguments qtsvg) + ((#:tests? _ #f) #f))) ;; Plugin must be installed before testing + (home-page "https://thp.io/2011/pyotherside/") + (synopsis "Asynchronous Python 3 Bindings for Qt 5") + (description "A Qt plugin providing access to a Python 3 interpreter from +QML for creating asynchronous mobile and Desktop UIs with Python.") + (license license:isc))))