commit: 1df68dd4ec49629302fd1ccc8593256fda1a0656 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed Jun 4 19:32:22 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Jun 4 19:42:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df68dd4
dev-ml/bin_prot: depends on all 0.17.* slot of base Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/bin_prot/bin_prot-0.17.0-r1.ebuild | 33 +++++++++++++++++++++++++++++++ dev-ml/bin_prot/bin_prot-0.17.0.ebuild | 30 ---------------------------- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/dev-ml/bin_prot/bin_prot-0.17.0-r1.ebuild b/dev-ml/bin_prot/bin_prot-0.17.0-r1.ebuild new file mode 100644 index 000000000000..d857f0fe2db9 --- /dev/null +++ b/dev-ml/bin_prot/bin_prot-0.17.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Binary protocol generator" +HOMEPAGE="https://github.com/janestreet/bin_prot" +SRC_URI="https://github.com/janestreet/bin_prot/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" +IUSE="+ocamlopt" + +# Jane Street Minor +JSM=$(ver_cut 1-2)* + +RDEPEND=" + >=dev-lang/ocaml-5 + =dev-ml/base-${JSM}:=[ocamlopt?] + =dev-ml/ppx_base-${JSM}:=[ocamlopt?] + =dev-ml/ppx_compare-${JSM}:=[ocamlopt?] + =dev-ml/ppx_custom_printf-${JSM}:=[ocamlopt?] + =dev-ml/ppx_fields_conv-${JSM}:=[ocamlopt?] + =dev-ml/ppx_optcomp-${JSM}:=[ocamlopt?] + =dev-ml/ppx_sexp_conv-${JSM}:=[ocamlopt?] + =dev-ml/ppx_stable_witness-${JSM}:=[ocamlopt?] + =dev-ml/ppx_variants_conv-${JSM}:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-ml/dune-3.11" diff --git a/dev-ml/bin_prot/bin_prot-0.17.0.ebuild b/dev-ml/bin_prot/bin_prot-0.17.0.ebuild deleted file mode 100644 index 88b96d047140..000000000000 --- a/dev-ml/bin_prot/bin_prot-0.17.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="Binary protocol generator" -HOMEPAGE="https://github.com/janestreet/bin_prot" -SRC_URI="https://github.com/janestreet/bin_prot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" -IUSE="+ocamlopt" - -RDEPEND=" - >=dev-lang/ocaml-5 - dev-ml/base:${SLOT}[ocamlopt?] - dev-ml/ppx_base:${SLOT}[ocamlopt?] - dev-ml/ppx_compare:${SLOT}[ocamlopt?] - dev-ml/ppx_custom_printf:${SLOT}[ocamlopt?] - dev-ml/ppx_fields_conv:${SLOT}[ocamlopt?] - dev-ml/ppx_optcomp:${SLOT}[ocamlopt?] - dev-ml/ppx_sexp_conv:${SLOT}[ocamlopt?] - dev-ml/ppx_stable_witness:${SLOT}[ocamlopt?] - dev-ml/ppx_variants_conv:${SLOT}[ocamlopt?] -" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-ml/dune-3.11"
