From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QO7YNNz/gmIcEwAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 03:52:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aB7CNNz/gmLcXgEAauVa8A (envelope-from ) for ; Tue, 17 May 2022 03:52:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 75343827C for ; Tue, 17 May 2022 03:52:28 +0200 (CEST) Received: from localhost ([::1]:35124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqmNv-0006h4-9O for larch@yhetil.org; Mon, 16 May 2022 21:52:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqmNW-0006gm-Hu for guix-patches@gnu.org; Mon, 16 May 2022 21:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqmNW-0005B8-4Y for guix-patches@gnu.org; Mon, 16 May 2022 21:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqmNW-0000J7-2v for guix-patches@gnu.org; Mon, 16 May 2022 21:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98. References: <20220516234553.24531-1-luishenriquegh2701@gmail.com> In-Reply-To: <20220516234553.24531-1-luishenriquegh2701@gmail.com> Resent-From: Luis Henrique Gomes Higino Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 01:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55466@debbugs.gnu.org Cc: luishgh <51053603+luishgh@users.noreply.github.com> Received: via spool by 55466-submit@debbugs.gnu.org id=B55466.16527522921132 (code B ref 55466); Tue, 17 May 2022 01:52:02 +0000 Received: (at 55466) by debbugs.gnu.org; 17 May 2022 01:51:32 +0000 Received: from localhost ([127.0.0.1]:55452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqmN2-0000IC-HI for submit@debbugs.gnu.org; Mon, 16 May 2022 21:51:32 -0400 Received: from mail-oa1-f53.google.com ([209.85.160.53]:34636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqmN1-0000Hz-97 for 55466@debbugs.gnu.org; Mon, 16 May 2022 21:51:31 -0400 Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-f189b07f57so9039842fac.1 for <55466@debbugs.gnu.org>; Mon, 16 May 2022 18:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iKgiyz25jFAXQJsxnAR+HMGzPlWXslm8F7SdtvtWELQ=; b=eFURi3+vzYGDlK/CP2eLddB4ceOHr7IUKPlfLtlI07gJi7vIL6GyqbYarxxCshcHMI J0mVxCnNSFp/i0AJGKuvPwzJVPcXw0bhRR5eDIQ8pnV+tWdTaByZlQ5ishdze20de5Jn sEzNECUmFd7fgaPmVUCQSHxnCOmBTRjNPZlm323SdGkMsNvBlEpKTJYczoc87eXta92n Zk1gyIifEXggeMbXRXanfwz3USh7UoNKjrx05dHQAm9nKL6waulCoCKk57j0APc2OQuy 4HMkRt+nbnhl0M/339r678cwGY9dzh7GHpySIcYLouoC8WEIukAO2gPXJ/+925RHzFVs EefA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iKgiyz25jFAXQJsxnAR+HMGzPlWXslm8F7SdtvtWELQ=; b=18Cw6FG7qYLW4D6p7xOkcg+GIBejyEe/ucQ7EhIX+bBOiPxVdzabgJ8Esa59UVDZle LKYaAZO8pMvCXZKOgP4TifV3BtJ45/dYoimfJNXFD+YCmYLzRgEkdd+B3XvnClnub6V5 vv+TxshLJ7OOV5SqOrH29vZLtN1tWVSFgMVZzZpBO4zwdgF8o3sFXNTb6UuVj1anYhDG hbCsvh3yXwN8e+RcSzLAjtvZfsa7xe2Ce4oypaWDhJ9yxeWtj7A2ZYXD0gSlTSquHMO9 /Mz4T8UxZ6stCvNWgMQp6mMgBBGeotuff6jpF/dw+cVLQXebLF6cZ8IhHC+KcdZOtPBd cn8w== X-Gm-Message-State: AOAM53391c9afBR08tDqmUB7mxeTQnlSnQO7KdeQebxdwx+oEzTYApHT qkOvGf07aNvV3FZphwq4Hc3HqJQR5HjNVATd X-Google-Smtp-Source: ABdhPJzPOFrAO9QUZqnEkSdFtngCoDVOGqBjd68kaSbTg7rSdkFjO4a9hiHXuiqNr92C+eaY9Pf0eQ== X-Received: by 2002:a05:6870:c348:b0:ed:f231:2b41 with SMTP id e8-20020a056870c34800b000edf2312b41mr17043900oak.23.1652752284918; Mon, 16 May 2022 18:51:24 -0700 (PDT) Received: from localhost.localdomain ([177.157.182.165]) by smtp.gmail.com with ESMTPSA id f72-20020a9d03ce000000b0060603221270sm4458060otf.64.2022.05.16.18.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 18:51:24 -0700 (PDT) From: Luis Henrique Gomes Higino Date: Mon, 16 May 2022 22:48:44 -0300 Message-Id: <20220517014845.10441-1-luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652752348; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iKgiyz25jFAXQJsxnAR+HMGzPlWXslm8F7SdtvtWELQ=; b=MqILj1RHVquRfTa75+nMVeetKfFlOqFsjkl9h3UamxKKRUQ0gtiy9zlHl3wDIT1Rn0JDW0 dhkpOxAWpEIYtubT2wT9QfqfFOJb9YCUol/UXPHYaWlshrGUEZKWjgvto/5W1XDK7RnBhL xG0IAy4jpn/uq/M7Nq1GY8yI3N7MJlf/Hwq+5ObJwCzlnldYdeVTCo6j8Y+CxFmRs+YNUZ MsPp9Y1A7xV86V3nzfNAv+GosDbvDN3IQo+Ib10+3jkThWER74hOpgywgdf+Wgh6Sj9YBb OhSCSLh1WMdWp3KU3xdn3toyY+WUOh7hPjd+JuIZQIr8tRpr5sBYTAE99hmShg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652752348; a=rsa-sha256; cv=none; b=hMtOW0QtsFhGowryj120jio3YX0jD0qOeukq5zEMvHo24uEWJxdetZxE96dERISc3BENYX qHiUDxykfQ1ZyPmggVwXXxuP+E7FgkQT+sF83rzk4d9EXtWk+jLuJQbukSbCntWguP5ic8 cw36o43SWCZeDla/1HXeaVayOkNNClUQvziYg3htz2fTqhMXtD4YblCTfJYS67KTH6FTD5 XeOaNrXBTemE13mycarqJIhnLnjDSgpyjjIM7hzxczcGgbM4wYHR6iE1scQFK3P8O5kExJ FxXt4pdV2Wn9o/LtIqIaWYi7U6O5quJGfVkRuzAgKuzup/8+odDgxHDqtdJOuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eFURi3+v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eFURi3+v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 75343827C X-Spam-Score: 6.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: XVi1lfGvU42E From: luishgh <51053603+luishgh@users.noreply.github.com> * gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98. --- I noticed that this comment above the `fix-failing-tests' build phase suggests it is not necessary with Emacs 28, so I removed it and the package built just fine. gnu/packages/emacs-xyz.scm | 77 +++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8d66278b8f..c8a19e5e9e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -22487,52 +22487,43 @@ (define-public emacs-adoc-mode (license license:gpl2+))) (define-public emacs-racer - (package - (name "emacs-racer") - (version "1.2") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/racer-rust/emacs-racer") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6")))) - (arguments - `(#:tests? #t - #:test-command '("make" "test") - #:phases - (modify-phases %standard-phases - (add-before 'check 'fix-makefile - (lambda _ - (substitute* "Makefile" - (("\\$\\{CASK\\} exec ") "")) - #t)) - ;; Two tests are failing with Emacs 27, as reported here: - ;; . Disable - ;; them. - (add-before 'check 'fix-failing-tests - (lambda _ - (substitute* "test/racer-test.el" - (("`Write`") "Write") - (("^\\\\\\[`str\\]:.*") "") - ((" \\[`str`\\]") " str")) - #t))))) - (native-inputs - (list emacs-ert-runner emacs-undercover)) - (propagated-inputs - (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s)) - (build-system emacs-build-system) - (home-page "https://github.com/racer-rust/emacs-racer") - (synopsis "Racer support for Emacs") - (description - "This is the official Emacs package for Racer. It supports code + (let ((commit "1e63e98626737ea9b662d4a9b1ffd6842b1c648c") + (revision "0")) + (package + (name "emacs-racer") + (version (git-version "1.2" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/racer-rust/emacs-racer") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12a429lajk09qp1jxgig54p8z6wndfgr4jwdmgkc9s2df9sw02d3")))) + (arguments + `(#:tests? #t + #:test-command '("ert-runner") + #:phases + (modify-phases %standard-phases + ;; Added to replicate original behavior of "make test" + (add-after 'build 'test-after-build + (lambda _ + (invoke "ert-runner")))))) + (native-inputs + (list emacs-ert-runner emacs-undercover)) + (propagated-inputs + (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s)) + (build-system emacs-build-system) + (home-page "https://github.com/racer-rust/emacs-racer") + (synopsis "Racer support for Emacs") + (description + "This is the official Emacs package for Racer. It supports code completion of variables, functions and modules. It can also jump to definition of functions and types, and show a help buffer based on the docstring of the thing at point.") - (license license:expat))) + (license license:expat)))) (define-public emacs-rust-mode (package -- 2.36.0