summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/opam-repository')
-rw-r--r--dev-ml/opam-repository/opam-repository-2.0.7-r1.ebuild (renamed from dev-ml/opam-repository/opam-repository-2.0.7.ebuild)11
1 files 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
index 11652c5bbcb6..c0970787f1db 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"