Diff opam-2.0.10-r1 with a opam-2.1.2-r1

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

  
4 4
EAPI=7
......
8 8
DESCRIPTION="A source-based package manager for OCaml"
9 9
HOMEPAGE="http://opam.ocaml.org/"
10 10
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
11
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
11 12
S="${WORKDIR}/opam-${PV/_/-}"
12 13

  
13 14
LICENSE="LGPL-2.1-with-linking-exception"
14 15
SLOT="0/${PV}"
15
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
16
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
16 17
IUSE="+ocamlopt"
18
RESTRICT="test" #see bugs 838658
17 19

  
18 20
RDEPEND="
19 21
	dev-ml/cmdliner:=
......
26 28
	dev-ml/re:="
27 29
DEPEND="${RDEPEND}"
28 30

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

  
32 33
src_prepare() {
33 34
	default
Thank you!