1 |
commit: 69548160f8d2d9fcd6191cc29d3883ac813992b6 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 16:51:51 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 2 08:38:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69548160 |
7 |
|
8 |
dev-ml/ppx_sexp_value: Bump to 0.9.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ppx_sexp_value/Manifest | 2 +- |
13 |
dev-ml/ppx_sexp_value/files/oc43.patch | 62 ---------------------- |
14 |
...13.33.00.ebuild => ppx_sexp_value-0.9.0.ebuild} | 31 ++++------- |
15 |
3 files changed, 11 insertions(+), 84 deletions(-) |
16 |
|
17 |
diff --git a/dev-ml/ppx_sexp_value/Manifest b/dev-ml/ppx_sexp_value/Manifest |
18 |
index e329abaa00f..c62478c3278 100644 |
19 |
--- a/dev-ml/ppx_sexp_value/Manifest |
20 |
+++ b/dev-ml/ppx_sexp_value/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST ppx_sexp_value-113.33.00.tar.gz 55863 SHA256 c26380a790ce4226a180d69314d284c8d7b093f1874e965d5f90bd66b532d20f SHA512 a13af6addb235b138df6ad021615625133739aaadc254b62efc3951f3259a434614232d60032f969de674652152dc8a67e05a0e6999e1dc6d4504352c5c9a374 WHIRLPOOL 68d82b5aacf3f0682bd82a56361d4d89ef6136c1dd0a9b06b96d49723978f56551a63f143172f69c906e97db93b7e34179a01f9340bac495611f463441badfa6 |
23 |
+DIST ppx_sexp_value-0.9.0.tar.gz 10666 SHA256 4460c05a8389a4089d97a8af650f2972e4386e0fd91683aa53d4d1197275711a SHA512 7dcb8f70a7938d26fc5a1afea2bf5e77c4996d8e82720206ab9e5a462a59182dcedfbfede49ed83ed50f2683776b75fb5bae00c53fc451b03f6a33e126566e84 WHIRLPOOL a4a51ee6eaebacf3c779302d491992455865ceb83f5dca679e7390c765c324f4e14d3c849abc7e4c6ea8bd90d8d8f08a772a05782ef1f6e060ba0a77c60c279d |
24 |
|
25 |
diff --git a/dev-ml/ppx_sexp_value/files/oc43.patch b/dev-ml/ppx_sexp_value/files/oc43.patch |
26 |
deleted file mode 100644 |
27 |
index 36cc972541a..00000000000 |
28 |
--- a/dev-ml/ppx_sexp_value/files/oc43.patch |
29 |
+++ /dev/null |
30 |
@@ -1,62 +0,0 @@ |
31 |
-diff -uNr ppx_sexp_value-113.33.00/_oasis ppx_sexp_value-113.33.00+4.03/_oasis |
32 |
---- ppx_sexp_value-113.33.00/_oasis 2016-03-09 16:44:54.000000000 +0100 |
33 |
-+++ ppx_sexp_value-113.33.00+4.03/_oasis 2016-03-22 15:13:51.000000000 +0100 |
34 |
-@@ -1,8 +1,8 @@ |
35 |
- OASISFormat: 0.4 |
36 |
--OCamlVersion: >= 4.02.3 |
37 |
-+OCamlVersion: >= 4.03.0 |
38 |
- FindlibVersion: >= 1.3.2 |
39 |
- Name: ppx_sexp_value |
40 |
--Version: 113.33.00 |
41 |
-+Version: 113.33.00+4.03 |
42 |
- Synopsis: A ppx rewriter that simplifies building s-expressions from ocaml values |
43 |
- Authors: Jane Street Group, LLC <opensource@××××××××××.com> |
44 |
- Copyrights: (C) 2015-2016 Jane Street Group LLC <opensource@××××××××××.com> |
45 |
-diff -uNr ppx_sexp_value-113.33.00/opam ppx_sexp_value-113.33.00+4.03/opam |
46 |
---- ppx_sexp_value-113.33.00/opam 2016-03-18 12:08:01.000000000 +0100 |
47 |
-+++ ppx_sexp_value-113.33.00+4.03/opam 2016-03-22 17:51:37.000000000 +0100 |
48 |
-@@ -18,4 +18,4 @@ |
49 |
- "ppx_sexp_conv" |
50 |
- "ppx_tools" {>= "0.99.3"} |
51 |
- ] |
52 |
--available: [ ocaml-version >= "4.02.3" ] |
53 |
-+available: [ ocaml-version >= "4.03.0" ] |
54 |
-diff -uNr ppx_sexp_value-113.33.00/src/ppx_sexp_value.ml ppx_sexp_value-113.33.00+4.03/src/ppx_sexp_value.ml |
55 |
---- ppx_sexp_value-113.33.00/src/ppx_sexp_value.ml 2016-03-09 16:44:54.000000000 +0100 |
56 |
-+++ ppx_sexp_value-113.33.00+4.03/src/ppx_sexp_value.ml 2016-03-22 15:13:51.000000000 +0100 |
57 |
-@@ -25,13 +25,10 @@ |
58 |
- eapply ~loc (evar ~loc ("Sexplib.Conv.sexp_of_" ^ typ)) [pexp_constant ~loc const] |
59 |
- in |
60 |
- match const with |
61 |
-- | Const_int _ -> f "int" |
62 |
-- | Const_char _ -> f "char" |
63 |
-- | Const_string _ -> f "string" |
64 |
-- | Const_float _ -> f "float" |
65 |
-- | Const_int32 _ -> f "int32" |
66 |
-- | Const_int64 _ -> f "int64" |
67 |
-- | Const_nativeint _ -> f "nativeint" |
68 |
-+ | Pconst_integer _ -> f "int" |
69 |
-+ | Pconst_char _ -> f "char" |
70 |
-+ | Pconst_string _ -> f "string" |
71 |
-+ | Pconst_float _ -> f "float" |
72 |
- ;; |
73 |
- |
74 |
- let sexp_of_constraint ~loc expr ctyp = |
75 |
-@@ -90,7 +87,7 @@ |
76 |
- | Pexp_record (fields, None) -> |
77 |
- sexp_of_record ~loc fields |
78 |
- | Pexp_apply ({ pexp_desc = Pexp_ident { txt = Lident "~~"; _ }; _}, |
79 |
-- [ ("", { pexp_desc = Pexp_constraint (expr, ctyp); _ }) ]) -> |
80 |
-+ [ (Nolabel, { pexp_desc = Pexp_constraint (expr, ctyp); _ }) ]) -> |
81 |
- let expr_str = Pprintast.string_of_expression expr in |
82 |
- sexp_list ~loc |
83 |
- (elist ~loc [ sexp_atom ~loc (estring ~loc expr_str) |
84 |
-@@ -168,7 +165,7 @@ |
85 |
- (* Don't misinterpret [%sexp ~~(e : t)] for the deprecated application syntax. *) |
86 |
- | Pexp_apply ({ pexp_desc = Pexp_ident { txt = Lident "~~"; _}; _ }, _) -> expr |
87 |
- | Pexp_apply (f, (_ :: _ as args)) |
88 |
-- when List.for_all args ~f:(fun (lab, _) -> lab = "") -> |
89 |
-+ when List.for_all args ~f:(fun (lab, _) -> lab = Nolabel) -> |
90 |
- let el = List.map (f :: List.map args ~f:snd) ~f:rewrite_arg in |
91 |
- let e = pexp_tuple ~loc el in |
92 |
- if !allow_deprecated_syntax then |
93 |
|
94 |
diff --git a/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild b/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild |
95 |
similarity index 50% |
96 |
rename from dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild |
97 |
rename to dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild |
98 |
index 0dfb28a0f07..a5901d07f62 100644 |
99 |
--- a/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild |
100 |
+++ b/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild |
101 |
@@ -1,40 +1,29 @@ |
102 |
-# Copyright 1999-2015 Gentoo Foundation |
103 |
+# Copyright 1999-2017 Gentoo Foundation |
104 |
# Distributed under the terms of the GNU General Public License v2 |
105 |
|
106 |
-EAPI="5" |
107 |
- |
108 |
-inherit oasis |
109 |
+EAPI=6 |
110 |
|
111 |
DESCRIPTION="Standard library for ppx rewriters" |
112 |
-HOMEPAGE="http://www.janestreet.com/ocaml" |
113 |
-SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" |
114 |
+HOMEPAGE="https://github.com/janestreet/ppx_sexp_value" |
115 |
+SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
116 |
|
117 |
LICENSE="Apache-2.0" |
118 |
SLOT="0/${PV}" |
119 |
KEYWORDS="~amd64" |
120 |
IUSE="" |
121 |
|
122 |
-DEPEND="dev-ml/ppx_tools:= |
123 |
+DEPEND=" |
124 |
+ dev-lang/ocaml:= |
125 |
dev-ml/ppx_core:= |
126 |
dev-ml/ppx_driver:= |
127 |
dev-ml/ppx_here:= |
128 |
+ dev-ml/ppx_metaquot:= |
129 |
dev-ml/ppx_sexp_conv:= |
130 |
+ dev-ml/sexplib:= |
131 |
+ dev-ml/ocaml-migrate-parsetree:= |
132 |
" |
133 |
RDEPEND="${DEPEND}" |
134 |
-DEPEND="${DEPEND} dev-ml/opam" |
135 |
- |
136 |
-src_prepare() { |
137 |
- has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch" |
138 |
-} |
139 |
- |
140 |
-src_configure() { |
141 |
- emake setup.exe |
142 |
- OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure |
143 |
-} |
144 |
- |
145 |
-src_compile() { |
146 |
- emake |
147 |
-} |
148 |
+DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder" |
149 |
|
150 |
src_install() { |
151 |
opam-installer -i \ |