Diff opam-format-2.0.10 with a opam-format-2.1.2-r1
/usr/portage/dev-ml/opam-format/opam-format-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 |
... | ... | |
10 | 10 |
DESCRIPTION="Core libraries for opam" |
11 | 11 |
HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" |
12 | 12 |
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" |
13 |
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" |
|
13 | 14 |
S="${WORKDIR}/opam-${PV}" |
14 | 15 |
OPAM_INSTALLER="${S}/opam-installer" |
15 | 16 | |
16 | 17 |
LICENSE="LGPL-2.1" |
17 | 18 |
SLOT="0/${PV}" |
18 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
|
19 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
19 | 20 |
IUSE="+ocamlopt test" |
20 | 21 |
RESTRICT="!test? ( test )" |
21 | 22 | |
... | ... | |
24 | 25 |
dev-ml/re:= |
25 | 26 |
dev-ml/opam-file-format:= |
26 | 27 |
>=dev-ml/dose3-6.0:= |
28 |
dev-ml/mccs:= |
|
27 | 29 |
" |
28 | 30 |
DEPEND="${RDEPEND} |
29 | 31 |
dev-ml/cppo" |
30 | 32 |
BDEPEND="test? ( |
31 | 33 |
sys-apps/bubblewrap |
32 |
dev-ml/mccs |
|
33 | 34 |
)" |
34 | 35 | |
35 |
# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz |
|
36 |
PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" ) |
|
36 |
PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) |
|
37 | 37 | |
38 | 38 |
src_prepare() { |
39 | 39 |
default |
... | ... | |
44 | 44 |
(release |
45 | 45 |
(flags (:standard -warn-error -3-9-33)))) |
46 | 46 |
EOF |
47 |
sed -i \ |
|
48 |
-e '/wrap-build-commands/d' \ |
|
49 |
-e '/wrap-install-commands/d' \ |
|
50 |
-e '/wrap-remove-commands/d' \ |
|
51 |
tests/reftests/opamroot-versions.test \ |
|
52 |
|| die |
|
47 | 53 |
} |