summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-07-07 19:48:34 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-07-07 19:48:34 +0200
commit37d79b3b831b98ff4472d3f9e801eef1a445e24b (patch)
tree1df8e23c7e49003e388c4834689e4b3137437bbb /dev-ml/opam
parentdev-ml/ocamlbuild: add missing findlib test dep, bug #624150 (diff)
downloadgentoo-37d79b3b831b98ff4472d3f9e801eef1a445e24b.tar.gz
gentoo-37d79b3b831b98ff4472d3f9e801eef1a445e24b.tar.bz2
gentoo-37d79b3b831b98ff4472d3f9e801eef1a445e24b.zip
dev-ml/opam: fix depend/rdepend inversion and add missing test deps, bug #624148
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/opam')
-rw-r--r--dev-ml/opam/opam-1.3.1-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-ml/opam/opam-1.3.1-r1.ebuild b/dev-ml/opam/opam-1.3.1-r1.ebuild
index 43ce6edcd4c7..48542a6757f0 100644
--- a/dev-ml/opam/opam-1.3.1-r1.ebuild
+++ b/dev-ml/opam/opam-1.3.1-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://opam.ocaml.org/"
LICENSE="LGPL-3-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
-IUSE=""
+IUSE="test"
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -19,7 +19,7 @@ else
EGIT_REPO_URI="https://github.com/ocaml/opam.git"
fi
-DEPEND="dev-lang/ocaml:=
+RDEPEND="dev-lang/ocaml:=
|| ( net-misc/wget net-misc/curl )
dev-ml/extlib:=
dev-ml/ocaml-re:=
@@ -30,8 +30,9 @@ DEPEND="dev-lang/ocaml:=
dev-ml/uutf:=
dev-ml/jsonm:=
"
-RDEPEND="${DEPEND}
+DEPEND="${RDEPEND}
dev-ml/findlib
+ test? ( dev-vcs/git )
"
src_prepare() {