Diff ppx_bin_prot-0.14.0 with a ppx_bin_prot-0.15.0-r1

/usr/portage/dev-ml/ppx_bin_prot/ppx_bin_prot-0.15.0-r1.ebuild 2023-10-09 14:52:29.800368358 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit dune
7 7

  
......
10 10
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12 12
LICENSE="Apache-2.0"
13
SLOT="0/${PV}"
13
SLOT="0/$(ver_cut 1-2)"
14 14
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
15 15
IUSE="+ocamlopt test"
16 16
RESTRICT="!test? ( test )"
17 17

  
18 18
RDEPEND="
19
	>=dev-ml/base-0.14.0:=
20
	dev-ml/findlib:=
21
	>=dev-ml/bin_prot-0.14.0:=
22
	>=dev-ml/ppx_here-0.14.0:=
23
	>=dev-ml/ppxlib-0.18.0:=
24
	>=dev-ml/ocaml-migrate-parsetree-2.0.0:=
25
	dev-ml/cinaps:=
26
	dev-ml/sexplib0:=
27
	"
19
	dev-ml/bin_prot:${SLOT}
20
	dev-ml/ppx_here:${SLOT}
21
	>=dev-ml/ppxlib-0.23.0:=
22
"
28 23
DEPEND="${RDEPEND}
29 24
	test? (
30 25
		dev-ml/ppx_jane
31
		dev-ml/core
32
		dev-ml/ounit2
33
		dev-ml/core_bench
34 26
	)"
35

  
36
src_prepare() {
37
	sed -i \
38
		-e "s:oUnit:ounit2:" \
39
		test/dune \
40
		|| die
41
	default
42
}
Thank you!