Message ID | 20250320100907.20485-15-ngraves@ngraves.fr |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 97F8827BBE9; Thu, 20 Mar 2025 10:12:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 2C14F27BBE2 for <patchwork@mira.cbaines.net>; Thu, 20 Mar 2025 10:12:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tvCrI-0005vY-Fv; Thu, 20 Mar 2025 06:10:40 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tvCqy-0005nc-Kb for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:22 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tvCqq-0001Ih-VX for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=0I6y85DYSyfIBm+PgzonaKUWmmJ2Rs+G6+2H0G4eQHs=; b=Cx9G7xtJQGYwirMqccv0B4Ig4dz+gINk/DBrL9OpO5mkVvWnQhSbZUTRx4GsqATJlpT9jsEFnRqi5KHsaklroLs2mQXdTAQxu0jLQW8ZSP9/Kdwv0uMze029h83JXWK29Mm6TKbTLaUyhGEorP/Q02GKOKae+pMk3g3EPt843QKn4U9AJUtaNdqaGy6ecYNI3VfR8K92fE854IhXc9fHkjgwHxAeX+bgPC8UIYrwznY/xzi8QrE9SsnOYGirL8OEm6hUZV6crD+Hj13ErmDeU8UEi2NdhEy3CeKt9PEMUThJ7dO6H3HFCa0hySyiXR9rhPGsSu+7pnzsTJy4Ennmsw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvCqq-0002QV-Pq for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77131] [PATCH 15/51] gnu: emacs-persp-mode: Fix tests. Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 10:10:12 +0000 Resent-Message-ID: <handler.77131.B77131.17424653848701@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77131@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr> Received: via spool by 77131-submit@debbugs.gnu.org id=B77131.17424653848701 (code B ref 77131); Thu, 20 Mar 2025 10:10:12 +0000 Received: (at 77131) by debbugs.gnu.org; 20 Mar 2025 10:09:44 +0000 Received: from localhost ([127.0.0.1]:55342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tvCqO-0002G4-1C for submit@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:44 -0400 Received: from 10.mo563.mail-out.ovh.net ([46.105.78.6]:33617) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1tvCq3-0002Bz-9D for 77131@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:23 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsG1n0kz1jCd; Thu, 20 Mar 2025 10:09:22 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77131@debbugs.gnu.org>; Thu, 20 Mar 2025 10:09:22 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.168.94]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsG0k7hzyDY; Thu, 20 Mar 2025 10:09:22 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id A76CCBA3DE2; Thu, 20 Mar 2025 10:09:21 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-111S005e5832a4c-cc93-4eec-abaf-586c6bf0bfd3, 4F160D40D8CAC2A3A770F4A5EC3EDE71EC7A5460) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Mar 2025 11:08:23 +0100 Message-ID: <20250320100907.20485-15-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250320100907.20485-1-ngraves@ngraves.fr> References: <20250320100907.20485-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 16812500361253020386 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeejleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejudefudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=0I6y85DYSyfIBm+PgzonaKUWmmJ2Rs+G6+2H0G4eQHs=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742465362; v=1; b=b6CJ9BPWn/w0t5JFARFGQuRxnCmGHafwLqui8ybpgL2XKHyaM6liR/+LdHcvPApZAKKYUS3V 3Xe9Lupct33gRN1NKk+Uwrr2uM42TRN01vKeaC0M2sKCJT9ZPc+3ooO4Wcw1Gw4oJb4rkBlZGEL mJXCgESZrhLNqI80tSw+MVuQ+dB+HEGuYo5gpNmAm8ehDzGJiL8/Mif+nGabaysCSl7aiisHW8r zXOiYREVZxzHgrMAdOXHK7a4ZpaQcJr4uerQ76u9no8oVRSuoRFB6R6WGw6HS5AjvJYGXEZf/rM UTnphBhYAeglLYcS/+VkYPr5DulzqAgAeHwu6alGSn3Tw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> 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 |
Series |
[bug#77131,01/51] gnu: Add (gnu packages emacs-build) module.
|
|
Commit Message
Nicolas Graves
March 20, 2025, 10:08 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-persp-mode)[arguments]: Add {test-command} and phase 'tests-add-lexical-bindings. [native-inputs]: Add emacs-buttercup. --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1ea5fe6aa1..93547a8d2a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13933,6 +13933,18 @@ (define-public emacs-persp-mode (base32 "0y29vyvqdfxcpmzkyv2c6msbshx2f680izk2r0djrqj08ii8zmpr")))) (build-system emacs-build-system) + (arguments + (list #:test-command + #~(list "buttercup" "-L" "." "-L" "tests") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'tests-add-lexical-bindings + (lambda _ + (substitute* "tests/test-persp-mode.el" + (("\\(require 'buttercup-init\\)" all) + (string-append ";;; -*- lexical-binding: t; -*-\n" + all)))))))) + (native-inputs (list emacs-buttercup)) (home-page "https://github.com/Bad-ptr/persp-mode.el") (synopsis "Switch between named \"perspectives\" shared among frames") (description