From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uig3NhXC0WRzFwEASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 06:18:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QJpjNRXC0WQ44wAAauVa8A (envelope-from ) for ; Tue, 08 Aug 2023 06:18:29 +0200 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 6FB58355F1 for ; Tue, 8 Aug 2023 06:18:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="G/gGdot1"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691468309; a=rsa-sha256; cv=none; b=TE+o6DJ8nsSbAOeR0/LN3Y9PhSwlwnQegbsTFAaRsHu3y9Cmle1AyIwnmrDeraVGyAmc9m E24yEefz9LD2wNxy5fZCyxhpRstOunnhsoTiNJVaOuEMpfY0HGvO6tTvuS1k+oiFNNW2bN gYLCbMg2WmT2YcBByTvaamzDDgI85VHF53veEtjhrjRTxzUs//Xl+Q0QAzGFaSOkFKKKtq YYdgwc7/b4jlucjp2YMhxXb2FP4qP+1xpjKfQ6VhE7TobyJdUO1RQ0Gyn+Grh0bzwWkoxO jPN0aBTbB2TLx1VifFn6ticDY3s8sJwdhAu7cjlVkaZlHSgXD/rukAACBV3ocA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691468309; 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=g4ZwOPecwN3FaJaYsomq4yREXyMLzBMgEMxp2d0Cssk=; b=IfCAoHgUNnv7MyT4Un1ydzftMJt4Qys6LTSfXz72gqVpNdZEh8sygkH+CXV2DLm68RCJTi 8qSOLUqUurYEu2y8P/CVW3eikWLS/GFft4DQkgWWfDRSh8gWAAV7KRJhKVlJLE5KwpKJcu 2RorpxJcqNC51x0coxNDN5S1WXVUbJwOJMk89IiHdhoA29i5eygU77znFnvNFqoDIEmpMz mgMVEf6RpkNzC6QgISofYfzHwD3xBPwRxndSZ7H2m9UrfDkNmR/K/dfDlC0kT3V6veUhq9 m+ZOFDpTWzsptk6kreeKH229Y/w2nAQOmfLx81JsOkO05bmQ9NVqUO9PVxMrSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="G/gGdot1"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEAa-0005tg-Gt; Tue, 08 Aug 2023 00:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTEAZ-0005tU-6n for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTEAY-0006pQ-Sb for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTEAT-0004aQ-Kc; Tue, 08 Aug 2023 00:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65139] [PATCH 1/3] gnu: Add pyotherside. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 04:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65139@debbugs.gnu.org Cc: Maxim Cournoyer , Andreas Enge , Maxim Cournoyer , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Andreas Enge , Maxim Cournoyer , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65139-submit@debbugs.gnu.org id=B65139.169146824317559 (code B ref 65139); Tue, 08 Aug 2023 04:18:01 +0000 Received: (at 65139) by debbugs.gnu.org; 8 Aug 2023 04:17:23 +0000 Received: from localhost ([127.0.0.1]:34715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTE9q-0004Z8-PC for submit@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:23 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:60443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTE9n-0004Yt-DS for 65139@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:21 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-63c70dc7ed2so36529706d6.0 for <65139@debbugs.gnu.org>; Mon, 07 Aug 2023 21:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468233; x=1692073033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g4ZwOPecwN3FaJaYsomq4yREXyMLzBMgEMxp2d0Cssk=; b=G/gGdot1hcTaDgVkPZYZYUyuaE5T8c93Xs4eMNpFUrSgq2KsXyhiA6Y0HRR5eUMuOk Pd0T9G+YY5aJF2iEwJHTlvtTCpuEsZHZrbTDMuohdtgzZpDO1/KofDwOAuiBl3Qf3X7J T6IPQnb5ZTSOY0YW6AF0gLv+cquNacW8Kg9euL/AXmPtuudZY5JR/mT3qWL/TF1AA1sE o39ZC+H6IMsAlxsXmNOchBanwTT0S6vRxmIrrrT4PiANT60+cozMOFe1LxmVYtl0tC+m kDZBa3R+FFaTKjauvFbOBvfClCQvmIBGtoM4hNWBevjyNzaecRxz7JykAD/Kv65fIKIg dIXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468233; x=1692073033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g4ZwOPecwN3FaJaYsomq4yREXyMLzBMgEMxp2d0Cssk=; b=cX8YGebesNYgipBCT3eS0ahzmOB/DtOzMOj/BjpZnftP00EMAJsd28xN2ql4ArC2sX 8rMJ2ZsCkXKfuosTUMTANFhzToCJsFsdsY/IA/l2+E9fgAlreSPDI3Y3dK0a37eXajNH Mz3X3PHzRAjVaNZ42M/fbdi2cj0KsDm/IaQYH7tlaq0nOpXJ8OBXmvrwFAcbnl7YpbAO dW6GUa5qA7pPjx6NKtHzEJTIs320gKkvaE4WjAMEXamqfaFA4XcNqCE/3SfHb8S4ZkhL duKHgblHIiSwmDn6DIFoXIuw8/VsluE8sXhy9Lxcj/lcWKqoOIyGbJ1VfqEJpJgNGFFj 5WDw== X-Gm-Message-State: AOJu0YxNq8e22f/qW6FQhgr+4q6UBW7JXasvmW8AmXSJXk0g2NHI172B ARRYZPHVO7zZoAkZdC5dwpR0q/eVdhLsgCU5 X-Google-Smtp-Source: AGHT+IEjBxbA5is35OWNSqLt96WpNiUsZewcfqi84V6CePJUd21pOsUIueH1YIyhphGnfEMTWQR/mA== X-Received: by 2002:a0c:e38c:0:b0:636:e4f:6b89 with SMTP id a12-20020a0ce38c000000b006360e4f6b89mr11571777qvl.9.1691468233607; Mon, 07 Aug 2023 21:17:13 -0700 (PDT) Received: from localhost.localdomain (dsl-205-236-230-170.b2b2c.ca. [205.236.230.170]) by smtp.gmail.com with ESMTPSA id a10-20020a0ce38a000000b00636291d04adsm3374039qvl.47.2023.08.07.21.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:17:12 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 8 Aug 2023 00:14:04 -0400 Message-ID: <8b46df8977bee667a041d4b94e565d5ae76b02ab.1691468046.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.06 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 6FB58355F1 X-Spam-Score: -3.06 X-TUID: BiTtZQugtMY3 * gnu/packages/qt.scm (pyotherside): New variable. --- gnu/packages/qt.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 5d7af0d0c8..581df38eaa 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3215,6 +3215,55 @@ (define-public single-application-qt5 instances.") (license license:expat)))) +(define-public pyotherside + (package + (name "pyotherside") + (version "1.6.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thp/pyotherside") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vwl088p8zjkh2rwmzwpz5mkjs2rfyb80018dq4r571c9vpwp2r0")))) + (build-system qt-build-system) + (arguments + (list + #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-installation-prefix + (lambda _ + ;; The QT_INSTALL_QML property points to the qtbase + ;; installation prefix. + (substitute* "src/src.pro" + (("\\$\\$\\[QT_INSTALL_QML]") + (string-append #$output "/lib/qt" + #$(version-major (package-version qtbase)) + "/qml"))))) + (replace 'configure + (lambda _ + (invoke "qmake"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./tests/tests")))) + (replace 'install + ;; Specify a specific install target, otherwise the build fails + ;; attempting to install the qtquicktests target to the qtbase + ;; installation prefix. + (lambda _ + (invoke "make" "sub-src-install_subtargets")))))) + (inputs (list python qtdeclarative qtquickcontrols2 qtsvg)) + (home-page "https://thp.io/2011/pyotherside/") + (synopsis "Qt plugin providing access to a Python 3 interpreter from QML") + (description "Pyotherside is a Qt plugin providing access to a Python 3 +interpreter from QML for creating asynchronous mobile and desktop UIs with +Python.") + (license license:isc))) + (define-public python-sip (package (name "python-sip") -- 2.41.0