commit: 6fa08eff8c8086742b6034cf33629a13054cd238 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Apr 21 00:24:25 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Apr 21 02:09:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa08eff
dev-ml/ocaml-doc: port to EAPI 7 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-ml/ocaml-doc/ocaml-doc-4.04.ebuild | 22 ++++++++++------------ dev-ml/ocaml-doc/ocaml-doc-4.05.ebuild | 22 ++++++++++------------ 2 files changed, 20 insertions(+), 24 deletions(-) diff --git a/dev-ml/ocaml-doc/ocaml-doc-4.04.ebuild b/dev-ml/ocaml-doc/ocaml-doc-4.04.ebuild index 46e0e0b6687..b15602118ee 100644 --- a/dev-ml/ocaml-doc/ocaml-doc-4.04.ebuild +++ b/dev-ml/ocaml-doc/ocaml-doc-4.04.ebuild @@ -1,24 +1,22 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DESCRIPTION="Ocaml reference manual (html)" -HOMEPAGE="http://caml.inria.fr/pub/docs/manual-ocaml/" -SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman-html.tar.gz" -LICENSE="GPL-2" - -KEYWORDS="amd64 ~ppc x86" +HOMEPAGE="https://caml.inria.fr/pub/docs/manual-ocaml/" +SRC_URI="https://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman-html.tar.gz" +S="${WORKDIR}"/htmlman +LICENSE="GPL-2" SLOT="0" -IUSE="" - -S=${WORKDIR}/htmlman +KEYWORDS="amd64 ~ppc x86" src_install() { - dohtml -r * + docinto html + dodoc -r * } pkg_postinst() { - elog "This manual is available online at http://caml.inria.fr/pub/docs/manual-ocaml/" + elog "This manual is available online at https://caml.inria.fr/pub/docs/manual-ocaml/" } diff --git a/dev-ml/ocaml-doc/ocaml-doc-4.05.ebuild b/dev-ml/ocaml-doc/ocaml-doc-4.05.ebuild index 198cd811e65..0cd8b61b87c 100644 --- a/dev-ml/ocaml-doc/ocaml-doc-4.05.ebuild +++ b/dev-ml/ocaml-doc/ocaml-doc-4.05.ebuild @@ -1,24 +1,22 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DESCRIPTION="Ocaml reference manual (html)" -HOMEPAGE="http://caml.inria.fr/pub/docs/manual-ocaml/" -SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman-html.tar.gz" -LICENSE="GPL-2" - -KEYWORDS="~amd64 ~ppc ~x86" +HOMEPAGE="https://caml.inria.fr/pub/docs/manual-ocaml/" +SRC_URI="https://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman-html.tar.gz" +S="${WORKDIR}"/htmlman +LICENSE="GPL-2" SLOT="0" -IUSE="" - -S=${WORKDIR}/htmlman +KEYWORDS="~amd64 ~ppc ~x86" src_install() { - dohtml -r * + docinto html + dodoc -r * } pkg_postinst() { - elog "This manual is available online at http://caml.inria.fr/pub/docs/manual-ocaml/" + elog "This manual is available online at https://caml.inria.fr/pub/docs/manual-ocaml/" }
