From patchwork Tue May 17 01:48:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Higino X-Patchwork-Id: 39429 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 CC72027BBEA; Tue, 17 May 2022 02:52:27 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS 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 5AB9227BBE9 for ; Tue, 17 May 2022 02:52:27 +0100 (BST) Received: from localhost ([::1]:35124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqmNu-0006h4-I3 for patchwork@mira.cbaines.net; Mon, 16 May 2022 21:52:26 -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 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" X-getmail-retrieved-from-mailbox: Patches 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