Diff camomile-1.0.2 with a camomile-2.0.0
/usr/portage/dev-ml/camomile/camomile-2.0.0.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 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit dune |
7 | 7 | |
8 | 8 |
DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml" |
9 |
HOMEPAGE="https://github.com/yoriyuki/Camomile/wiki" |
|
10 |
SRC_URI="https://github.com/yoriyuki/Camomile/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
9 |
HOMEPAGE="https://github.com/savonet/Camomile" |
|
10 |
SRC_URI="https://github.com/savonet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
11 | 11 |
S="${WORKDIR}/${P^}" |
12 | 12 | |
13 | 13 |
LICENSE="LGPL-2" |
... | ... | |
18 | 18 |
# Unbound module errors |
19 | 19 |
RESTRICT="test" |
20 | 20 | |
21 |
src_compile() { |
|
22 |
# Amend standard dune_src_compile with -p camomile |
|
23 |
# Needed to workaround: https://github.com/yoriyuki/Camomile/issues/83 |
|
24 |
# (https://dune.readthedocs.io/en/stable/faq.html#how-to-make-warnings-non-fatal) |
|
25 |
dune build -p camomile @install || die |
|
26 |
} |
|
21 |
RDEPEND=" |
|
22 |
dev-ml/dune-site:= |
|
23 |
dev-ml/camlp-streams:= |
|
24 |
" |
|
25 |
DEPEND="${RDEPEND}" |