Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam/
Date: Mon, 11 Oct 2021 05:02:57
Message-Id: 1633928313.e0e8f8679b69f53ca29086c1d8f59d51f955758c.sam@gentoo
1 commit: e0e8f8679b69f53ca29086c1d8f59d51f955758c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 11 04:58:33 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 11 04:58:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e8f867
7
8 dev-ml/opam: add 2.0.9
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-ml/opam/Manifest | 1 +
13 dev-ml/opam/opam-2.0.9.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
17 index 45decc2331b..56d533d9552 100644
18 --- a/dev-ml/opam/Manifest
19 +++ b/dev-ml/opam/Manifest
20 @@ -1,2 +1,3 @@
21 DIST opam-2.0.8.tar.gz 643221 BLAKE2B 66510a18285f315fe95665e8ba2f334dd44211c716543cdc25f2951a7dfe537f115981046e5963fd08deea4c76f5672fa7cf8e7af2274a713a3165bdd0bac8c2 SHA512 14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9
22 +DIST opam-2.0.9.tar.gz 644429 BLAKE2B d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659 SHA512 0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
23 DIST opam-2.1.0.tar.gz 825966 BLAKE2B 42ab8ad2825e4e167618ece7bd2ce77ff055d584039fe2f644fa1c3e99d175cc7047f32bda53599af4fb177d844970883125cebca823024d1bc43a34857f20c5 SHA512 c0060e609c49a12dc8f64accef990aa593db818b72df3984fb9b4b22d8678b46c515916c84134a62dab614c716b61788eadc954d295f32c1f27d38aec22b3edf
24
25 diff --git a/dev-ml/opam/opam-2.0.9.ebuild b/dev-ml/opam/opam-2.0.9.ebuild
26 new file mode 100644
27 index 00000000000..e882aefd038
28 --- /dev/null
29 +++ b/dev-ml/opam/opam-2.0.9.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit dune
37 +
38 +DESCRIPTION="A source-based package manager for OCaml"
39 +HOMEPAGE="http://opam.ocaml.org/"
40 +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
41 +S="${WORKDIR}/opam-${PV/_/-}"
42 +
43 +LICENSE="LGPL-2.1-with-linking-exception"
44 +SLOT="0/${PV}"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
46 +IUSE="+ocamlopt"
47 +
48 +RDEPEND="
49 + dev-ml/cmdliner:=
50 + dev-ml/cudf:=
51 + >=dev-ml/dose3-6.0:=
52 + dev-ml/extlib:=
53 + ~dev-ml/opam-client-${PV}:=
54 + dev-ml/opam-file-format:=
55 + dev-ml/re:="
56 +DEPEND="${RDEPEND}"
57 +
58 +# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
59 +PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
60 +
61 +src_prepare() {
62 + default
63 +
64 + cat <<- EOF >> "${S}/dune"
65 + (env
66 + (dev
67 + (flags (:standard -warn-error -3-9-33)))
68 + (release
69 + (flags (:standard -warn-error -3-9-33))))
70 + EOF
71 +}