Сравнение yojson-1.7.0 с yojson-2.0.2-r3
/usr/portage/dev-ml/yojson/yojson-2.0.2-r3.ebuild 2023-10-09 14:52:29.812368358 +0300 | ||
---|---|---|
1 | 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="JSON parsing and pretty-printing library for OCaml" |
9 | 9 |
HOMEPAGE="https://github.com/ocaml-community/yojson" |
10 |
SRC_URI="https://github.com/ocaml-community/yojson/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz |
|
11 |
-> ${P}.tar.gz" |
|
11 | 12 | |
12 | 13 |
LICENSE="BSD" |
13 | 14 |
SLOT="0/${PV}" |
... | ... | |
16 | 17 |
RESTRICT="!test? ( test )" |
17 | 18 | |
18 | 19 |
RDEPEND=" |
19 |
>=dev-lang/ocaml-4.02.3:=[ocamlopt?] |
|
20 |
dev-ml/easy-format:=[ocamlopt?] |
|
21 |
>=dev-ml/biniou-1.2:=[ocamlopt?] |
|
20 |
>=dev-lang/ocaml-4.07:=[ocamlopt?] |
|
21 |
!!<dev-ml/seq-0.3 |
|
22 | 22 |
" |
23 |
DEPEND=" |
|
24 |
${RDEPEND} |
|
23 |
DEPEND="${RDEPEND}" |
|
24 |
BDEPEND=" |
|
25 |
>=dev-ml/cppo-1.6.1 |
|
25 | 26 |
test? ( dev-ml/alcotest ) |
26 | 27 |
" |
27 |
BDEPEND=">=dev-ml/cppo-1.6.1" |
|
28 | ||
29 |
PATCHES=( "${FILESDIR}"/${P}-dune-seq.patch ) |
|
30 | ||
31 |
src_prepare() { |
|
32 |
default |
|
33 |
# let's not build this |
|
34 |
rm bench/dune yojson-bench.opam || die |
|
35 |
} |
|
28 | 36 | |
29 | 37 |
src_install() { |
30 | 38 |
dune_src_install |