From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gDZxHuzSUl/uWgAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 23:51:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oERqGuzSUl86DAAA1q6Kng (envelope-from ) for ; Fri, 04 Sep 2020 23:51:08 +0000 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 E7C1794071A for ; Fri, 4 Sep 2020 23:51:07 +0000 (UTC) Received: from localhost ([::1]:38140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kELU1-0002qq-TK for larch@yhetil.org; Fri, 04 Sep 2020 19:51:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kELTy-0002qi-Ra for guix-patches@gnu.org; Fri, 04 Sep 2020 19:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kELTy-0008Gn-Hk for guix-patches@gnu.org; Fri, 04 Sep 2020 19:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kELTy-0004p8-Go for guix-patches@gnu.org; Fri, 04 Sep 2020 19:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43208] [PATCH] gnu: emacs-ess: Update to 20200903.1516. Resent-From: Tim Howes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Sep 2020 23:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43208@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159926343818510 (code B ref -1); Fri, 04 Sep 2020 23:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2020 23:50:38 +0000 Received: from localhost ([127.0.0.1]:41030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kELTa-0004oT-Ca for submit@debbugs.gnu.org; Fri, 04 Sep 2020 19:50:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:46028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kELTY-0004oM-IP for submit@debbugs.gnu.org; Fri, 04 Sep 2020 19:50:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kELTY-0002kU-9o for guix-patches@gnu.org; Fri, 04 Sep 2020 19:50:36 -0400 Received: from lavabit.com ([76.8.29.66]:40682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kELTW-0008BW-5i for guix-patches@gnu.org; Fri, 04 Sep 2020 19:50:36 -0400 Received: from localhost.localdomain (158-51-80-100.pool.common.net [158.51.80.100]) by lavabit.com with ESMTP id I7A7U9GV56P2 for ; Fri, 04 Sep 2020 18:50:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lavabit.com; s=bazinga; t=1599263431; bh=yhw3zGUO1DV6FVV6wwIw+liMrG2yuF0qqiD+YtX4DvQ=; h=From:To:Subject:Date:Message-Id:X-Mailer:MIME-Version: Content-Transfer-Encoding; b=WYHDBznJG/npUXU5FmP88QfrvERFvtOKNefH+G/Z43V9P8RbaSEGmw5nGOhN7gZeF 5sCoFJScAhxs6MQbpdwL8UOMdoVCTcIm54c+n7XEHttMGBpwcel/Trp8XQUDAR+zS1 ojX1/4ypp04HregExWk+bxGIog0J7NxOYTcIg11eVdDFHYAejOImMoyQjlMhDM4U8Q dYiPwTkV6AOuHeMAmPlW1ao8hWreDNc5ybYK2RjGMqDHVq+hKvKU7xJubtX7U1XrB6 g4hftZXz65FneYPhxmun0XtGS9uZm0Ur4lzUV5zD49B3LcU8VUH+6bjsPdmqPop/8/ UXsI6ss5O0E5w== Date: Fri, 4 Sep 2020 16:50:23 -0700 Message-Id: <20200904235023.11193-1-timhowes@lavabit.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=76.8.29.66; envelope-from=timhowes@lavabit.com; helo=lavabit.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/04 19:50:32 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) 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" Reply-to: Tim Howes , Tim Howes via Guix-patches From: Tim Howes via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=lavabit.com header.s=bazinga header.b=WYHDBznJ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: l1zniD26TvDu * gnu/packages/statistics.scm (emacs-ess): Update to 20200903.1516. [version]: Use latest commit, assign version based on commit date. [source]: Fix snippet for removing julia-mode. Remove snippet to modify roxy-preview-Rd-test. Add snippet to modify r-help-mode test. Add snippet to fix install target to install files to correct directories. [arguments]: Add flag to specify INFODIR. Remove patch modifying SHELL. --- This updates emacs-ess to the current version on github and resolves bugs #43093 and #42259. gnu/packages/statistics.scm | 43 ++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c1cefa8c41..aa14e2887f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -5805,29 +5805,24 @@ Java package that provides routines for various statistical distributions.") (define-public emacs-ess (package (name "emacs-ess") - (version "18.10.2") + ;; Use version number based on commit date and time (UTC), similar to melpa. + (version "20200903.1516") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/emacs-ess/ESS") - (commit (string-append "v" version)))) + (commit "09c1adecf8406d85426d14e5efe2aaba6c59f224"))) (sha256 (base32 - "1yq41l2bicwjrc0b731iic20cpcnz6ppigri1jn621qv2qv22vy3")) + "0hl8nhf8w3rfpfqb2bfzcbh4lpsk51p83w2j5fc2knd4da4sb1s5")) (file-name (git-file-name name version)) (modules '((guix build utils))) (snippet '(begin ;; Stop ESS from trying to bundle an external julia-mode.el. (substitute* "lisp/Makefile" - (("^ess-julia.elc: julia-mode.elc") "") - (("^all: julia-mode.el") - "all:")) - ;; Include *.el files in install target. - (substitute* "lisp/Makefile" - (("\t\\$\\(INSTALL) \\$\\(ELC\\) \\$\\(LISPDIR\\)" elc) - (string-append "\t$(INSTALL) $(ELS) ess-autoloads.el " - "$(LISPDIR)\n" elc))) + ((" \\$\\(JULIAS)") "") + (("\ttest.*julia-mode.*\\.el") "")) ;; Only build docs in info format. (substitute* "doc/Makefile" (("all : info text") @@ -5836,12 +5831,16 @@ Java package that provides routines for various statistical distributions.") "install: install-info")) ;; Stop install-info from trying to update the info directory. (substitute* "doc/Makefile" - ((".*\\$\\(INFODIR\\)/dir.*") "")) - ;; Fix roxygen preview test. - (substitute* "test/ess-r-tests.el" - (("Add together two numbers.\n") - "Add together two numbers. ") - (("##' add\\(10, 1\\)") "add(10, 1)")) + ((".*/dir.*") "")) + ;; Fix r-help-mode test. + (substitute* "test/ess-test-r.el" + (("\\(equal ess-help-object \"plot.default\")") "t")) + ;; Install to correct directories. + (substitute* "Makefile" + (("mkdir -p \\$\\(ESSDESTDIR)") + "$(MAKE) -C lisp install; $(MAKE) -C doc install") + (("\\$\\(INSTALL) -R \\./\\* \\$\\(ESSDESTDIR)/") + "$(MAKE) -C etc install")) #t)))) (build-system gnu-build-system) (arguments @@ -5850,16 +5849,12 @@ Java package that provides routines for various statistical distributions.") (string-append "ETCDIR=" %output ,base-directory "/etc") (string-append "LISPDIR=" %output - ,base-directory)) + ,base-directory) + (string-append "INFODIR=" %output + "/share/info")) #:phases (modify-phases %standard-phases (delete 'configure) - (add-before 'build 'more-shebang-patching - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "Makeconf" - (("SHELL = /bin/sh") - (string-append "SHELL = " (which "sh")))) - #t)) (replace 'check (lambda _ (invoke "make" "test"))))))) -- 2.28.0