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

/usr/portage/dev-ml/dune/dune-2.9.3-r3.ebuild 2023-10-09 14:52:29.788368358 +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
EAPI=7
4
EAPI=8
5 5

  
6
inherit multiprocessing
6
inherit multiprocessing elisp-common
7 7

  
8 8
DESCRIPTION="A composable build system for OCaml"
9 9
HOMEPAGE="https://github.com/ocaml/dune"
......
11 11

  
12 12
LICENSE="MIT"
13 13
SLOT="0/${PV}"
14
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
15
IUSE="test"
14
KEYWORDS="amd64 arm ~arm64 ~ppc ppc64 ~riscv x86"
15
IUSE="emacs test"
16 16
RESTRICT="strip !test? ( test )"
17 17

  
18 18
RDEPEND="
19 19
	>=dev-lang/ocaml-4.08:=
20
	!dev-ml/jbuilder
20
	emacs? ( >=app-editors/emacs-23.1:* )
21 21
"
22 22
DEPEND="
23 23
	${RDEPEND}
......
31 31

  
32 32
QA_FLAGS_IGNORED="usr/bin/dune"
33 33

  
34
BYTECOMPFLAGS="-L ${S}/editor-integration/emacs"
35
SITEFILE="50${PN}-gentoo.el"
36

  
34 37
src_configure() {
35 38
	:
36 39
}
37 40

  
38 41
src_compile() {
39
	ocaml bootstrap.ml || die
40
	./dune.exe build -p "${PN}" --profile dune-bootstrap -j $(makeopts_jobs) || die
42
	ocaml bootstrap.ml -j $(makeopts_jobs) || die
43
	./dune.exe build -p "${PN}" --profile dune-bootstrap -j $(makeopts_jobs) \
44
		--display short || die
45

  
46
	use emacs && elisp-compile editor-integration/emacs/*.el
41 47
}
42 48

  
43 49
src_install() {
44 50
	default
45 51
	mv "${ED}"/usr/doc "${ED}"/usr/share/doc/${PF} || die
46 52
	mv "${ED}"/usr/man "${ED}"/usr/share/man || die
53

  
54
	if use emacs ; then
55
		elisp-install ${PN} editor-integration/emacs/*.el{,c}
56
		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
57
	fi
47 58
}
Спасибо!