1 |
commit: 37d79b3b831b98ff4472d3f9e801eef1a445e24b |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 17:48:34 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 17:48:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d79b3b |
7 |
|
8 |
dev-ml/opam: fix depend/rdepend inversion and add missing test deps, bug #624148 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/opam/opam-1.3.1-r1.ebuild | 7 ++++--- |
13 |
1 file changed, 4 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/opam/opam-1.3.1-r1.ebuild b/dev-ml/opam/opam-1.3.1-r1.ebuild |
16 |
index 43ce6edcd4c..48542a6757f 100644 |
17 |
--- a/dev-ml/opam/opam-1.3.1-r1.ebuild |
18 |
+++ b/dev-ml/opam/opam-1.3.1-r1.ebuild |
19 |
@@ -10,7 +10,7 @@ HOMEPAGE="http://opam.ocaml.org/" |
20 |
LICENSE="LGPL-3-with-linking-exception" |
21 |
SLOT="0/${PV}" |
22 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc" |
23 |
-IUSE="" |
24 |
+IUSE="test" |
25 |
|
26 |
if [[ ${PV} != 9999 ]]; then |
27 |
SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
28 |
@@ -19,7 +19,7 @@ else |
29 |
EGIT_REPO_URI="https://github.com/ocaml/opam.git" |
30 |
fi |
31 |
|
32 |
-DEPEND="dev-lang/ocaml:= |
33 |
+RDEPEND="dev-lang/ocaml:= |
34 |
|| ( net-misc/wget net-misc/curl ) |
35 |
dev-ml/extlib:= |
36 |
dev-ml/ocaml-re:= |
37 |
@@ -30,8 +30,9 @@ DEPEND="dev-lang/ocaml:= |
38 |
dev-ml/uutf:= |
39 |
dev-ml/jsonm:= |
40 |
" |
41 |
-RDEPEND="${DEPEND} |
42 |
+DEPEND="${RDEPEND} |
43 |
dev-ml/findlib |
44 |
+ test? ( dev-vcs/git ) |
45 |
" |
46 |
|
47 |
src_prepare() { |