summaryrefslogtreecommitdiff
path: root/dev-ml/opam-format/opam-format-2.0.9.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/opam-format/opam-format-2.0.9.ebuild')
-rw-r--r--dev-ml/opam-format/opam-format-2.0.9.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-ml/opam-format/opam-format-2.0.9.ebuild b/dev-ml/opam-format/opam-format-2.0.9.ebuild
index ace83b9a6ae8..db8f781018d3 100644
--- a/dev-ml/opam-format/opam-format-2.0.9.ebuild
+++ b/dev-ml/opam-format/opam-format-2.0.9.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
@@ -15,8 +15,9 @@ OPAM_INSTALLER="${S}/opam-installer"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+ocamlopt"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
RDEPEND="
~dev-ml/opam-core-${PV}:=
@@ -26,6 +27,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-ml/cppo"
+BDEPEND="test? (
+ sys-apps/bubblewrap
+ dev-ml/mccs
+)"
# 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" )