commit:     38aa6762c466b947e2dc72e4f37fd30eeafb0c41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 17:16:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 17:20:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38aa6762

dev-ml/opam-installer: fix deps

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...opam-installer-2.0.7.ebuild => opam-installer-2.0.7-r1.ebuild} | 8 ++++++--
 dev-ml/opam-installer/opam-installer-2.0.8.ebuild                 | 6 +++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/dev-ml/opam-installer/opam-installer-2.0.7.ebuild 
b/dev-ml/opam-installer/opam-installer-2.0.7-r1.ebuild
similarity index 92%
rename from dev-ml/opam-installer/opam-installer-2.0.7.ebuild
rename to dev-ml/opam-installer/opam-installer-2.0.7-r1.ebuild
index 59f744994a0..eb52254c396 100644
--- a/dev-ml/opam-installer/opam-installer-2.0.7.ebuild
+++ b/dev-ml/opam-installer/opam-installer-2.0.7-r1.ebuild
@@ -12,17 +12,21 @@ inherit opam
 DESCRIPTION="Core installer for opam packages"
 HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
 
SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz";
+S="${WORKDIR}/opam-full-${PV/_/-}"
 
 LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
-RDEPEND=">=dev-lang/ocaml-4.02.3"
+RDEPEND="
+       >=dev-lang/ocaml-4.02.3
+       dev-ml/cmdliner:=
+       ~dev-ml/opam-format-${PV}
+"
 DEPEND="${RDEPEND}
        dev-ml/findlib"
 
-S="${WORKDIR}/opam-full-${PV/_/-}"
 OPAM_INSTALLER="${S}/opam-installer"
 
 src_configure() {

diff --git a/dev-ml/opam-installer/opam-installer-2.0.8.ebuild 
b/dev-ml/opam-installer/opam-installer-2.0.8.ebuild
index fad39a7a570..a6722cf81e7 100644
--- a/dev-ml/opam-installer/opam-installer-2.0.8.ebuild
+++ b/dev-ml/opam-installer/opam-installer-2.0.8.ebuild
@@ -17,7 +17,11 @@ LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 
-RDEPEND=">=dev-lang/ocaml-4.02.3"
+RDEPEND="
+       >=dev-lang/ocaml-4.02.3
+       dev-ml/cmdliner:=
+       ~dev-ml/opam-format-${PV}
+"
 DEPEND="${RDEPEND}
        dev-ml/findlib"
 

Reply via email to