From patchwork Sun Oct 22 14:39:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivien Kraus X-Patchwork-Id: 55256 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 441D427BBED; Tue, 24 Oct 2023 07:24:58 +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 A7C8627BBEA for ; Tue, 24 Oct 2023 07:24:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvAqC-0003ye-PV; Tue, 24 Oct 2023 02:24:36 -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 1qvAqA-0003x7-IO for guix-patches@gnu.org; Tue, 24 Oct 2023 02:24:34 -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 1qvAqA-0002vW-A5 for guix-patches@gnu.org; Tue, 24 Oct 2023 02:24:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvAqd-0008Rq-MI for guix-patches@gnu.org; Tue, 24 Oct 2023 02:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66689] [PATCH gnome-team v2 07/14] gnu: python-pygobject: Update to 3.46.0. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Oct 2023 06:25:03 +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: Maxim Cournoyer , Cc: rg@raghavgururajan.name, 66689@debbugs.gnu.org, liliana.prikler@gmail.com Received: via spool by 66689-submit@debbugs.gnu.org id=B66689.169812870232452 (code B ref 66689); Tue, 24 Oct 2023 06:25:03 +0000 Received: (at 66689) by debbugs.gnu.org; 24 Oct 2023 06:25:02 +0000 Received: from localhost ([127.0.0.1]:52813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvAqb-0008RI-PM for submit@debbugs.gnu.org; Tue, 24 Oct 2023 02:25:02 -0400 Received: from planete-kraus.eu ([89.234.140.182]:53750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvAqZ-0008QF-OG for 66689@debbugs.gnu.org; Tue, 24 Oct 2023 02:25:00 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 0e6ec176; Tue, 24 Oct 2023 06:24:28 +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:cc :mime-version; s=albinoniB; bh=dylwS1oB2DGbnCj60YKrbBz2OLQ=; b=P rRJ0T/w3Si3GAMyJTVy/Yk8w8GMcwBix2sMwDo4WIhdUI01Yt6auaSwWq7i5LfeZ vRtoQI25A9CtfN6lp54DNf+wAX+/nO6NBw2MmgtRugcTWkmCkzcV+gd5IXvXNXGQ vhIb4EKR0aZfZ9vJZj+i35cQ5g2rjAL4R1XfavFmtKYOBnCkhJaoeWEXoh5p+LBp 8pWF03nygalHoeNwcnnSkjoWsLDTNtDV9u614PWDamKWIUGzMqNh1rv8AUPCWE38 2k4BLyruXBd8JD8byfpKJdWR9ax4hMy59tNVW4hXoH01/dSqm1nobBWrZNBpSLpm Ay3Y4BLex+bBaoK1MQ7WQ== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 18642ba9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 24 Oct 2023 06:24:28 +0000 (UTC) Message-ID: <7aff4a820d08810315519d9a9abe7f16e2c74053.1698128341.git.vivien@planete-kraus.eu> In-Reply-To: References: Date: Sun, 22 Oct 2023 16:39:05 +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): Update to 3.46.0. [snippet]: Also remove test_overrides_gdk.py. Update style. [arguments]: Update style. [native-inputs]: Same. --- gnu/packages/glib.scm | 47 +++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index d249188a4f..3812284412 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1007,40 +1007,39 @@ (define glibmm (define-public python-pygobject (package (name "python-pygobject") - (version "3.44.1") + (version "3.46.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/pygobject/" - (version-major+minor version) - "/pygobject-" version ".tar.xz")) + (version-major+minor version) "/pygobject-" version + ".tar.xz")) (sha256 - (base32 - "042pmpyaz7bsbr68znnwdqyhs3j3cajib0k45v1hrs8v6b8has1w")) + (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")) - #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