From patchwork Wed Apr 2 14:42:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhail Singh X-Patchwork-Id: 41192 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 B837727BBEA; Wed, 2 Apr 2025 15:54: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=-7.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 3363D27BBE9 for ; Wed, 2 Apr 2025 15:54:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzzT6-0000mf-T0; Wed, 02 Apr 2025 10:53:29 -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 1tzzSl-0000fd-MZ for guix-patches@gnu.org; Wed, 02 Apr 2025 10:53:11 -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 1tzzSl-0007I3-DE for guix-patches@gnu.org; Wed, 02 Apr 2025 10:53:07 -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:Date:In-Reply-To:From:To:References:Subject; bh=ERBOfwcYDjQ4cgMvyH/prVedjjr0G6VLK8El1aTMgMg=; b=hPf8n23x9hmv/EilORPnYHEgVQXVGR0bCQ5K9ufcIrSJR2Jw6DIrVox0FOToGA78vxsnPINs+ckCk4BjTHTG0uYeN4xCweYseFhdoe6szhBUnBliQ9xHvHjtnBdJES0EZL3b5+B1FmFdVMlXq3UzAXtqK3eMXoPET2QNAbSGvrXYO0eTS6+Tq2Ilitb0gy/BVyL3GeyjqlWbw7yAAoxL5YeZI3YdnZAzNqtcME/2QEcv8tiVMYb3ifsZk1yg5uQYus9UPXgYHpx25sts0yOx1YZAhkoTbUx3b2ldpgKEQKogE2DeiwFLafNkO4TWgvn21RQdVmEf9YOFdYv76OBLwQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzzSj-0004FM-1l; Wed, 02 Apr 2025 10:53:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77391] [PATCH v2 4/4] gnu: emacs-ellama: Enable tests; install info manual. References: Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, csantosb@inventati.org, divya@subvertising.org, ian@retrospec.tv, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 02 Apr 2025 14:53:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77391@debbugs.gnu.org Cc: Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 77391-submit@debbugs.gnu.org id=B77391.174360555216187 (code B ref 77391); Wed, 02 Apr 2025 14:53:05 +0000 Received: (at 77391) by debbugs.gnu.org; 2 Apr 2025 14:52:32 +0000 Received: from localhost ([127.0.0.1]:58851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzzSC-0004D0-40 for submit@debbugs.gnu.org; Wed, 02 Apr 2025 10:52:32 -0400 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]:57775) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tzzRn-0004AW-On for 77391@debbugs.gnu.org; Wed, 02 Apr 2025 10:52:08 -0400 Received: by mail-qt1-x842.google.com with SMTP id d75a77b69052e-47677b77725so68362901cf.3 for <77391@debbugs.gnu.org>; Wed, 02 Apr 2025 07:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743605522; x=1744210322; darn=debbugs.gnu.org; h=mime-version:message-id:date:in-reply-to:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=ERBOfwcYDjQ4cgMvyH/prVedjjr0G6VLK8El1aTMgMg=; b=SMJa8EWuWtTXeUs67i0+4nkLRRTUM8ia8Xy0AVyNp3Se2xyrZ+Fm7d9tYA7iw12v8/ FcJymLvfXGHdAkaZkEpLYsULV4VdQHQ56tO+6Ssf5jKj2cd8ilSxoZeGCPUMdMYqcSA8 Oe35SNdfTWhGeZ/wdIkjzojufvQ4FT7YTqb27h9vS1qbCRS1/8nUssU/3ePOcck+ls3Z dySD5pR7DsRJx1Nc/7k+i4kVOKCGCthLFmUeNDlnjiqLHMS6KbCXWNeUd9CBqZ0aEDaD Ef0VqsLnkgcRBczRJfSY6/deJ7UtbQva8yf0zx3RRpizVxVuV7+9fZ+h/cdk5ABsJLoO S4jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743605522; x=1744210322; h=mime-version:message-id:date:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ERBOfwcYDjQ4cgMvyH/prVedjjr0G6VLK8El1aTMgMg=; b=xBZ3SG7+8dSNpcJL3Fqk8Zlf1z+W82y+AUG0mFZThMwbCTyAKVVCx6lNJp4+B7x8mc imFhJAfPkrW4WnK0EzbQ+o7yLrQIdfHw8hV85URhurY7/q5gUxJq+MCH4upxERqp5Wn8 ZtG6PZLhltKkgDjZqnbkNUGftWjQDZ8oUFWweJlnN2q+or3GiDvVagxaPARR4Tzt4Sur OTR9QgKlHTgySxq6Bu4t0H9Y+OvvAMTrczwNefu0QxqthQl0414aJ9b/Nncwg8cxEA7n V6EFLxx8LePzGiCQxnukDz/wbUtS6qiFGc88iRstOUYwN2XLQbTIx59B5kMYFjn3M0EJ +drQ== X-Gm-Message-State: AOJu0YxAeZBynDaegAZxg13yCDfZOB3WV9yFvvMdf9g3fbD7lNyb4mYo X5u73hz5f6rh5h32POY4H8A2+vY8uxqjQ9WO1oc6jioGLuydD5Z+/CvouxVp X-Gm-Gg: ASbGncvFxIUUEItVv6Vd/B6XEwdwYffvj3aIV5vho26SAsJZCEMTlmq29tf7W1jEPC6 CPmEmApuxtkrbZnlL/znBPbYB/glzHNupJe72zTq06TeUddeq0qFAyhU34FTj2RozO+aVHurjM0 rRYOp1vEuOgMpfXBonLIwtP0WfsImZ1WwKWuYKI59crHvboydmonUJqg3UQnKzFKryXuqbzPuqS 7+KZDx1e1P71YNyPh3fx/rqwRjUfJ0r1kMPJLlJ4OW4GJ31CyWHouqWCbtXtCCPQqTJc86EVVPT Eo8/ppTJj5RHTknyeSs16jpFnBolz2ecpuIk7k0th6pD4uzSFWBUaOoS+deMoC0Qnv7FlCXMksl d1lSJJn8ZpFFAcH0nFYV9v063sviMyA== X-Google-Smtp-Source: AGHT+IFXxHkGiDdpgDCG1z76FoaFTI7aDPqtTIUlqC0BeSMsHVEd1959W+WGjC5kzwJF/BmHiAEosw== X-Received: by 2002:ac8:5787:0:b0:476:add4:d2b7 with SMTP id d75a77b69052e-477ed779db7mr206008371cf.51.1743605521938; Wed, 02 Apr 2025 07:52:01 -0700 (PDT) Received: from gnus (lnsm2-montreal01-69-158-82-155.internet.virginmobile.ca. [69.158.82.155]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-47782a7fc76sm82520021cf.42.2025.04.02.07.52.01 for <77391@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Apr 2025 07:52:01 -0700 (PDT) From: "Suhail Singh" In-Reply-To: Date: Wed, 2 Apr 2025 10:42:12 -0400 Message-Id: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-ellama)[arguments]: Enable tests; skip failing; install included pre-generated info manual. Change-Id: I1b468c7b30ad35ae553d354ef63da2d4d1c056a7 --- gnu/packages/emacs-xyz.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5189ddd5d1..2c1e5801eb 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5789,6 +5789,23 @@ (define-public emacs-ellama (sha256 (base32 "075bxdy2jzaq4nw2vpzlmxlq3mlvr0dklva5hbpzqm6pvwa2xz1k")))) (build-system emacs-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* (find-files "tests/" "\\.el$") + (("\\(ert-deftest test-ellama-context-element-extract-info-node .*" all) + (string-append all "(skip-unless nil)\n"))))) + (add-after 'install 'install-info + (lambda _ + (install-file "ellama.info" + (string-append #$output "/share/info"))))) + #:tests? #t + #:test-command #~(list "emacs" "-Q" "--batch" + "-l" "ellama.el" + "-l" "tests/test-ellama.el" + "-f" "ert-run-tests-batch-and-exit"))) (propagated-inputs (list emacs-compat emacs-llm emacs-plz emacs-transient)) (home-page "https://github.com/s-kostyaev/ellama") (synopsis "Tool for interacting with LLMs")