Diff opam-client-2.0.10 with a opam-client-2.1.2
/usr/portage/dev-ml/opam-client/opam-client-2.1.2.ebuild 2023-10-09 14:52:29.796368358 +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="opam client libraries" |
9 | 9 |
HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" |
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" |
14 | 15 |
SLOT="0/${PV}" |
15 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
|
16 |
IUSE="+ocamlopt" |
|
16 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
17 |
IUSE="+ocamlopt test" |
|
18 |
RESTRICT="!test? ( test )" |
|
17 | 19 | |
18 | 20 |
RDEPEND=" |
19 | 21 |
dev-ml/cmdliner:= |
... | ... | |
24 | 26 |
dev-ml/re:= |
25 | 27 |
" |
26 | 28 |
DEPEND="${RDEPEND}" |
29 |
BDEPEND="test? ( sys-apps/bubblewrap )" |
|
27 | 30 | |
28 |
# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz |
|
29 |
PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" ) |
|
31 |
PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) |
|
30 | 32 | |
31 | 33 |
src_prepare() { |
32 | 34 |
default |