Diff gen-0.5.3-r1 with a gen-1.0-r2
/usr/portage/dev-ml/gen/gen-1.0-r2.ebuild 2023-10-09 14:52:29.788368358 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 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=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit dune |
7 | 7 | |
8 | 8 |
DESCRIPTION="Iterators for OCaml, both restartable and consumable" |
9 | 9 |
HOMEPAGE="https://github.com/c-cube/gen/" |
10 |
SRC_URI="https://github.com/c-cube/gen/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
SRC_URI="https://github.com/c-cube/gen/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
11 | 11 | |
12 | 12 |
LICENSE="BSD-2" |
13 | 13 |
SLOT="0/${PV}" |
... | ... | |
15 | 15 |
IUSE="+ocamlopt" |
16 | 16 |
RESTRICT="test" # tests fail > unused-open |
17 | 17 | |
18 |
DEPEND="dev-ml/dune-configurator:=" |
|
19 |
RDEPEND="${DEPEND}" |
|
18 |
RDEPEND=" |
|
19 |
>=dev-lang/ocaml-4.07:=[ocamlopt?] |
|
20 |
dev-ml/dune-configurator:= |
|
21 |
" |
|
22 |
DEPEND="${RDEPEND}" |
|
20 | 23 |
# BDEPEND="test? ( dev-ml/qtest )" |
24 | ||
25 |
src_prepare() { |
|
26 |
default |
|
27 | ||
28 |
sed -i \ |
|
29 |
-e "s:(libraries bytes seq)::" \ |
|
30 |
src/dune \ |
|
31 |
|| die |
|
32 |
} |