commit:     00fc40c89c0e988473bb619dacb6fadf78f4d931
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 01:40:46 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 02:02:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00fc40c8

app-emacs/ess: bump to 25.01.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/ess/Manifest           |  1 +
 app-emacs/ess/ess-25.01.0.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/app-emacs/ess/Manifest b/app-emacs/ess/Manifest
index d0e01cf8ce71..5b44aa00fa48 100644
--- a/app-emacs/ess/Manifest
+++ b/app-emacs/ess/Manifest
@@ -1 +1,2 @@
 DIST ess-24.01.1.tar.gz 681901 BLAKE2B 
892e60f33252f0dca979eb52cdc2eca7a79bad247037f599b6e640b02930019523ad276f764af281bc232040c34fb05ac884f1915940b09c3e89d2394f6887f8
 SHA512 
3ff7084f1182bad30771e264e491c7ab1b2501d4d6558ed6c4acb98aec6abed3c45c2049cf565164406611b1e8a5b92485b15da1c1696694454c5f65a8617191
+DIST ess-25.01.0.tar.gz 691573 BLAKE2B 
de6b40149bbf3d47cba32d03c486ee08153719902d04ed35df49c17c8415f34c6272e66f4c66cc144e798c2d838589a1c476d13679190437855b0f7ab5000e24
 SHA512 
93339ac72220c8aa4cadb4c0e03fa4eb8fc095d84dd5cc27dbc9bc7d3682d9676c9ba05e8568cd3ffdbcdf7c789706413b7f487993e63b2e160c7ea3b4673eb9

diff --git a/app-emacs/ess/ess-25.01.0.ebuild b/app-emacs/ess/ess-25.01.0.ebuild
new file mode 100644
index 000000000000..1e4c7dc7204d
--- /dev/null
+++ b/app-emacs/ess/ess-25.01.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Emacs Speaks Statistics"
+HOMEPAGE="https://ess.r-project.org/
+       https://github.com/emacs-ess/ESS/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/emacs-ess/${PN^^}.git";
+else
+       
SRC_URI="https://github.com/emacs-ess/${PN^^}/archive/refs/tags/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+       S="${WORKDIR}/${PN^^}-${PV}"
+
+       KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
+SLOT="0"
+IUSE="doc"
+
+BDEPEND="
+       doc? (
+               app-text/texi2html
+               dev-texlive/texlive-fontsextra
+               dev-texlive/texlive-latex
+               dev-texlive/texlive-latexextra
+               dev-texlive/texlive-mathscience
+               dev-texlive/texlive-plaingeneric
+               virtual/latex-base
+       )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+       elisp_src_prepare
+
+       sed -e "s|font-lock-reference-face|font-lock-constant-face|g" \
+               -i lisp/*.el || die
+}
+
+src_compile() {
+       local -x BYTECOMPFLAGS="-L lisp -L lisp/obsolete"
+
+       elisp-compile lisp/*.el lisp/obsolete/*.el
+       emake autoloads
+       emake -C doc all
+       use doc && emake -C doc html pdf
+}
+
+src_test() {
+       elisp-test-ert . -L lisp -L test -l test/ess-test.el
+}
+
+src_install() {
+       # Version >=18 doesn't install *.el files any more #685978
+       elisp-install "${PN}" lisp/*.{el,elc} lisp/obsolete/*.{el,elc}
+       elisp-make-site-file "${SITEFILE}" "${PN}" "(load \"ess-autoloads\" nil 
t)"
+
+       insinto "${SITEETC}/${PN}"
+       doins -r etc/*
+
+       doinfo ./doc/info/ess.info
+
+       local DOC_CONTENTS="\
+               Please see /usr/share/doc/${PF} for the complete documentation."
+       readme.gentoo_create_doc
+
+       dodoc ChangeLog NEWS ONEWS README
+       if use doc; then
+               dodoc doc/{ess,readme}.pdf
+               docinto html
+               dodoc doc/html/{ess,news,readme}.html
+       fi
+}

Reply via email to