Сравнение re-1.10.3 с re-1.10.4-r2
/usr/portage/dev-ml/re/re-1.10.4-r2.ebuild 2023-10-09 14:52:29.804368358 +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="Regular expression library for OCaml" |
9 | 9 |
HOMEPAGE="https://github.com/ocaml/ocaml-re" |
10 |
SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz -> ocaml-${P}.tar.gz" |
|
11 |
S="${WORKDIR}/ocaml-${P}" |
|
10 |
SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz |
|
11 |
-> ocaml-${P}.tar.gz" |
|
12 |
S="${WORKDIR}"/ocaml-${P} |
|
12 | 13 | |
13 | 14 |
LICENSE="LGPL-2-with-linking-exception" |
14 | 15 |
SLOT="0/${PV}" |
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
16 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
16 | 17 |
IUSE="+ocamlopt test" |
17 | 18 |
RESTRICT="!test? ( test )" |
18 | 19 | |
19 |
RDEPEND="!dev-ml/ocaml-re |
|
20 |
dev-ml/seq:= |
|
20 |
RDEPEND=" |
|
21 |
!dev-ml/ocaml-re |
|
22 |
!<dev-ml/seq-0.3 |
|
23 |
>=dev-lang/ocaml-4.09 |
|
21 | 24 |
" |
22 |
DEPEND="${RDEPEND} |
|
23 |
test? ( dev-ml/ounit2 )" |
|
25 |
DEPEND="${RDEPEND}" |
|
26 |
BDEPEND="test? ( dev-ml/ounit2 )" |
|
24 | 27 | |
25 |
PATCHES=( "${FILESDIR}/ounit2.patch" ) |
|
28 |
PATCHES=( "${FILESDIR}"/ounit2.patch ) |
|
29 | ||
30 |
src_prepare() { |
|
31 |
default |
|
32 |
sed -i \ |
|
33 |
-e "/(libraries seq)/d" \ |
|
34 |
lib/dune \ |
|
35 |
|| die |
|
36 |
} |