From patchwork Thu Mar 20 10:08:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40498 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 9E30B27BBE2; Thu, 20 Mar 2025 10:12:15 +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=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 E020A27BBEB for ; Thu, 20 Mar 2025 10:12:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvCrp-0006Wx-4i; Thu, 20 Mar 2025 06:11:13 -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 1tvCrk-0006Ot-JC for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:08 -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 1tvCrk-0001dX-8F for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:08 -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=rWCoGXOxNbu0xvN3KRN+JvgACtOGWqrBT50gQVavDs4=; b=lDJsrkVuqMAYn/5lFPES2UlApr+ctLeAowlm2hfEX5GshsFUM/LC88FtaxgxI8ZQbCYgKFHewyFnD/J63hQfEL1yWhyXOISJ+jrLk2RQUEe7gtSADTEzcUwvlLfVQfgrlSP1MqVLPXII1XZVYUSsaejirngQM2qkcz7DAXc6//xHphBzd+BErjJ3/ZA+MHLqs7bmG6Pjk5gSaf0j4PHCVwT39Q/OOpidrA/Li0mvysfR/6F0Znh0eZ3Yv+XECXXiDrdYcjhtQXsTTWnSZO1B0WeSsbV36NE7jquo4Xji26Cb/eUJMcYiHb2zXa3JZJo5RuChPdVIdVAyOGdf/hnLjg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvCrk-0002Wd-1l for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77131] [PATCH 38/51] gnu: emacs-sly: Skip failing test. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 10:11:08 +0000 Resent-Message-ID: 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 Received: via spool by 77131-submit@debbugs.gnu.org id=B77131.17424654489585 (code B ref 77131); Thu, 20 Mar 2025 10:11:08 +0000 Received: (at 77131) by debbugs.gnu.org; 20 Mar 2025 10:10:48 +0000 Received: from localhost ([127.0.0.1]:55444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvCrQ-0002US-0y for submit@debbugs.gnu.org; Thu, 20 Mar 2025 06:10:48 -0400 Received: from 2.mo562.mail-out.ovh.net ([178.33.252.217]:35913) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvCqN-0002FZ-1p for 77131@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:44 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsf03Pfz1Ypy; Thu, 20 Mar 2025 10:09:42 +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:41 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.25.204]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsd6pjNzy6S; Thu, 20 Mar 2025 10:09:41 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.1]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 8F6B0263772; Thu, 20 Mar 2025 10:09:41 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R0032ffe61ca-4581-4696-ad9b-018bceee3745, 4F160D40D8CAC2A3A770F4A5EC3EDE71EC7A5460) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Mar 2025 11:08:46 +0100 Message-ID: <20250320100907.20485-38-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 X-Ovh-Tracer-Id: 16817848386474795746 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeejleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeeinecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejudefudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=rWCoGXOxNbu0xvN3KRN+JvgACtOGWqrBT50gQVavDs4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742465382; v=1; b=13OLV3fkch0jC8vVV0dBADKxNmeJcZcvJlBK+cKNqyTYtM8nrz0MY+EilNKlIV5IXyz0LStm hw/Q3JA9LNLXnSCQzRe23Y5GEnP4qmdtcyomNBPYCPV3fqbAIuOeXEqPkpP8seSuKwdF93J9/iR BX6IEfox1uU0IPXDL6evy4HLGk+T4Q1C3i0BfxQUn5PrGdlCxjRhJz0cipxLoaiSLlpOqQMsMy5 hqWHweYejf5iJKuOqzN2IZQkwDTyembxI0BJkjQkUYulWYwg7kEoDTsni3uZsAAaSVh5BpPoRBf h1YXIm7Bto+iWaGtmOOimCMMbziZGyP/nHpD5F4HArUbA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/emacs-xyz.scm (emacs-sly) [arguments]: Improve style. {phases}: Add phase patch-tests to ignore a single failing test. [native-inputs]: Add sbcl. --- gnu/packages/emacs-xyz.scm | 75 ++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 31ba6b68da..377917d5f5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17486,42 +17486,47 @@ (define-public emacs-sly "15nyr02ykkws4q79jcmxcawddg8sgq9v5l8k7jv7gg3hnpzxjlb2")))) (build-system emacs-build-system) (native-inputs - (list texinfo)) + (list sbcl texinfo)) (arguments - `(#:include (cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include) - #:phases - ;; The package provides autoloads. - (modify-phases %standard-phases - (delete 'make-autoloads) - (add-before 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (info-dir (string-append out "/share/info")) - (doc-dir (string-append out "/share/doc/" - ,name "-" ,version)) - (doc-files '( ;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below. - "README.md" "NEWS.md" "PROBLEMS.md" - "CONTRIBUTING.md"))) - (with-directory-excursion "doc" - (substitute* "Makefile" - (("infodir=/usr/local/info") - (string-append "infodir=" info-dir)) - ;; Don't rebuild contributors.texi since we are not in - ;; the git repo. - (("contributors.texi: Makefile texinfo-tabulate.awk") - "contributors.texi:")) - (invoke "make" "html/index.html") - (invoke "make" "sly.info") - ;; TODO: We need minimal texlive with "preprint" package - ;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf") - (install-file "sly.info" info-dir) - (copy-recursively "html" (string-append doc-dir "/html"))) - (for-each (lambda (f) - (install-file f doc-dir) - (delete-file f)) - doc-files) - (delete-file-recursively "doc") - #t)))))) + (list + #:include #~(cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include) + #:phases + #~(modify-phases %standard-phases + (delete 'make-autoloads) ; The package provides autoloads. + (add-before 'install 'install-doc + (lambda _ + (let* ((info-dir (string-append #$output "/share/info")) + (doc-dir (string-append #$output "/share/doc/" + #$name "-" #$version)) + (doc-files '( ;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below. + "README.md" "NEWS.md" "PROBLEMS.md" + "CONTRIBUTING.md"))) + (with-directory-excursion "doc" + (substitute* "Makefile" + (("infodir=/usr/local/info") + (string-append "infodir=" info-dir)) + ;; Don't rebuild contributors.texi since we are not in + ;; the git repo. + (("contributors.texi: Makefile texinfo-tabulate.awk") + "contributors.texi:")) + (invoke "make" "html/index.html") + (invoke "make" "sly.info") + ;; TODO: We need minimal texlive with "preprint" package + ;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf") + (install-file "sly.info" info-dir) + (copy-recursively "html" (string-append doc-dir "/html"))) + (for-each (lambda (f) + (install-file f doc-dir) + (delete-file f)) + doc-files) + (delete-file-recursively "doc")))) + (add-before 'check 'patch-tests + (lambda _ + (setenv "HOME" (dirname (getcwd))) + (substitute* "test/sly-stickers-tests.el" + (("\ +\\(define-sly-ert-test stickers-when-invalid-dont-stick .*" all) + (string-append all " (skip-unless nil)\n")))))))) (home-page "https://github.com/joaotavora/sly") (synopsis "Sylvester the Cat's Common Lisp IDE") (description