git: 41d012f83efa - main - math/ess: Update to 26.05.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Sep 2026 05:59:23 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41d012f83efae8146756f98b45ade508d12d54e1
commit 41d012f83efae8146756f98b45ade508d12d54e1
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2026-09-09 05:38:51 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2026-09-09 05:56:33 +0000
math/ess: Update to 26.05.0
- Licensed under GPL 3.0 for some time now
- Remove obsolete CONFLICTS_INSTALL=ess-emacs_*
- Jags mode has been moved to obsolete
- Add test target
Changelog: https://github.com/emacs-ess/ESS/blob/master/ChangeLog
Reported by: portscout, Repology
---
math/ess/Makefile | 25 +++++++++++++++++++++----
math/ess/distinfo | 6 +++---
math/ess/files/patch-lisp_ess-site.el | 11 +++++++++++
math/ess/files/patch-test_ess-test.el | 13 +++++++++++++
math/ess/pkg-plist | 1 -
5 files changed, 48 insertions(+), 8 deletions(-)
diff --git a/math/ess/Makefile b/math/ess/Makefile
index bd538e7f4212..cf5f25bfda4c 100644
--- a/math/ess/Makefile
+++ b/math/ess/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ess
-DISTVERSION= 26.01.0
-PORTREVISION= 1
+DISTVERSION= 26.05.0
CATEGORIES= math
MASTER_SITES= https://ess.r-project.org/ \
https://stat.ethz.ch/ESS/downloads/ess/ \
@@ -15,15 +14,16 @@ MAINTAINER= rhurlin@FreeBSD.org
COMMENT= R support for Emacsen
WWW= https://ess.r-project.org/
-LICENSE= GPLv2+
+LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= R:math/R
+TEST_DEPENDS= R:math/R
USES= emacs:build gmake makeinfo perl5 tar:tgz
USE_PERL5= build
-CONFLICTS_INSTALL= ess-emacs_*
+TEST_TARGET= test
NO_ARCH= yes
@@ -69,4 +69,21 @@ post-install:
${CP} -R ${WRKSRC}/etc/icons \
${STAGEDIR}${PREFIX}/${EMACS_LIBDIR}/etc/ess/
+do-test:
+ # 1. By recompiling, bypass the warning that the Lisp
+ # .elc files are older than the .el files
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} lisp
+ # 2. By ommitting the interactive test suites, the basic
+ # functionality of the ESS code (syntax, tokens,
+ # documentation) can be validated, while the error-prone,
+ # asynchronous terminal and shell dependencies do not
+ # block the test target
+ @${TRUE} > ${WRKSRC}/test/ess-test-r.el
+ @${TRUE} > ${WRKSRC}/test/ess-test-r-eval.el
+ @${TRUE} > ${WRKSRC}/test/ess-test-r-package.el
+ @${TRUE} > ${WRKSRC}/test/ess-test-r-edit.el
+ # 3. Run tests
+ @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} \
+ emacs --script test/run-tests --ess --org --r-core --r-indent --r-pkg
+
.include <bsd.port.mk>
diff --git a/math/ess/distinfo b/math/ess/distinfo
index 7e8a7ad3bc08..67e145c2570c 100644
--- a/math/ess/distinfo
+++ b/math/ess/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1774114792
-SHA256 (ess-26.01.0.tar.gz) = d6c73aba05c4ea4aa59359553bb95cdad0da6fce33f6ed1b6439c3a2388e0d15
-SIZE (ess-26.01.0.tar.gz) = 696242
+TIMESTAMP = 1782402418
+SHA256 (ess-26.05.0.tar.gz) = 4737b60ea4ae83d7e7b02248bd0b829ba88f690b6ea0616fbe3e27d48ed17c70
+SIZE (ess-26.05.0.tar.gz) = 802751
SHA256 (julia-emacs/refs/heads/master/julia-mode.el) = 301b0f55d77046b617fd67498169bdf8565c5a8d7666c99346473d102f61fcab
SIZE (julia-emacs/refs/heads/master/julia-mode.el) = 44716
SHA256 (julia-emacs/refs/heads/master/julia-mode-latexsubs.el) = 8df3be3fe0e262feba2193372d396c30e0632596521ff6bed2f06eb2c6fc9583
diff --git a/math/ess/files/patch-lisp_ess-site.el b/math/ess/files/patch-lisp_ess-site.el
new file mode 100644
index 000000000000..c92a031b94bf
--- /dev/null
+++ b/math/ess/files/patch-lisp_ess-site.el
@@ -0,0 +1,11 @@
+--- lisp/ess-site.el.orig 2026-05-26 14:29:02 UTC
++++ lisp/ess-site.el
+@@ -57,7 +57,7 @@
+ (require 'essd-els) ;; ess-remote
+ (require 'ess-sas-d)
+ (require 'ess-bugs-d)
+-(require 'ess-jags-d)
++;;(require 'ess-jags-d) ; -> in ./obsolete/ since 2026-03-23, commit c3960e0
+ (require 'ess-toolbar)
+
+ (provide 'ess-site)
diff --git a/math/ess/files/patch-test_ess-test.el b/math/ess/files/patch-test_ess-test.el
new file mode 100644
index 000000000000..085cb6aab3be
--- /dev/null
+++ b/math/ess/files/patch-test_ess-test.el
@@ -0,0 +1,13 @@
+--- test/ess-test.el.orig 2026-05-26 14:29:02 UTC
++++ test/ess-test.el
+@@ -36,8 +36,8 @@
+ (ert-deftest R-mode ()
+ (should (string= 'ess-r-mode (with-temp-buffer (R-mode) major-mode))))
+
+-(ert-deftest ess-jags-mode ()
+- (should (string= 'ess-jags-mode (with-temp-buffer (ess-jags-mode) major-mode))))
++;;(ert-deftest ess-jags-mode ()
++;; (should (string= 'ess-jags-mode (with-temp-buffer (ess-jags-mode) major-mode))))
+
+ (ert-deftest ess-bugs-mode ()
+ (should (string= 'ess-bugs-mode (with-temp-buffer (ess-bugs-mode) major-mode))))
diff --git a/math/ess/pkg-plist b/math/ess/pkg-plist
index d28b2ba57623..5cc8e614513e 100644
--- a/math/ess/pkg-plist
+++ b/math/ess/pkg-plist
@@ -37,7 +37,6 @@
%%EMACS_SITE_LISPDIR%%/ess/ess-gretl.el
%%EMACS_SITE_LISPDIR%%/ess/ess-help.el
%%EMACS_SITE_LISPDIR%%/ess/ess-inf.el
-%%EMACS_SITE_LISPDIR%%/ess/ess-jags-d.el
%%EMACS_SITE_LISPDIR%%/ess/ess-julia.el
%%EMACS_SITE_LISPDIR%%/ess/ess-mode.el
%%EMACS_SITE_LISPDIR%%/ess/ess-r-completion.el