summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-08 17:12:36 +0000
committerSam James <sam@gentoo.org>2021-02-08 17:20:55 +0000
commit961fcc9f31f9b63b59beb135324479b22504b6b2 (patch)
treeeb5bc8981fc4499a9165fc453126f210b696bb67 /dev-ml/opam
parentdev-ml/opam-client: add ml@ (diff)
downloadgentoo-961fcc9f31f9b63b59beb135324479b22504b6b2.tar.gz
gentoo-961fcc9f31f9b63b59beb135324479b22504b6b2.tar.bz2
gentoo-961fcc9f31f9b63b59beb135324479b22504b6b2.zip
dev-ml/opam: fix deps
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/opam')
-rw-r--r--dev-ml/opam/opam-2.0.7-r1.ebuild (renamed from dev-ml/opam/opam-2.0.8.ebuild)8
-rw-r--r--dev-ml/opam/opam-2.0.8-r1.ebuild (renamed from dev-ml/opam/opam-2.0.7.ebuild)10
2 files changed, 9 insertions, 9 deletions
diff --git a/dev-ml/opam/opam-2.0.8.ebuild b/dev-ml/opam/opam-2.0.7-r1.ebuild
index 32c8aa658a33..765c723d6f11 100644
--- a/dev-ml/opam/opam-2.0.8.ebuild
+++ b/dev-ml/opam/opam-2.0.7-r1.ebuild
@@ -8,8 +8,6 @@ inherit dune
DESCRIPTION="A source-based package manager for OCaml"
HOMEPAGE="http://opam.ocaml.org/"
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
@@ -20,14 +18,16 @@ RDEPEND="
dev-ml/cudf:=
dev-ml/dose3:=
dev-ml/extlib:=
- dev-ml/opam-client:=
+ ~dev-ml/opam-client-${PV}:=
dev-ml/opam-file-format:=
dev-ml/re:="
+
DEPEND="${RDEPEND}"
+S="${WORKDIR}/opam-${PV/_/-}"
+
src_prepare() {
default
-
cat <<- EOF >> "${S}/dune"
(env
(dev
diff --git a/dev-ml/opam/opam-2.0.7.ebuild b/dev-ml/opam/opam-2.0.8-r1.ebuild
index 61db05b45f54..acd71e6b4ecb 100644
--- a/dev-ml/opam/opam-2.0.7.ebuild
+++ b/dev-ml/opam/opam-2.0.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,6 +8,8 @@ inherit dune
DESCRIPTION="A source-based package manager for OCaml"
HOMEPAGE="http://opam.ocaml.org/"
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
@@ -18,16 +20,14 @@ RDEPEND="
dev-ml/cudf:=
dev-ml/dose3:=
dev-ml/extlib:=
- dev-ml/opam-client:=
+ ~dev-ml/opam-client-${PV}:=
dev-ml/opam-file-format:=
dev-ml/re:="
-
DEPEND="${RDEPEND}"
-S="${WORKDIR}/opam-${PV/_/-}"
-
src_prepare() {
default
+
cat <<- EOF >> "${S}/dune"
(env
(dev