From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ess/
Date: Tue, 19 Nov 2024 16:10:33 +0000 (UTC) [thread overview]
Message-ID: <1732032479.51fa9a67edbc27e2e8e8b57926a9eabfc271baa2.ulm@gentoo> (raw)
commit: 51fa9a67edbc27e2e8e8b57926a9eabfc271baa2
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 16:07:59 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 16:07:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51fa9a67
app-emacs/ess: Make pdf and html docs use-conditional
Suggested-by: Hans de Graaff <graaff <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/ess/ess-24.01.1-r1.ebuild | 81 +++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/app-emacs/ess/ess-24.01.1-r1.ebuild b/app-emacs/ess/ess-24.01.1-r1.ebuild
new file mode 100644
index 000000000000..04e8ad38343b
--- /dev/null
+++ b/app-emacs/ess/ess-24.01.1-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 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
+}
next reply other threads:[~2024-11-19 16:10 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 16:10 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-19 7:32 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ess/ Arthur Zamarin
2025-01-11 2:02 Maciej Barć
2025-01-11 2:02 Maciej Barć
2024-12-20 15:43 Sam James
2024-05-14 22:21 Maciej Barć
2024-03-13 12:05 Arthur Zamarin
2024-03-08 10:01 Sam James
2024-02-07 22:21 Maciej Barć
2024-02-06 15:03 Maciej Barć
2024-02-06 14:29 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-02-03 13:00 Maciej Barć
2024-01-23 4:23 Sam James
2023-10-05 7:52 Ulrich Müller
2023-10-05 7:47 Ulrich Müller
2023-10-05 7:21 Ulrich Müller
2022-04-09 9:04 Ulrich Müller
2021-05-15 21:02 Ulrich Müller
2021-01-06 13:07 Fabian Groffen
2019-06-27 7:26 Sergei Trofimovich
2019-06-26 6:50 Agostino Sarubbo
2019-06-25 8:34 Agostino Sarubbo
2019-05-26 9:33 Ulrich Müller
2019-05-19 20:31 Mikle Kolyada
2019-05-15 9:09 Ulrich Müller
2019-05-13 20:41 Ulrich Müller
2019-05-13 20:41 Ulrich Müller
2019-05-13 20:41 Ulrich Müller
2017-12-08 9:16 Ulrich Müller
2017-12-04 19:29 Ulrich Müller
2017-12-04 19:29 Ulrich Müller
2016-06-19 23:19 Benda XU
2016-06-09 20:34 Ulrich Müller
2016-05-13 8:41 Agostino Sarubbo
2016-05-06 13:27 Ulrich Müller
2016-02-01 9:49 Ulrich Müller
2015-10-11 18:08 Ulrich Müller
2015-10-11 18:08 Ulrich Müller
2015-08-10 23:49 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732032479.51fa9a67edbc27e2e8e8b57926a9eabfc271baa2.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox