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-core/
Date: Mon, 08 Feb 2021 17:21:05
Message-Id: 1612804853.2162c9a1fbe89fb2af98cb6420e3d4fc08d3167b.sam@gentoo
1 commit: 2162c9a1fbe89fb2af98cb6420e3d4fc08d3167b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 16:58:27 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 17:20:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2162c9a1
7
8 dev-ml/opam-core: bump to 2.0.8
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-ml/opam-core/Manifest | 1 +
14 dev-ml/opam-core/opam-core-2.0.8.ebuild | 42 +++++++++++++++++++++++++++++++++
15 2 files changed, 43 insertions(+)
16
17 diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest
18 index db4db56c08e..39fe274747d 100644
19 --- a/dev-ml/opam-core/Manifest
20 +++ b/dev-ml/opam-core/Manifest
21 @@ -1 +1,2 @@
22 DIST opam-2.0.7.tar.gz 636708 BLAKE2B 2824a5c53f4103c267f99ae10f55df740b3afcc033321e888133817c0e53c4a8fc31738338df3d6d9ff8755987e85ade4a4726be98f77b06b81ffc1476d02c3d SHA512 2ade3998a94333a5a838b55e229ab0c707e678481cae892980b986fb86f39163070a9b7d3e0e87879cd57b91a33bf6a3e15f3786c3510a635e59383782218f1d
23 +DIST opam-2.0.8.tar.gz 643221 BLAKE2B 66510a18285f315fe95665e8ba2f334dd44211c716543cdc25f2951a7dfe537f115981046e5963fd08deea4c76f5672fa7cf8e7af2274a713a3165bdd0bac8c2 SHA512 14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9
24
25 diff --git a/dev-ml/opam-core/opam-core-2.0.8.ebuild b/dev-ml/opam-core/opam-core-2.0.8.ebuild
26 new file mode 100644
27 index 00000000000..9d6e32634c0
28 --- /dev/null
29 +++ b/dev-ml/opam-core/opam-core-2.0.8.ebuild
30 @@ -0,0 +1,42 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +# We are opam
37 +OPAM_INSTALLER_DEP=" "
38 +inherit opam
39 +
40 +DESCRIPTION="Core libraries for opam"
41 +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
42 +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
43 +S="${WORKDIR}/opam-${PV/_/-}"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0/${PV}"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
48 +
49 +RDEPEND="
50 + dev-ml/ocamlgraph:=
51 + dev-ml/re:=
52 + dev-ml/opam-file-format:=
53 + dev-ml/cmdliner:=
54 +"
55 +DEPEND="${RDEPEND}
56 + dev-ml/cppo"
57 +
58 +src_prepare() {
59 + default
60 + cat <<- EOF >> "${S}/dune"
61 + (env
62 + (dev
63 + (flags (:standard -warn-error -3-9)))
64 + (release
65 + (flags (:standard -warn-error -3-9))))
66 + EOF
67 +}
68 +
69 +src_compile() {
70 + emake -j1 opam-installer
71 + emake -j1 ${PN}.install
72 +}