Сравнение opam-installer-2.0.10-r1 с opam-installer-2.1.2-r1

/usr/portage/dev-ml/opam-installer/opam-installer-2.1.2-r1.ebuild 2023-10-09 14:52:29.800368358 +0300
6 6
# We are opam
7 7
OPAM_INSTALLER_DEP=" "
8 8
OPAM_SKIP_VALIDATION=yes
9
inherit opam
9
inherit dune
10 10

  
11 11
DESCRIPTION="Core installer for opam packages"
12 12
HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
13 13
SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz"
14
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
14 15
S="${WORKDIR}/opam-full-${PV/_/-}"
15
OPAM_INSTALLER="${S}/opam-installer"
16
OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
16 17

  
17 18
LICENSE="LGPL-2.1"
18 19
SLOT="0/${PV}"
19
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
20
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
21
IUSE="+ocamlopt"
20 22

  
21
# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
22
PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
23
PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )
23 24

  
24 25
RDEPEND="
25 26
	>=dev-lang/ocaml-4.02.3:=
......
37 38
		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
38 39
		--mandir="${EPREFIX}/usr/share/man"
39 40
}
40

  
41
src_compile() {
42
	sed -e 's/DUNE = .*$/DUNE = /' -i Makefile.config
43
	#passing -jX to the dune build leads to errors
44
	#see: https://github.com/ocaml/opam/issues/3585
45
	emake DUNE_PROMOTE_ARG="" -j1
46
}
Спасибо!