From patchwork Fri Aug 26 14:37:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Kortkamp X-Patchwork-Id: 41981 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 D5F4027BBEA; Fri, 26 Aug 2022 16:19:36 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 75BD827BBE9 for ; Fri, 26 Aug 2022 16:19:36 +0100 (BST) Received: from localhost ([::1]:50336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRb7F-0005u9-5J for patchwork@mira.cbaines.net; Fri, 26 Aug 2022 11:19:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaTE-0000Dp-0E for guix-patches@gnu.org; Fri, 26 Aug 2022 10:38:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRaTD-00082B-KY for guix-patches@gnu.org; Fri, 26 Aug 2022 10:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRaTC-0005Ya-A1 for guix-patches@gnu.org; Fri, 26 Aug 2022 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57429] [PATCH 2/3] gnu: piper: Unbreak tests. Resent-From: Tobias Kortkamp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Aug 2022 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57429 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57429@debbugs.gnu.org Cc: Tobias Kortkamp Received: via spool by 57429-submit@debbugs.gnu.org id=B57429.166152466021311 (code B ref 57429); Fri, 26 Aug 2022 14:38:02 +0000 Received: (at 57429) by debbugs.gnu.org; 26 Aug 2022 14:37:40 +0000 Received: from localhost ([127.0.0.1]:54279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaSq-0005Xf-Aq for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:37:40 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:44840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaSo-0005XH-Oc for 57429@debbugs.gnu.org; Fri, 26 Aug 2022 10:37:39 -0400 Received: by mail-ej1-f52.google.com with SMTP id kk26so3503796ejc.11 for <57429@debbugs.gnu.org>; Fri, 26 Aug 2022 07:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=DwY/fpKJ3VxKM+garyDLXEgBYpHJirMKp4jSkeMhNNw=; b=JK2QpffYR237474uIHYmfRc88tXjicV8VoJP/lw2FnKsTRkR0/kR7fGCYqmCRvxQMn q4qQFbBiNyaCl4sdWCU7CFMyBSH4sg5H9LxY58I4WhKsDRyTep1/S6UE+akHYUjpQ2Wo Uo0sKumOFB90yOmrjHd0O8hClLzzobz2InOZJIDctAVYrI24OTcF8fbEdD3PgkvWqv2p /oFrfkD3CFkfUGG2axOCeJ/HzBN0xnQRP8OEhFCcKauxH7Q3wnmDIM2XRo9+KRq6gCN8 w2lpF0Q1z13pgMo7/5EjFGaRvq3N+NmbFKY19FkCE8+b42Zs1o3GsXWVXtsDt7jGRnLW 2UkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=DwY/fpKJ3VxKM+garyDLXEgBYpHJirMKp4jSkeMhNNw=; b=735auZkrSv/WukJ2N0lSjVexySNaJw0SE0CnTBwhBGkkfq3VmJvyo2KBJUhEuPQH0h u3t2SsVWaz/r9apdkY5WDsFr6VhqTyCQpiupW1j2TDPBPDv4ZHJgjHYbzwMMqE9SF32c 5em2jnIM2GJoeNXBw8NHTIuHpKMxTFl23Ta/x7HjFPFvCMBdCeGqiDta7G1/514vNXFL b6wJP4t+la5Kfkl1i7RddDcZM1iDhJY2TKMh43k3KpBjrOFp6LIPtyQ4tZbWaXfWKLyN Aw4EltfekVblju6SSmetZ55QZIN7/lJBLJLO7/DTO5oP3Am/8s2RDwerEGtW6jkjdRkO 4J6w== X-Gm-Message-State: ACgBeo2oXQglzs1l5WLYiLCLgXHCMn2XEC/YYtPKybo/l3K9x3yuZw0O r8+Zpy56ocMRyQSizLxekcIQbfAjnW4= X-Google-Smtp-Source: AA6agR54aU4I7dG6ShM8eJoDx6mpQBBCR/lTMvrYvzCSkZkwDc0oZSlN5tClcz4/JW2NYUTwJTI0Dw== X-Received: by 2002:a17:906:53ca:b0:73a:7443:7c42 with SMTP id p10-20020a17090653ca00b0073a74437c42mr5475614ejo.761.1661524652741; Fri, 26 Aug 2022 07:37:32 -0700 (PDT) Received: from anubis.kortkamp.xyz (p200300ff7f02ab00bb3a869e030b0f74.dip0.t-ipconnect.de. [2003:ff:7f02:ab00:bb3a:869e:30b:f74]) by smtp.gmail.com with ESMTPSA id h8-20020a50ed88000000b004463b99bc09sm1356875edr.88.2022.08.26.07.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 07:37:32 -0700 (PDT) From: Tobias Kortkamp Date: Fri, 26 Aug 2022 16:37:13 +0200 Message-Id: X-Mailer: git-send-email 2.37.2 In-Reply-To: References: 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" X-getmail-retrieved-from-mailbox: Patches Make flake8 config available inside the build directory. https://github.com/libratbag/piper/pull/781 * gnu/packages/gnome.scm (piper): Unbreak tests. --- gnu/packages/gnome.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index fe822eb035..83d64fbd49 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12123,7 +12123,6 @@ (define-public piper python-pygobject)) (arguments (list #:glib-or-gtk? #t - #:tests? #f ;; The flake8 test fails trying to validate piper.in as code. #:phases #~(modify-phases %standard-phases (add-after 'unpack 'dont-update-gtk-icon-cache @@ -12140,7 +12139,11 @@ (define-public piper (wrap-program (string-append #$output "/bin/piper") `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))) + (add-before 'check 'flake8-config + (lambda _ + ;; Make sure the tests use the local flake8 config + (symlink (string-append #$source "/.flake8") ".flake8")))))) (home-page "https://github.com/libratbag/piper/") (synopsis "Configure bindings and LEDs on gaming mice") (description "Piper is a GTK+ application for configuring gaming mice with