diff options
author | Sam James <sam@gentoo.org> | 2021-01-04 17:26:58 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-04 17:27:05 +0000 |
commit | 79e5248b86a0231ebb4d67fb9e939199d1b17c0b (patch) | |
tree | d4b2db2b24f80173a54781579990edaec04cbfdf /dev-ml | |
parent | dev-ml/biniou: fix SRC_URI (diff) | |
download | gentoo-79e5248b86a0231ebb4d67fb9e939199d1b17c0b.tar.gz gentoo-79e5248b86a0231ebb4d67fb9e939199d1b17c0b.tar.bz2 gentoo-79e5248b86a0231ebb4d67fb9e939199d1b17c0b.zip |
dev-ml/yojson: add missing test dependency
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/yojson/yojson-1.7.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ml/yojson/yojson-1.7.0.ebuild b/dev-ml/yojson/yojson-1.7.0.ebuild index b8701343a2de..48357a363ee7 100644 --- a/dev-ml/yojson/yojson-1.7.0.ebuild +++ b/dev-ml/yojson/yojson-1.7.0.ebuild @@ -12,14 +12,18 @@ SRC_URI="https://github.com/ocaml-community/yojson/archive/${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="examples +ocamlopt" +IUSE="examples +ocamlopt test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-lang/ocaml-4.02.3:=[ocamlopt=] dev-ml/easy-format:=[ocamlopt=] >=dev-ml/biniou-1.2:=[ocamlopt=] " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" BDEPEND=">=dev-ml/cppo-1.6.1" src_install() { |