1 |
commit: 3f869dbb64fad37ee11e7f8af58bcce3645cd586 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 14:40:25 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 19:29:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f869dbb |
7 |
|
8 |
dev-ml/yojson: bump to 1.3.2 |
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.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest |
18 |
index de71dd1..cc0ed97 100644 |
19 |
--- a/dev-ml/yojson/Manifest |
20 |
+++ b/dev-ml/yojson/Manifest |
21 |
@@ -1,2 +1,3 @@ |
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 |
+DIST yojson-1.3.2.tar.gz 26928 SHA256 eff510621efd6dcfb86b65eaf1d4d6f3b9b680143d88e652b6f14072523a2351 SHA512 9bdda0bdeea1988f37b4b56154995dc0f5391de659ba15f452d0755afcbd213ef0d5b1ec8fd691bb4e25e99af866b4c282b078a49208f61c51eaea8e21733509 WHIRLPOOL 7973dbbf7e2b74ac82f39261f7db6ec6952e624d05c35c5ba8fd426153d148b17c0dba8a510128c1598ea17a5fe5190417e9b8cf6a9a9473c4a16e7c34489760 |
25 |
|
26 |
diff --git a/dev-ml/yojson/yojson-1.3.2.ebuild b/dev-ml/yojson/yojson-1.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..cab42fd |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/yojson/yojson-1.3.2.ebuild |
31 |
@@ -0,0 +1,38 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit findlib |
39 |
+ |
40 |
+DESCRIPTION="JSON parsing and pretty-printing library for OCaml" |
41 |
+HOMEPAGE="http://mjambon.com/yojson.html" |
42 |
+SRC_URI="https://github.com/mjambon/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+SLOT="0/${PV}" |
45 |
+LICENSE="BSD" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="examples" |
48 |
+ |
49 |
+RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt] |
50 |
+ dev-ml/easy-format:=[ocamlopt] |
51 |
+ dev-ml/biniou:=[ocamlopt] |
52 |
+" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ dev-ml/cppo |
55 |
+" |
56 |
+ |
57 |
+src_compile() { |
58 |
+ emake -j1 |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dodir /usr/bin |
63 |
+ findlib_src_install BINDIR="${ED}"/usr/bin |
64 |
+ dodoc README.md Changes |
65 |
+ if use examples ; then |
66 |
+ dodoc -r examples |
67 |
+ docompress -x /usr/share/doc/${PF}/examples |
68 |
+ fi |
69 |
+} |