1 |
commit: f9a7aac84cf9e7c65ac34c1d64a45a1c8d0ed936 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 17:07:38 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 17:20:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a7aac8 |
7 |
|
8 |
dev-ml/opam-installer: 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-installer/Manifest | 1 + |
14 |
dev-ml/opam-installer/opam-installer-2.0.8.ebuild | 38 +++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest |
18 |
index b9416004a3a..5052fbfcb46 100644 |
19 |
--- a/dev-ml/opam-installer/Manifest |
20 |
+++ b/dev-ml/opam-installer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST opam-full-2.0.7.tar.gz 7929123 BLAKE2B 100acc2c31e97e47b0b584f3a153283593351d49d5e9cdaca42fdcc025b135d9538bd327927950e7e0972b20f561a0ee3d1d1b5b4b87e1e6af31761e311081e7 SHA512 670af4935bba0679c65f6592b7a52b1d429b604eb261e40b13cf72312aeb0bab0c5a76829a555fc5379a0371c352692cbabc46b460fcd9bf32b3cfebdaeceb81 |
23 |
+DIST opam-full-2.0.8.tar.gz 8006252 BLAKE2B 26348bdbb8bdc2fbf9d736286c1f4134ce065e8c15e34d51c8d2c6e5338fd6db089df38a19b07cde70770724fc4cc3dbd9e7d75628e5435ca8a2f8c0d4d3f2f0 SHA512 f08893ad0c1e124368168f28dcb5c3293e443da712d7b12db432c21ff72f7e1440bcc7156f49661d286360a16dcd166d3d02ecdebf8b1cda7c7df2b22e48f80f |
24 |
|
25 |
diff --git a/dev-ml/opam-installer/opam-installer-2.0.8.ebuild b/dev-ml/opam-installer/opam-installer-2.0.8.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fad39a7a570 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/opam-installer/opam-installer-2.0.8.ebuild |
30 |
@@ -0,0 +1,38 @@ |
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 |
+OPAM_SKIP_VALIDATION=yes |
39 |
+inherit opam |
40 |
+ |
41 |
+DESCRIPTION="Core installer for opam packages" |
42 |
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" |
43 |
+SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz" |
44 |
+S="${WORKDIR}/opam-full-${PV/_/-}" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0/${PV}" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
49 |
+ |
50 |
+RDEPEND=">=dev-lang/ocaml-4.02.3" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-ml/findlib" |
53 |
+ |
54 |
+src_configure() { |
55 |
+ econf \ |
56 |
+ --prefix="${EPREFIX}/usr" \ |
57 |
+ --with-mccs \ |
58 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
59 |
+ --mandir="${EPREFIX}/usr/share/man" |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ sed -e 's/DUNE = .*$/DUNE = /' -i Makefile.config |
64 |
+ emake lib-ext |
65 |
+ #passing -jX to the dune build leads to errors |
66 |
+ #see: https://github.com/ocaml/opam/issues/3585 |
67 |
+ emake DUNE_PROMOTE_ARG="" -j1 |
68 |
+} |