Diff extlib-1.7.6-r1 with a extlib-1.7.7
/usr/portage/dev-ml/extlib/extlib-1.7.7.ebuild 2023-10-09 14:52:29.788368358 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=5 |
|
4 |
EAPI=7 |
|
5 | 5 | |
6 |
inherit findlib eutils |
|
6 |
inherit findlib vcs-clean |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Standard library extensions for O'Caml" |
9 | 9 |
HOMEPAGE="https://github.com/ygrek/ocaml-extlib" |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1" |
13 | 13 |
SLOT="0/${PV}" |
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
14 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 | 15 |
IUSE="doc +ocamlopt" |
16 | 16 | |
17 |
RDEPEND=" |
|
18 |
>=dev-lang/ocaml-3.10.2:=[ocamlopt?] |
|
19 |
" |
|
20 |
DEPEND="${RDEPEND} |
|
21 |
dev-ml/cppo" |
|
17 |
# See bug #704146 |
|
18 |
BDEPEND=">=dev-ml/cppo-1.6.6" |
|
19 |
RDEPEND="dev-lang/ocaml:=[ocamlopt?]" |
|
20 |
DEPEND="${RDEPEND}" |
|
21 | ||
22 |
PATCHES=( |
|
23 |
"${FILESDIR}"/${PN}-1.7.7-no-git.patch |
|
24 |
) |
|
22 | 25 | |
23 | 26 |
S="${WORKDIR}/ocaml-${P}" |
24 | 27 | |
25 | 28 |
src_prepare() { |
26 |
epatch "${FILESDIR}/ocaml409.patch" |
|
29 |
default |
|
30 |
egit_clean |
|
27 | 31 |
} |
28 | 32 | |
29 | 33 |
src_compile() { |
... | ... | |
42 | 46 |
emake -j1 test |
43 | 47 |
} |
44 | 48 | |
45 |
src_install () { |
|
49 |
src_install() { |
|
46 | 50 |
findlib_src_install |
47 | 51 | |
48 | 52 |
# install documentation |