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: 41196 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 90DED27BBEA; Wed, 2 Apr 2025 16:04:41 +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=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 174CF27BBE2 for ; Wed, 2 Apr 2025 16:04:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzzdX-0005EY-0F; Wed, 02 Apr 2025 11:04:15 -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 1tzzdQ-0005Dn-FR for guix-patches@gnu.org; Wed, 02 Apr 2025 11:04:09 -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 1tzzdQ-0003ru-0p for guix-patches@gnu.org; Wed, 02 Apr 2025 11:04: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:Date:In-Reply-To:From:To:References:Subject; bh=ERBOfwcYDjQ4cgMvyH/prVedjjr0G6VLK8El1aTMgMg=; b=ANAyikjxlTWyEr0piMnRrH/gWNFxLTIf6qWeqRA1WPCeWp+Zg2faPh/EoGvzQ3NcgAq6EI685EkYU9tbGPXssninN8LI/R89VdnMiOZs/5Uihqrajz2xZLSfOvJHRscnomDPquNjWKLMupYRJVwn8yh87lJGSKgYM947rNJcvSnS7WeokYTsT47XnHyQDVaGgZS5kWfkbZKi5fXBa/mpRq4kbCxbNRDcwloZja+G1v5YJ4DhezmIuU1KLJJSZkonTquR9WF8kxGh4EBOVf1eHz6NJAUTRw2SkZtyKs0xUPbsUe7gdvUzw5ZoxtvxXd5FCI8i+9JZ+IEPdNsZRm/8fw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzzdO-00084J-H1; Wed, 02 Apr 2025 11:04:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77391] [PATCH v3 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 15:04:06 +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.174360620930882 (code B ref 77391); Wed, 02 Apr 2025 15:04:06 +0000 Received: (at 77391) by debbugs.gnu.org; 2 Apr 2025 15:03:29 +0000 Received: from localhost ([127.0.0.1]:58927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzzcl-00081r-R9 for submit@debbugs.gnu.org; Wed, 02 Apr 2025 11:03:29 -0400 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:44516) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tzzc8-0007y5-21 for 77391@debbugs.gnu.org; Wed, 02 Apr 2025 11:02:49 -0400 Received: by mail-qk1-x744.google.com with SMTP id af79cd13be357-7c560c55bc1so714141385a.1 for <77391@debbugs.gnu.org>; Wed, 02 Apr 2025 08:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743606162; x=1744210962; 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=JjJxLQ8EzFFilZWkm6BS78VW6lEBdHJnBcRc04aaZRca8dN8HbNSN18iLbe025827o jpf7UwlhY+4oVBrY32e3zKxLJmE4OfgEe7Fu8+AywJa8iEsg4DScoOsGg2ZhHuxfijEH /4oJQh1bwJxxBpSpYjC7uRsl1oiJ8nTdbTTiWjjC8GH5WfzpYOkEmAjMzNqpXqysO+Ft MJHbmlv1ZMahVD1EpY4M0bPt/ZWu1WUoQkQAF52IRIWXODreFX+QfN52xdgGvYx9DYCU v96vfckPJOSnpVQrrn3IGzx3rvPJruTTElSJZbNBBYLtkPVXKHpzaW4OZHc0cP2aDZWg ZSJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743606162; x=1744210962; 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=vNxnw9UL4/FK5iSCtI4SmT4mZrNaBQRXnLhUW1LwxxTGHEsHZ84vnd9ShLgT4897cY kjhqv6eR9G+/htZR+anmoom5l15YGCx5SvtvnFaFgRUrUMcoKMwBUYO+n6WZP1cilZFA rDsl2Hzu+YcQarqwqN9wQ4MwUmfe/0DuQhG/TrnIeZdrPmSc+TIlrzwF7Jn2iWVpZF/1 Vc7rPBd+IkW2geoWH31nxlbQv7R7XAby2ZpruhDPp4zLPY1/WZBC0uxZur4mP5w9P2X4 EBaQuDqW8kO58iOXWDAxTqMPOhe+vczvmnisFCAjkau/0VZLHVZbKhd2URVpn4SpGN3F axNw== X-Gm-Message-State: AOJu0YyHv9hpitYUfnz9Qz7+O1/rTdbhn8TyWoCpzGSeFoLYaPtjB+xS 55sFClqambdaIany19sPc6ha/WPC5hT5roEDrrEu32scMzpzVzyO/RI69WNr X-Gm-Gg: ASbGnct7ns4n/k6Rb4gIfxYd1aANDIZktgAQP8Q0d4Me6mXfqDbpLJOyZ4HDqt2SPnh aTbR5DdAltjfCoT1MH2V2nXCiiidv865NpCl582Oc9ODKyJv0ZoNZaAY/cU+j54DCaUkUy6HDZV 5zCZPRn2WhKoxcPZ8IPP6dfxggHHi1yh/u30sIGx6oys8n9lesntX9MOqWpcZd+3SIW9dbWKH8/ JESAfjM5cyE+uGhl4+EF+SMrlgCp9wVOWwH0KUrwr61l5O7ywXMm7nAJmeTX9Z67VmAB9tnjs8P MynOk82f4v/drs5yiZz0cMAE+JvnEeG3JgUT82BW17WCU4WhrIa6dQdvJ8kHM2HVzT5L00Qwy61 b18mpP7wqQYrrVWzzsLeb8B8OhC6odg== X-Google-Smtp-Source: AGHT+IHu5QhmTOV+nDV8cgG46lxVvtRyehSNmS76sTxd6O8+3vgLW7oGLZLNG9QT2yFBibhOnRJH/w== X-Received: by 2002:a05:620a:240e:b0:7c3:c500:ca9f with SMTP id af79cd13be357-7c75bc93e5fmr1180086685a.56.1743606161927; Wed, 02 Apr 2025 08:02:41 -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 af79cd13be357-7c5f76aacf9sm795033285a.54.2025.04.02.08.02.41 for <77391@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Apr 2025 08:02:41 -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")