commit:     5eadea90a038c9bdd31328d37e1821ed4e9c525d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 17:19:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 17:20:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eadea90

dev-ml/opam-repository: fix deps

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

 ...epository-2.0.7.ebuild => opam-repository-2.0.7-r1.ebuild} | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-ml/opam-repository/opam-repository-2.0.7.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.7-r1.ebuild
similarity index 89%
rename from dev-ml/opam-repository/opam-repository-2.0.7.ebuild
rename to dev-ml/opam-repository/opam-repository-2.0.7-r1.ebuild
index 11652c5bbcb..c0970787f1d 100644
--- a/dev-ml/opam-repository/opam-repository-2.0.7.ebuild
+++ b/dev-ml/opam-repository/opam-repository-2.0.7-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,23 +8,22 @@ inherit dune
 DESCRIPTION="opam repository libraries"
 HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
 SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
 
 LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="+ocamlopt"
+RESTRICT="test"
 
 RDEPEND="
-       dev-ml/opam-format:=
-               dev-ml/re:=
+       ~dev-ml/opam-format-${PV}:=
+       dev-ml/re:=
        dev-ml/dose3:=
        dev-ml/opam-file-format:=
 "
 DEPEND="${RDEPEND}"
 
-S="${WORKDIR}/opam-${PV/_/-}"
-RESTRICT="test"
-
 src_prepare() {
        default
        cat <<- EOF >> "${S}/dune"

Reply via email to