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