Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/
Date: Tue, 01 Feb 2022 09:37:48
Message-Id: 1643708246.e8cdb016804e65caca991b7ae3cf5c4c65af01b1.tupone@gentoo
1 commit: e8cdb016804e65caca991b7ae3cf5c4c65af01b1
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 09:37:26 2022 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 09:37:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8cdb016
7
8 dev-ml/opam-installer: 2.1.2 bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ml/opam-installer/Manifest | 1 +
14 dev-ml/opam-installer/opam-installer-2.1.2.ebuild | 40 +++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
18 index 8f2c10b6c1c6..fcd39250269c 100644
19 --- a/dev-ml/opam-installer/Manifest
20 +++ b/dev-ml/opam-installer/Manifest
21 @@ -4,3 +4,4 @@ DIST opam-full-2.0.8.tar.gz 8006252 BLAKE2B 26348bdbb8bdc2fbf9d736286c1f4134ce06
22 DIST opam-full-2.0.9.tar.gz 8029605 BLAKE2B c2ae06bdbbdbe9db270ec0027ec8d13a228f0af2ae5089476fa3a698d27e1f47abf2e3a15ecc9ca610717ba6b979b4ca76cce56c52f6592ae789b88fb5e5b68d SHA512 9f44d878a2599a876f5e5b9b7457b6f446a5e59156ed3d449dcc29e40c44df8b69da619eabdf030e45526fba4bd9a00c65dec2c36552d2e03788596b0aceee85
23 DIST opam-full-2.1.0.tar.gz 9136886 BLAKE2B 3d51159568b6e85834f70a3545fe37d82470d4253bf9db6fef32b4314fd0a82182737bba6be62a9dd04b6d8fb8d7468b2e23ac39fa475f467adfdb0ec8d52181 SHA512 2c4955e450cde7211dbab507cbdc5d6e67805353e384df525d77ebf5561d6a4de91f7e5691567b2dc61146fc29df6fa5dc8aa8562330a4746db3a52b7487811a
24 DIST opam-full-2.1.1.tar.gz 9275192 BLAKE2B b5729bc938633073efdf979f8e160c42aee682fe311b613d4d82be7add64b42506d1b6c107f3770fd8de4dc9eed7076f7774a34482d1956b8bd6315f551aea6d SHA512 7876a015fc2a421f70f9e8fa35c7ce56397dde7b679f3aba73c2a38f4967afc410c707a00f0a107baf353efe8bb6d4eee0601a5e205dc05a0f9c3d2a0c4d44d8
25 +DIST opam-full-2.1.2.tar.gz 9442446 BLAKE2B fe5447fe8f9bcedb30bf455e93b54a37e950e2944f6f501545bdccf6d989de2da90106938efb6a12c1b9454ecefed5be9906d65a15a4d0244302ad7ccff170db SHA512 fe12aaa27168435a978c472926d40697af0a7619a529c4bfacd0b71469dfcd534f43164bc74f60f740a735d38a869ae5e87e2414119f4f3fc1826315e8a075cd
26
27 diff --git a/dev-ml/opam-installer/opam-installer-2.1.2.ebuild b/dev-ml/opam-installer/opam-installer-2.1.2.ebuild
28 new file mode 100644
29 index 000000000000..d506458c738b
30 --- /dev/null
31 +++ b/dev-ml/opam-installer/opam-installer-2.1.2.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2022 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 +}