public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/hevea/
Date: Sat, 16 Jan 2021 21:12:36 +0000 (UTC)	[thread overview]
Message-ID: <1610831550.3b341e67632441348e9f4eb2d5b82f97282e0799.sam@gentoo> (raw)

commit:     3b341e67632441348e9f4eb2d5b82f97282e0799
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 21:08:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 21:12:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b341e67

dev-tex/hevea: bump to 2.35

Closes: https://bugs.gentoo.org/750962
Closes: https://bugs.gentoo.org/750761
Closes: https://bugs.gentoo.org/734350
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-tex/hevea/Manifest          |  1 +
 dev-tex/hevea/hevea-2.35.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-tex/hevea/Manifest b/dev-tex/hevea/Manifest
index fc3d98cfcdc..f78a0649741 100644
--- a/dev-tex/hevea/Manifest
+++ b/dev-tex/hevea/Manifest
@@ -1 +1,2 @@
 DIST hevea-2.31.tar.gz 965678 BLAKE2B 770a3ff5b3e209d1e34e68647baffc064cb78f63a610e6b81181a829837861984f22e381cc17c34a3b0b4643c260a5cb84841cd8e2038e40083bba7ffbdab929 SHA512 4b66030f69b8b60750f8e62a9d81240b0ba399af8af69df10b33742e10d23fe7aef3e7782265fac9705f27715e5964debd47b9da7a394f70fda947b5fcd2d6ea
+DIST hevea-2.35.tar.gz 1006773 BLAKE2B 80a8f80955a4eee641c53784cbe4543072062d0bf4d757fe0c8270d6370d54495eeab3a9279bd992dc45b80b23de0438ee4fe6fa932981c777b25782c42ca4a8 SHA512 dc1a5179489626176b1fcae47a9c7eb4cf9c1c6127c749cb938808697ccd6179277089fb20f4d5da7b82056d15b1d64acd9ba9884d1950a74d98c98864b4180a

diff --git a/dev-tex/hevea/hevea-2.35.ebuild b/dev-tex/hevea/hevea-2.35.ebuild
new file mode 100644
index 00000000000..d5790789e79
--- /dev/null
+++ b/dev-tex/hevea/hevea-2.35.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator"
+HOMEPAGE="http://hevea.inria.fr/"
+SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz"
+
+LICENSE="QPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt=]"
+RDEPEND="
+	${DEPEND}
+	dev-texlive/texlive-latexextra
+"
+BDEPEND="dev-ml/ocamlbuild"
+
+# bug #734350
+QA_FLAGS_IGNORED=(
+	/usr/bin/bibhva
+	/usr/bin/hevea
+	/usr/bin/esponja
+	/usr/bin/hacha
+)
+
+src_compile() {
+	rm -f config.sh || die
+
+	emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh
+
+	if use ocamlopt; then
+		emake PREFIX="${EPREFIX}"/usr
+	else
+		emake PREFIX="${EPREFIX}"/usr TARGET=byte
+	fi
+}
+
+src_install() {
+	if use ocamlopt; then
+		emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+	else
+		emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr TARGET=byte install
+	fi
+
+	dodoc README CHANGES
+}
+
+# If texmf-update is present this means we have a latex install; update it so
+# that hevea.sty can be found
+# Do not (r)depend on latex though because hevea does not need it itself
+# If latex is installed later, it will see hevea.sty
+
+pkg_postinst() {
+	if [[ -z "${ROOT}" ]] && [[ -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; then
+		"${EPREFIX}"/usr/sbin/texmf-update
+	fi
+}
+
+pkg_postrm() {
+	if [[ -z "${ROOT}" ]] && [[ -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; then
+		"${EPREFIX}"/usr/sbin/texmf-update
+	fi
+}


             reply	other threads:[~2021-01-16 21:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16 21:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-19 14:12 [gentoo-commits] repo/gentoo:master commit in: dev-tex/hevea/ Florian Schmaus
2024-03-18 13:43 Florian Schmaus
2021-07-16  5:34 Sam James
2021-05-13 16:12 Ulrich Müller
2021-02-21  0:46 Sam James
2021-02-19  2:41 Sam James
2021-02-18  8:28 Sam James
2021-02-17  3:56 Sam James
2021-02-10 16:33 Sam James
2021-01-16 21:12 Sam James
2020-12-20 19:28 Sam James
2020-12-20 19:07 Thomas Deutschmann
2020-12-17 16:41 Agostino Sarubbo
2020-12-17  7:51 Sam James
2017-10-18 10:06 Alexis Ballier
2017-07-29 10:06 Alexis Ballier
2017-06-26 19:05 Alexis Ballier
2017-04-05 17:50 Markus Meier
2017-02-24 14:25 Alexis Ballier
2017-02-17 10:56 Agostino Sarubbo
2017-02-16 13:25 Agostino Sarubbo
2016-08-03 10:25 Alexis Ballier
2016-07-22  9:15 Alexis Ballier
2016-07-22  9:15 Alexis Ballier
2016-01-07  7:49 Alexis Ballier
2015-12-11 11:28 Alexis Ballier

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=1610831550.3b341e67632441348e9f4eb2d5b82f97282e0799.sam@gentoo \
    --to=sam@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