Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/yojson/
Date: Mon, 22 Feb 2016 10:28:11
Message-Id: 1456136856.42b6e24de0c7aad7c556db74964ed143fea65ad4.aballier@gentoo
1 commit: 42b6e24de0c7aad7c556db74964ed143fea65ad4
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 22 10:24:26 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 22 10:27:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b6e24d
7
8 dev-ml/yojson: bump to 1.3.1
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-ml/yojson/Manifest | 1 +
14 dev-ml/yojson/yojson-1.3.1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
18 index d3cccde..de71dd1 100644
19 --- a/dev-ml/yojson/Manifest
20 +++ b/dev-ml/yojson/Manifest
21 @@ -1 +1,2 @@
22 DIST yojson-1.3.0.tar.gz 26610 SHA256 80e26e6d902c57bbacf44467f2a5cc30e4e189260093c66a3269fb1b1cc37094 SHA512 65e2d5bb7649cad3d395ec8fead11b18fd0ca5e59e87194a39a77561bcdaa04cecdc71f0da32ac268a36c0e7b21f56e9f40a08610f84cf7f81d0da20daf90fc0 WHIRLPOOL ed5ba5a5c397d47616282272573f9940d02035698a45dc7bc377c1fb2918d4a72fc789a4332ff7c09113d6bdcb223e2321f46f21f9576ff85197825bdc661d0d
23 +DIST yojson-1.3.1.tar.gz 26725 SHA256 ea97f150bb8270730165f7727518aa533c784b84f17016d339060161250124b8 SHA512 f0fb6dad88f75d279a4341384238d4b6fd63c7b34a5a7892fbf278604a4011ea744c355377246e92595696fc5a5298968802c40a12a3ddcd89412ee1ce1e1402 WHIRLPOOL 558cc3258ee4e27a4507c1383d5e2fc6542d2f8178430d73020b37184624df2879a56cee30cc9844d0531f2f1199613591500cf888f606b1788dd3c166e0b7dc
24
25 diff --git a/dev-ml/yojson/yojson-1.3.1.ebuild b/dev-ml/yojson/yojson-1.3.1.ebuild
26 new file mode 100644
27 index 0000000..cab42fd
28 --- /dev/null
29 +++ b/dev-ml/yojson/yojson-1.3.1.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit findlib
38 +
39 +DESCRIPTION="JSON parsing and pretty-printing library for OCaml"
40 +HOMEPAGE="http://mjambon.com/yojson.html"
41 +SRC_URI="https://github.com/mjambon/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +SLOT="0/${PV}"
44 +LICENSE="BSD"
45 +KEYWORDS="~amd64"
46 +IUSE="examples"
47 +
48 +RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt]
49 + dev-ml/easy-format:=[ocamlopt]
50 + dev-ml/biniou:=[ocamlopt]
51 +"
52 +DEPEND="${RDEPEND}
53 + dev-ml/cppo
54 +"
55 +
56 +src_compile() {
57 + emake -j1
58 +}
59 +
60 +src_install() {
61 + dodir /usr/bin
62 + findlib_src_install BINDIR="${ED}"/usr/bin
63 + dodoc README.md Changes
64 + if use examples ; then
65 + dodoc -r examples
66 + docompress -x /usr/share/doc/${PF}/examples
67 + fi
68 +}