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-installer/
Date: Sat, 06 Nov 2021 03:36:09
Message-Id: 1636169051.7f68124dc60890fa5d463246339712dcfe69b356.sam@gentoo
1 commit: 7f68124dc60890fa5d463246339712dcfe69b356
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 03:24:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 03:24:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f68124d
7
8 dev-ml/opam-installer: add 2.0.10
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-ml/opam-installer/Manifest | 1 +
13 dev-ml/opam-installer/opam-installer-2.0.10.ebuild | 40 ++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
17 index f32e897aec2..97c8e1c8c00 100644
18 --- a/dev-ml/opam-installer/Manifest
19 +++ b/dev-ml/opam-installer/Manifest
20 @@ -1,4 +1,5 @@
21 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147 SHA512 e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
22 +DIST opam-full-2.0.10.tar.gz 8173617 BLAKE2B 6bf7a52835512b3de5bcf0de24f5ba3a322f718e6b590902add5ca162e449e40fa3c27cff7b042240441c031303b24cf6b1a100d7f7c3c0cc275d47e60c0bce1 SHA512 05c6bd7e08f131c910871867590a6eb95b488d943ebbb0f93212f2101f09f54dcffd5d6492c9e2edf0485e3ee681815c6353d43ef185bc934fc8afb84d02cf5f
23 DIST opam-full-2.0.8.tar.gz 8006252 BLAKE2B 26348bdbb8bdc2fbf9d736286c1f4134ce065e8c15e34d51c8d2c6e5338fd6db089df38a19b07cde70770724fc4cc3dbd9e7d75628e5435ca8a2f8c0d4d3f2f0 SHA512 f08893ad0c1e124368168f28dcb5c3293e443da712d7b12db432c21ff72f7e1440bcc7156f49661d286360a16dcd166d3d02ecdebf8b1cda7c7df2b22e48f80f
24 DIST opam-full-2.0.9.tar.gz 8029605 BLAKE2B c2ae06bdbbdbe9db270ec0027ec8d13a228f0af2ae5089476fa3a698d27e1f47abf2e3a15ecc9ca610717ba6b979b4ca76cce56c52f6592ae789b88fb5e5b68d SHA512 9f44d878a2599a876f5e5b9b7457b6f446a5e59156ed3d449dcc29e40c44df8b69da619eabdf030e45526fba4bd9a00c65dec2c36552d2e03788596b0aceee85
25 DIST opam-full-2.1.0.tar.gz 9136886 BLAKE2B 3d51159568b6e85834f70a3545fe37d82470d4253bf9db6fef32b4314fd0a82182737bba6be62a9dd04b6d8fb8d7468b2e23ac39fa475f467adfdb0ec8d52181 SHA512 2c4955e450cde7211dbab507cbdc5d6e67805353e384df525d77ebf5561d6a4de91f7e5691567b2dc61146fc29df6fa5dc8aa8562330a4746db3a52b7487811a
26
27 diff --git a/dev-ml/opam-installer/opam-installer-2.0.10.ebuild b/dev-ml/opam-installer/opam-installer-2.0.10.ebuild
28 new file mode 100644
29 index 00000000000..1ea426a6380
30 --- /dev/null
31 +++ b/dev-ml/opam-installer/opam-installer-2.0.10.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# We are opam
39 +OPAM_INSTALLER_DEP=" "
40 +OPAM_SKIP_VALIDATION=yes
41 +inherit dune
42 +
43 +DESCRIPTION="Core installer for opam packages"
44 +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
45 +SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz"
46 +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
47 +S="${WORKDIR}/opam-full-${PV/_/-}"
48 +OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
49 +
50 +LICENSE="LGPL-2.1"
51 +SLOT="0/${PV}"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
53 +IUSE="+ocamlopt"
54 +
55 +PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )
56 +
57 +RDEPEND="
58 + >=dev-lang/ocaml-4.02.3
59 + dev-ml/cmdliner:=
60 + ~dev-ml/opam-format-${PV}
61 + >=dev-ml/dose3-6
62 +"
63 +DEPEND="${RDEPEND}
64 + dev-ml/findlib"
65 +
66 +src_configure() {
67 + econf \
68 + --prefix="${EPREFIX}/usr" \
69 + --with-mccs \
70 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
71 + --mandir="${EPREFIX}/usr/share/man"
72 +}