1 |
commit: 3ba441c477732b1858821e3d09992d60451ece77 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 19:31:02 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 19:31:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba441c4 |
7 |
|
8 |
dev-ml/dune-private-libs: 2.9.3 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/dune-private-libs/Manifest | 1 + |
14 |
.../dune-private-libs-2.9.3.ebuild | 119 +++++++++++++++++++++ |
15 |
2 files changed, 120 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/dune-private-libs/Manifest b/dev-ml/dune-private-libs/Manifest |
18 |
index 730aae6dcc88..2a6ad22bf4b2 100644 |
19 |
--- a/dev-ml/dune-private-libs/Manifest |
20 |
+++ b/dev-ml/dune-private-libs/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST dune-2.8.2.tar.gz 1369417 BLAKE2B d846d35675a18abc3ccc57a52574d81a8fb4f082d |
22 |
DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889 SHA512 13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a04579243333c8484ce27a7f73e46a72e796d30fb1c3253 |
23 |
DIST dune-2.9.0.tar.gz 1385143 BLAKE2B c973e4b2c5780a3e4902c31c030b2560fe5be313338a5188edc9b7ff97b63968baba267966d095076bed4f1527a8b8b5a0f980e74f53476d70ec53f20dc661a6 SHA512 1c3b64746b00215cd97b36c0f1c6e2416c9d15c795265634240e9da37e2c2fce02ab3c309a0cb967f9f20a5c6df14e943c3c2942c1a8f4743c3a19c699f4eb24 |
24 |
DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d SHA512 4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77 |
25 |
+DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494 |
26 |
|
27 |
diff --git a/dev-ml/dune-private-libs/dune-private-libs-2.9.3.ebuild b/dev-ml/dune-private-libs/dune-private-libs-2.9.3.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..e434be4e1d92 |
30 |
--- /dev/null |
31 |
+++ b/dev-ml/dune-private-libs/dune-private-libs-2.9.3.ebuild |
32 |
@@ -0,0 +1,119 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit dune |
39 |
+ |
40 |
+DESCRIPTION="A composable build system for OCaml" |
41 |
+HOMEPAGE="https://github.com/ocaml/dune" |
42 |
+SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" |
43 |
+S="${WORKDIR}/dune-${PV}" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
48 |
+IUSE="+ocamlopt test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ ~dev-ml/dune-${PV} |
53 |
+ test? ( |
54 |
+ dev-ml/core_bench |
55 |
+ dev-ml/menhir |
56 |
+ dev-ml/opam |
57 |
+ dev-ml/ppx_expect |
58 |
+ ) |
59 |
+" |
60 |
+DEPEND=" |
61 |
+ dev-ml/csexp:=[ocamlopt=] |
62 |
+ dev-ml/findlib:=[ocamlopt=] |
63 |
+ >=dev-lang/ocaml-4.09:= |
64 |
+" |
65 |
+RDEPEND="${DEPEND}" |
66 |
+ |
67 |
+# TODO for test deps: |
68 |
+# Add cram? |
69 |
+# Add dev-ml/js_of_ocaml once dev-ml/ocaml-base64 is ported to Dune |
70 |
+# Add coq? |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ |
75 |
+ # Keep this list in sync with dev-ml/dune-configurator |
76 |
+ local bad_tests=( |
77 |
+ # List of tests calling git, mercurial, etc |
78 |
+ test/blackbox-tests/test-cases/dune-project-meta/main.t |
79 |
+ test/blackbox-tests/test-cases/meta-template-version-bug.t |
80 |
+ test/blackbox-tests/test-cases/subst/project-name-restriction.t |
81 |
+ test/blackbox-tests/test-cases/subst/with-opam-file.t |
82 |
+ test/blackbox-tests/test-cases/subst.t |
83 |
+ test/blackbox-tests/test-cases/subst/unicode.t |
84 |
+ test/blackbox-tests/test-cases/subst/from-project-file.t |
85 |
+ test/blackbox-tests/test-cases/trace-file.t |
86 |
+ otherlibs/build-info/test/run.t |
87 |
+ test/expect-tests/vcs_tests.ml |
88 |
+ |
89 |
+ # Strange failures, seemingly from newer versions of deps |
90 |
+ test/blackbox-tests/test-cases/merlin/allow_approximate_merlin_warn.t |
91 |
+ test/blackbox-tests/test-cases/merlin/merlin-tests.t |
92 |
+ test/blackbox-tests/test-cases/merlin/github4125.t |
93 |
+ test/blackbox-tests/test-cases/install-dry-run.t |
94 |
+ test/blackbox-tests/test-cases/c-flags.t |
95 |
+ test/blackbox-tests/test-cases/install-libdir.t |
96 |
+ test/blackbox-tests/test-cases/dune-cache/trim.t |
97 |
+ |
98 |
+ # Strange failures about opam not being initialised |
99 |
+ test/blackbox-tests/test-cases/merlin/merlin-from-subdir.t |
100 |
+ test/blackbox-tests/test-cases/merlin/symlinks.t |
101 |
+ test/blackbox-tests/test-cases/merlin/src-dirs-of-deps.t |
102 |
+ test/blackbox-tests/test-cases/merlin/per-module-pp.t |
103 |
+ test/blackbox-tests/test-cases/merlin/server.t |
104 |
+ test/blackbox-tests/test-cases/github1946.t |
105 |
+ test/blackbox-tests/test-cases/github759.t |
106 |
+ |
107 |
+ # Wants nodejs! |
108 |
+ test/blackbox-tests/test-cases/jsoo/simple.t |
109 |
+ test/blackbox-tests/test-cases/jsoo/inline-tests.t |
110 |
+ test/blackbox-tests/test-cases/jsoo/github3622.t |
111 |
+ # Wants js_of_ocaml (can't include yet b/c of ocaml-base64 porting) |
112 |
+ test/blackbox-tests/test-cases/jsoo/explicit-js-mode-specified.t |
113 |
+ |
114 |
+ # Wants coq which doesn't build for me right now |
115 |
+ test/blackbox-tests/test-cases/coq/rec-module.t |
116 |
+ test/blackbox-tests/test-cases/coq/compose-sub-theory.t |
117 |
+ test/blackbox-tests/test-cases/coq/native-compose.t |
118 |
+ test/blackbox-tests/test-cases/coq/base-unsound.t |
119 |
+ test/blackbox-tests/test-cases/coq/base.t |
120 |
+ test/blackbox-tests/test-cases/coq/native-single.t |
121 |
+ test/blackbox-tests/test-cases/coq/compose-simple.t |
122 |
+ test/blackbox-tests/test-cases/coq/ml-lib.t |
123 |
+ test/blackbox-tests/test-cases/coq/extract.t |
124 |
+ test/blackbox-tests/test-cases/coq/compose-plugin.t |
125 |
+ |
126 |
+ # Unpackaged dependencies (a rabbit hole for now) |
127 |
+ # utop -> lambda-term, zed |
128 |
+ test/blackbox-tests/test-cases/utop/github3188.t |
129 |
+ test/blackbox-tests/test-cases/utop/utop-simple.t |
130 |
+ test/blackbox-tests/test-cases/utop/utop-default.t |
131 |
+ test/blackbox-tests/test-cases/utop/utop-default-implementation.t |
132 |
+ test/blackbox-tests/test-cases/utop/utop-ppx-rewriters.t |
133 |
+ # ocamlformat |
134 |
+ test/blackbox-tests/test-cases/formatting.t |
135 |
+ # mdx |
136 |
+ test/blackbox-tests/test-cases/mdx-stanza.t |
137 |
+ # odoc |
138 |
+ test/blackbox-tests/test-cases/odoc/odoc-simple.t |
139 |
+ test/blackbox-tests/test-cases/odoc/odoc-package-mld-link.t |
140 |
+ test/blackbox-tests/test-cases/odoc/multiple-private-libs.t |
141 |
+ test/blackbox-tests/test-cases/odoc/odoc-unique-mlds.t |
142 |
+ test/blackbox-tests/test-cases/odoc/github717-odoc-index.t |
143 |
+ test/blackbox-tests/test-cases/odoc/warnings.t |
144 |
+ ) |
145 |
+ |
146 |
+ rm -r ${bad_tests[@]} || die "Failed to remove broken/inappropriate tests" |
147 |
+} |
148 |
+ |
149 |
+src_configure() { |
150 |
+ : |
151 |
+} |