From patchwork Mon May 16 23:45:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henrique Gomes Higino X-Patchwork-Id: 39425 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 11CC827BBEA; Tue, 17 May 2022 00:47:23 +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 902DB27BBE9 for ; Tue, 17 May 2022 00:47:22 +0100 (BST) Received: from localhost ([::1]:36322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqkQr-00031F-Lv for patchwork@mira.cbaines.net; Mon, 16 May 2022 19:47:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqkQZ-0002za-NM for guix-patches@gnu.org; Mon, 16 May 2022 19:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqkQZ-0002hc-2i for guix-patches@gnu.org; Mon, 16 May 2022 19:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqkQZ-0002wF-0u for guix-patches@gnu.org; Mon, 16 May 2022 19:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98. Resent-From: luishgh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 May 2022 23:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55467@debbugs.gnu.org Cc: luishgh <51053603+luishgh@users.noreply.github.com> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16527447748835 (code B ref -1); Mon, 16 May 2022 23:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2022 23:46:14 +0000 Received: from localhost ([127.0.0.1]:55329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqkPl-0002Ht-3p for submit@debbugs.gnu.org; Mon, 16 May 2022 19:46:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:35276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqkPj-0002Fk-28 for submit@debbugs.gnu.org; Mon, 16 May 2022 19:46:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqkPi-0002CD-9O for guix-patches@gnu.org; Mon, 16 May 2022 19:46:10 -0400 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:43695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqkPg-0002cQ-D6 for guix-patches@gnu.org; Mon, 16 May 2022 19:46:10 -0400 Received: by mail-oi1-x233.google.com with SMTP id v65so20512699oig.10 for ; Mon, 16 May 2022 16:46:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bz+st97+DYP/A+O8gJBQTrOGmXQzARzpeocTT9Ez+s8=; b=HoDsGx6zs4bnY95m6OzY6CELcrlc5aTsbVGdzxyBvYXh77K8PXkPA5Gs/5aqAoPydB 42M6r/fyIR3sXNM/dH9A55wcylJ4zgD/bdu7els3sPLe7monL+p2f1bK7knIJvUBFxb6 VaFpJ7M2rKR8TLAS3uRlUol+SZA9D+tB7JlHy8wIQTrKNHcL55oJw7a7B/pZ3JTe85OQ sI9XfLDenQJPyBMz65CKbFX1uKpD5forqe/E2otJ4neklxd9yxCiukw0vk1YWtvzzgJk 1OmkUwIKWj0pB75L5vgtmP2n6jYeBghgt1nFOG/GzxMQoK8qad7THT+cOqI53G3PfDfL fWnQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bz+st97+DYP/A+O8gJBQTrOGmXQzARzpeocTT9Ez+s8=; b=hxipKIDB6+FSwluu5yDqfaOpJNk8+hn/rXWQQjKZAFr6Fi+dzP1aayaKlFSnPySKPO rMd7JldvGFoXoy6/vyqcj7uSyoutyzuOquWXok/Vjz3blmP74Pd5ecHgoEc6Ndkz5DZo GpJW1gAVJVuW7dXGCXuK18ezTEXPIvUuJD4JBoiUGsrxLd37VdgTPm4T7AnnbyyiKMsp VGjrkLW7XoFWy4bqjQbbrhL3zjj7dsnP90fTrtJWAJPMLfowCS5QJ7DxpkoI16xHJg7k z2MWy6MbiA5i16s9nGeSqdXih+f1OUUa0UnfDfpkgM2pMqqwsWwVeuJnBfW3d2WXmUts DBmA== X-Gm-Message-State: AOAM530dTxgYRLJ+1EIFi0suegam3THmHhMNglVEMoAEj2/l1/9Eb3VI w6xtl6xSWjx92uvO+KeqTyDPh4vRuQw+7A== X-Google-Smtp-Source: ABdhPJzlTWgfBc5DogZzJXsLaYgoIIrrsBM0ZhqOboZH82UKitWnYkeNjT9ZZpwdfwBfya4YGjwCrQ== X-Received: by 2002:a05:6808:f0c:b0:326:88a5:3e7 with SMTP id m12-20020a0568080f0c00b0032688a503e7mr9453862oiw.6.1652744765657; Mon, 16 May 2022 16:46:05 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2789:345:6230:1bdb:6869:4b12]) by smtp.gmail.com with ESMTPSA id z10-20020a056870738a00b000e686d13890sm6092919oam.42.2022.05.16.16.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 16:46:05 -0700 (PDT) From: luishgh Date: Mon, 16 May 2022 20:45:52 -0300 Message-Id: <20220516234553.24531-2-luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220516234553.24531-1-luishenriquegh2701@gmail.com> References: <20220516234553.24531-1-luishenriquegh2701@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=luishenriquegh2701@gmail.com; helo=mail-oi1-x233.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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. --- gnu/packages/emacs-xyz.scm | 87 +++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8d66278b8f..590330ac4f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -22487,52 +22487,53 @@ (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 + ;; 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)) + ;; 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