From 83481d3da17523070d3cd71bfc88c327ca6e1cac Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 21 Feb 2021 09:48:06 +0000 Subject: dev-ml/fmt: add stdlib-shims dep Closes: https://bugs.gentoo.org/771846 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- dev-ml/fmt/fmt-0.8.9-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ dev-ml/fmt/fmt-0.8.9.ebuild | 35 ----------------------------------- 2 files changed, 38 insertions(+), 35 deletions(-) create mode 100644 dev-ml/fmt/fmt-0.8.9-r1.ebuild delete mode 100644 dev-ml/fmt/fmt-0.8.9.ebuild diff --git a/dev-ml/fmt/fmt-0.8.9-r1.ebuild b/dev-ml/fmt/fmt-0.8.9-r1.ebuild new file mode 100644 index 000000000000..426f1c5a7189 --- /dev/null +++ b/dev-ml/fmt/fmt-0.8.9-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib opam + +DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions" +HOMEPAGE="https://erratique.ch/software/fmt https://github.com/dbuenzli/fmt" +SRC_URI="https://erratique.ch/software/fmt/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/cmdliner:=[ocamlopt] + dev-lang/ocaml:=[ocamlopt] + dev-ml/result:=[ocamlopt] + dev-ml/stdlib-shims:=[ocamlopt] + dev-ml/uchar:=[ocamlopt] +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-ml/topkg-0.9 + dev-ml/ocamlbuild + dev-ml/findlib +" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} diff --git a/dev-ml/fmt/fmt-0.8.9.ebuild b/dev-ml/fmt/fmt-0.8.9.ebuild deleted file mode 100644 index ecbc21fb3ae2..000000000000 --- a/dev-ml/fmt/fmt-0.8.9.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit findlib opam - -DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions" -HOMEPAGE="https://erratique.ch/software/fmt https://github.com/dbuenzli/fmt" -SRC_URI="https://erratique.ch/software/fmt/releases/${P}.tbz" - -LICENSE="ISC" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-ml/result:=[ocamlopt] - dev-lang/ocaml:=[ocamlopt] - dev-ml/uchar:=[ocamlopt] - dev-ml/cmdliner:=[ocamlopt]" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-ml/topkg-0.9 - dev-ml/ocamlbuild - dev-ml/findlib -" - -src_compile() { - ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die -} - -src_test() { - ocaml pkg/pkg.ml test || die -} -- cgit v1.2.3-65-gdbad