From patchwork Fri Oct 27 17:44:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivien Kraus X-Patchwork-Id: 55422 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 B017427BBE2; Fri, 27 Oct 2023 19:02:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F27B27BBE9 for ; Fri, 27 Oct 2023 19:02:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwR9K-0007Lk-57; Fri, 27 Oct 2023 14:01:34 -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 1qwR9G-0007LF-UB for guix-patches@gnu.org; Fri, 27 Oct 2023 14:01:30 -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 1qwR9G-0000Sl-N7 for guix-patches@gnu.org; Fri, 27 Oct 2023 14:01:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwR9m-0007yO-46 for guix-patches@gnu.org; Fri, 27 Oct 2023 14:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66689] [PATCH gnome-team v5 10/17] gnu: python-pygobject: Update style. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Oct 2023 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66689 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66689@debbugs.gnu.org Received: via spool by 66689-submit@debbugs.gnu.org id=B66689.169842967430505 (code B ref 66689); Fri, 27 Oct 2023 18:02:02 +0000 Received: (at 66689) by debbugs.gnu.org; 27 Oct 2023 18:01:14 +0000 Received: from localhost ([127.0.0.1]:37116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwR90-0007vw-33 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 14:01:14 -0400 Received: from planete-kraus.eu ([89.234.140.182]:44996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwR8x-0007vo-RU for 66689@debbugs.gnu.org; Fri, 27 Oct 2023 14:01:13 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 860076c7 for <66689@debbugs.gnu.org>; Fri, 27 Oct 2023 18:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to :mime-version; s=albinoniB; bh=Sin1Btr3ctjRBJGOS+I5dUI4Qyg=; b=G hZcoF80RIunr3mFcAtCdA8w7ASZCvZok7n1CwSuHIqrQN6sSCaCoNRpN5VVOIcX3 5Y01/XvW5z9vvyruMNbrNcxGMsH8CQUUd6DmXqcqyP5JO7dcDNUP1vcGEtnGuiMp eQ/RfIZy5mhNV8owAr8F9eaCxDD+wt+DcNQbXzI26NKkelx2HRHYO1LI+tQtIj7e /enqsoZnpLz6vZZwtE23Hm4IIy4sYV/PVp3z/1wXL9bM1axD8PbCLWfXcUHPAglU aB38LgNdgRCIIiI4//W7BKX50y/DaabOKI4y/4epaXKRpuXWeqmwSxdQVifEZQ0V O/99r/mB0KERUblV5YnkQ== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id bbfc659f (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <66689@debbugs.gnu.org>; Fri, 27 Oct 2023 18:00:39 +0000 (UTC) Message-ID: In-Reply-To: References: Date: Fri, 27 Oct 2023 19:44:52 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.46.4 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: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches X-Patchwork-Original-From: Vivien Kraus via Guix-patches via From: Vivien Kraus Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/glib.scm (python-pygobject) [origin sha256]: Update indentation. [snippet]: Convert to G-Expression. Remove trailing #f. [arguments]: Convert to list of G-Expressions. [native-inputs]: Drop labels. Change-Id: I325de196b79cbdd0acaed3c40be42aa7335abcae --- gnu/packages/glib.scm | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 2c813fd594..1012d2190b 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1015,33 +1015,31 @@ (define-public python-pygobject (version-major+minor version) "/pygobject-" version ".tar.xz")) (sha256 - (base32 - "1z6aagb46fhhdd0bb3zk6dfdw3s4y2fva0vv3jpwjj6mvar0hq22")) + (base32 "1z6aagb46fhhdd0bb3zk6dfdw3s4y2fva0vv3jpwjj6mvar0hq22")) (modules '((guix build utils))) (snippet - '(begin - ;; We disable these tests in a snippet so that they are inherited - ;; by the Python 2 variant which is built differently. - (with-directory-excursion "tests" - ;; FIXME: These tests require Gdk and/or Gtk 4. - (for-each delete-file - '("test_atoms.py" "test_overrides_gtk.py" - "test_overrides_gdk.py")) - #t))))) + ;; We disable these tests in a snippet so that they are inherited + ;; by the Python 2 variant which is built differently. + #~(with-directory-excursion "tests" + ;; FIXME: These tests require Gdk and/or Gtk 4. + (for-each delete-file + '("test_atoms.py" "test_overrides_gtk.py" + "test_overrides_gdk.py")))))) (build-system meson-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; The default 90 seconds can be too low on slower machines. - (invoke "meson" "test" "--timeout-multiplier" "5"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; The default 90 seconds can be too low on slower machines. + (invoke "meson" "test" "--timeout-multiplier" "5"))))))) (native-inputs - `(("glib-bin" ,glib "bin") - ("pkg-config" ,pkg-config) - ("python-pytest" ,python-pytest) - ("python-wrapper" ,python-wrapper))) ; For patching shebangs + (list `(,glib "bin") + pkg-config + python-pytest + python-wrapper)) ; For patching shebangs (inputs (list python python-pycairo gobject-introspection)) (propagated-inputs