Сравнение dune-configurator-2.9.1 с dune-configurator-2.9.3

/usr/portage/dev-ml/dune-configurator/dune-configurator-2.9.3.ebuild 2023-10-09 14:52:29.784368358 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
12 12

  
13 13
LICENSE="MIT"
14 14
SLOT="0/${PV}"
15
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
16
IUSE="+ocamlopt test"
17
RESTRICT="!test? ( test )"
15
KEYWORDS="amd64 arm ~arm64 ~ppc ppc64 ~riscv x86"
16
IUSE="+ocamlopt"
17
RESTRICT="test" #test run within dev-ml/dune-private-libs
18 18

  
19 19
RDEPEND="
20 20
	~dev-ml/dune-private-libs-${PV}:=[ocamlopt?]
21 21
	dev-ml/csexp:=[ocamlopt?]
22 22
	dev-ml/result:=[ocamlopt?]
23 23
"
24
DEPEND="${RDEPEND}
25
	test? (
26
		dev-ml/core_bench
27
		dev-ml/menhir
28
		dev-ml/opam
29
		dev-ml/ppx_expect
30
	)
31
"
32
# TODO for test deps:
33
# Add cram?
34
# Add dev-ml/js_of_ocaml once dev-ml/ocaml-base64 is ported to Dune
35
# Add coq?
36

  
37
src_prepare() {
38
	default
39

  
40
	# Keep this list in sync with dev-ml/dune-private-libs
41
	local bad_tests=(
42
		# List of tests calling git, mercurial, etc
43
		test/blackbox-tests/test-cases/dune-project-meta/main.t
44
		test/blackbox-tests/test-cases/meta-template-version-bug.t
45
		test/blackbox-tests/test-cases/subst/project-name-restriction.t
46
		test/blackbox-tests/test-cases/subst/with-opam-file.t
47
		test/blackbox-tests/test-cases/subst.t
48
		test/blackbox-tests/test-cases/subst/unicode.t
49
		test/blackbox-tests/test-cases/subst/from-project-file.t
50
		test/blackbox-tests/test-cases/trace-file.t
51
		otherlibs/build-info/test/run.t
52
		test/expect-tests/vcs_tests.ml
53

  
54
		# Strange failures, seemingly from newer versions of deps
55
		test/blackbox-tests/test-cases/merlin/allow_approximate_merlin_warn.t
56
		test/blackbox-tests/test-cases/merlin/merlin-tests.t
57
		test/blackbox-tests/test-cases/merlin/github4125.t
58
		test/blackbox-tests/test-cases/install-dry-run.t
59
		test/blackbox-tests/test-cases/c-flags.t
60
		test/blackbox-tests/test-cases/install-libdir.t
61
		test/blackbox-tests/test-cases/dune-cache/trim.t
62

  
63
		# Strange failures about opam not being initialised
64
		test/blackbox-tests/test-cases/merlin/merlin-from-subdir.t
65
		test/blackbox-tests/test-cases/merlin/symlinks.t
66
		test/blackbox-tests/test-cases/merlin/src-dirs-of-deps.t
67
		test/blackbox-tests/test-cases/merlin/per-module-pp.t
68
		test/blackbox-tests/test-cases/merlin/server.t
69
		test/blackbox-tests/test-cases/github1946.t
70
		test/blackbox-tests/test-cases/github759.t
71

  
72
		# Wants nodejs!
73
		test/blackbox-tests/test-cases/jsoo/simple.t
74
		test/blackbox-tests/test-cases/jsoo/inline-tests.t
75
		test/blackbox-tests/test-cases/jsoo/github3622.t
76
		# Wants js_of_ocaml (can't include yet b/c of ocaml-base64 porting)
77
		test/blackbox-tests/test-cases/jsoo/explicit-js-mode-specified.t
78

  
79
		# Wants coq which doesn't build for me right now
80
		test/blackbox-tests/test-cases/coq/rec-module.t
81
		test/blackbox-tests/test-cases/coq/compose-sub-theory.t
82
		test/blackbox-tests/test-cases/coq/native-compose.t
83
		test/blackbox-tests/test-cases/coq/base-unsound.t
84
		test/blackbox-tests/test-cases/coq/base.t
85
		test/blackbox-tests/test-cases/coq/native-single.t
86
		test/blackbox-tests/test-cases/coq/compose-simple.t
87
		test/blackbox-tests/test-cases/coq/ml-lib.t
88
		test/blackbox-tests/test-cases/coq/extract.t
89
		test/blackbox-tests/test-cases/coq/compose-plugin.t
90

  
91
		# Unpackaged dependencies (a rabbit hole for now)
92
		# utop -> lambda-term, zed
93
		test/blackbox-tests/test-cases/utop/github3188.t
94
		test/blackbox-tests/test-cases/utop/utop-simple.t
95
		test/blackbox-tests/test-cases/utop/utop-default.t
96
		test/blackbox-tests/test-cases/utop/utop-default-implementation.t
97
		test/blackbox-tests/test-cases/utop/utop-ppx-rewriters.t
98
		# ocamlformat
99
		test/blackbox-tests/test-cases/formatting.t
100
		# mdx
101
		test/blackbox-tests/test-cases/mdx-stanza.t
102
		# odoc
103
		test/blackbox-tests/test-cases/odoc/odoc-simple.t
104
		test/blackbox-tests/test-cases/odoc/odoc-package-mld-link.t
105
		test/blackbox-tests/test-cases/odoc/multiple-private-libs.t
106
		test/blackbox-tests/test-cases/odoc/odoc-unique-mlds.t
107
		test/blackbox-tests/test-cases/odoc/github717-odoc-index.t
108
		test/blackbox-tests/test-cases/odoc/warnings.t
109
	)
110

  
111
	rm -r ${bad_tests[@]} || die "Failed to remove broken/inappropriate tests"
112
}
24
DEPEND="${RDEPEND}"
113 25

  
114 26
src_configure() {
115 27
	:
Спасибо!