commit: 3505e3aba55b178b2a7728c4485ff2a55b778c59 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jan 15 21:38:31 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jan 15 21:38:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3505e3ab
dev-ml/opam-client: fix test DEPS Closes: https://bugs.gentoo.org/816153 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/opam-client/opam-client-2.0.8-r1.ebuild | 6 ++++-- dev-ml/opam-client/opam-client-2.0.8.ebuild | 6 ++++-- dev-ml/opam-client/opam-client-2.0.9.ebuild | 4 +++- dev-ml/opam-client/opam-client-2.1.0.ebuild | 6 ++++-- dev-ml/opam-client/opam-client-2.1.1.ebuild | 6 ++++-- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/dev-ml/opam-client/opam-client-2.0.8-r1.ebuild b/dev-ml/opam-client/opam-client-2.0.8-r1.ebuild index 4598fcdb54ca..512c9e00182b 100644 --- a/dev-ml/opam-client/opam-client-2.0.8-r1.ebuild +++ b/dev-ml/opam-client/opam-client-2.0.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,8 @@ S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ppc ppc64 x86" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" dev-ml/cmdliner:= @@ -24,6 +25,7 @@ RDEPEND=" dev-ml/re:= " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/bubblewrap )" # Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" ) diff --git a/dev-ml/opam-client/opam-client-2.0.8.ebuild b/dev-ml/opam-client/opam-client-2.0.8.ebuild index 3a2775f3db09..4139c6877486 100644 --- a/dev-ml/opam-client/opam-client-2.0.8.ebuild +++ b/dev-ml/opam-client/opam-client-2.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,8 @@ S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ppc ppc64 x86" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" <dev-lang/ocaml-4.12 @@ -25,6 +26,7 @@ RDEPEND=" dev-ml/re:= " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/bubblewrap )" src_prepare() { default diff --git a/dev-ml/opam-client/opam-client-2.0.9.ebuild b/dev-ml/opam-client/opam-client-2.0.9.ebuild index 86cf70ebe60a..78a0dd5cda78 100644 --- a/dev-ml/opam-client/opam-client-2.0.9.ebuild +++ b/dev-ml/opam-client/opam-client-2.0.9.ebuild @@ -13,7 +13,8 @@ S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ppc ppc64 ~x86" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" dev-ml/cmdliner:= @@ -24,6 +25,7 @@ RDEPEND=" dev-ml/re:= " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/bubblewrap )" # Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" ) diff --git a/dev-ml/opam-client/opam-client-2.1.0.ebuild b/dev-ml/opam-client/opam-client-2.1.0.ebuild index b03d1b117962..e27961dead03 100644 --- a/dev-ml/opam-client/opam-client-2.1.0.ebuild +++ b/dev-ml/opam-client/opam-client-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,8 @@ S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" dev-ml/cmdliner:= @@ -25,6 +26,7 @@ RDEPEND=" dev-ml/re:= " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/bubblewrap )" PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) diff --git a/dev-ml/opam-client/opam-client-2.1.1.ebuild b/dev-ml/opam-client/opam-client-2.1.1.ebuild index b03d1b117962..e27961dead03 100644 --- a/dev-ml/opam-client/opam-client-2.1.1.ebuild +++ b/dev-ml/opam-client/opam-client-2.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,8 @@ S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" dev-ml/cmdliner:= @@ -25,6 +26,7 @@ RDEPEND=" dev-ml/re:= " DEPEND="${RDEPEND}" +BDEPEND="test? ( sys-apps/bubblewrap )" PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )