diff options
Diffstat (limited to 'dev-tex/hevea')
| -rw-r--r-- | dev-tex/hevea/Manifest | 3 | ||||
| -rw-r--r-- | dev-tex/hevea/hevea-2.29.ebuild | 58 | ||||
| -rw-r--r-- | dev-tex/hevea/hevea-2.30.ebuild | 58 | ||||
| -rw-r--r-- | dev-tex/hevea/hevea-2.31.ebuild | 4 | ||||
| -rw-r--r-- | dev-tex/hevea/hevea-2.35.ebuild | 67 | ||||
| -rw-r--r-- | dev-tex/hevea/metadata.xml | 3 |
6 files changed, 73 insertions, 120 deletions
diff --git a/dev-tex/hevea/Manifest b/dev-tex/hevea/Manifest index d7e742761f47..f78a06497411 100644 --- a/dev-tex/hevea/Manifest +++ b/dev-tex/hevea/Manifest @@ -1,3 +1,2 @@ -DIST hevea-2.29.tar.gz 969599 BLAKE2B 88724c0a1a139d370fa852af473e4f21f7c1f8a8ed79cf0a59fa6098d63a3956423f7b1403316aa2e296b00d77ddc529938f98476243795b6a00971532918d90 SHA512 4ea2f3d60fd43d183712a868cb3894b38f6d9809ba7905d69123a7672faba0d6dfe73ad1379d7996ede98ceb645bba903e5b7550bdf92e7950ce69ba7f4f3994 -DIST hevea-2.30.tar.gz 965635 BLAKE2B 7f23c6f793be1515b689571f0ae25d76d45c7bd8df9cc6fe1f73697b34dec598f64b0ed30e4b2cd5e456990c80ac0bba50c60e0294a825c6a0af59b228456cbd SHA512 75c700e009070bff4845ccc6f984ade8068f90ea78630a2e6ab1d27618a225a4bbbb7c4aa07c08be03094ddad4aac5d0c9e83fa01d41ff501f5c1eed9f4428eb 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.29.ebuild b/dev-tex/hevea/hevea-2.29.ebuild deleted file mode 100644 index 7921167cf68b..000000000000 --- a/dev-tex/hevea/hevea-2.29.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib - -IUSE="+ocamlopt" - -DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator" -HOMEPAGE="https://hevea.inria.fr/" -SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz" - -LICENSE="QPL" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" - -DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" -RDEPEND="${DEPEND} - dev-texlive/texlive-latexextra" -DEPEND="${DEPEND} dev-ml/ocamlbuild" - -src_compile() { - rm -f config.sh - emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh - if use ocamlopt; then - emake PREFIX=/usr - else - emake PREFIX=/usr TARGET=byte - fi -} - -src_install() { - if use ocamlopt; then - emake DESTDIR="${D}" PREFIX=/usr install - else - emake DESTDIR="${D}" PREFIX=/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 [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - fi -} - -pkg_postrm() { - if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - fi -} diff --git a/dev-tex/hevea/hevea-2.30.ebuild b/dev-tex/hevea/hevea-2.30.ebuild deleted file mode 100644 index 04bb4d075ec3..000000000000 --- a/dev-tex/hevea/hevea-2.30.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib - -IUSE="+ocamlopt" - -DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator" -HOMEPAGE="https://hevea.inria.fr/" -SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz" - -LICENSE="QPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" - -DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" -RDEPEND="${DEPEND} - dev-texlive/texlive-latexextra" -DEPEND="${DEPEND} dev-ml/ocamlbuild" - -src_compile() { - rm -f config.sh - emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh - if use ocamlopt; then - emake PREFIX=/usr - else - emake PREFIX=/usr TARGET=byte - fi -} - -src_install() { - if use ocamlopt; then - emake DESTDIR="${D}" PREFIX=/usr install - else - emake DESTDIR="${D}" PREFIX=/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 [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - fi -} - -pkg_postrm() { - if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - fi -} diff --git a/dev-tex/hevea/hevea-2.31.ebuild b/dev-tex/hevea/hevea-2.31.ebuild index 04bb4d075ec3..b66e5822f46c 100644 --- a/dev-tex/hevea/hevea-2.31.ebuild +++ b/dev-tex/hevea/hevea-2.31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz" LICENSE="QPL" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" RDEPEND="${DEPEND} diff --git a/dev-tex/hevea/hevea-2.35.ebuild b/dev-tex/hevea/hevea-2.35.ebuild new file mode 100644 index 000000000000..9698753da613 --- /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="https://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 +} diff --git a/dev-tex/hevea/metadata.xml b/dev-tex/hevea/metadata.xml index ac0a2b420201..4f3cc9691341 100644 --- a/dev-tex/hevea/metadata.xml +++ b/dev-tex/hevea/metadata.xml @@ -5,5 +5,8 @@ <email>tex@gentoo.org</email> <name>Gentoo TeX Project</name> </maintainer> + <upstream> + <remote-id type="github">maranget/hevea</remote-id> + </upstream> <origin>gentoo-staging</origin> </pkgmetadata> |
