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/ppx_fail/, dev-ml/ppx_fail/files/
Date: Sun, 02 Apr 2017 08:38:51
Message-Id: 1491122279.586ea45db00b3a6b789d6f01dc9562f93dfda236.aballier@gentoo
1 commit: 586ea45db00b3a6b789d6f01dc9562f93dfda236
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 16:50:41 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 2 08:37:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586ea45d
7
8 dev-ml/ppx_fail: bump to 0.9.0
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-ml/ppx_fail/Manifest | 2 +-
13 dev-ml/ppx_fail/files/oc43.patch | 35 ------------------------
14 dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild | 32 ++++++++++++++++++++++
15 dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild | 45 -------------------------------
16 4 files changed, 33 insertions(+), 81 deletions(-)
17
18 diff --git a/dev-ml/ppx_fail/Manifest b/dev-ml/ppx_fail/Manifest
19 index 3455cc6ea4c..5d2de757f92 100644
20 --- a/dev-ml/ppx_fail/Manifest
21 +++ b/dev-ml/ppx_fail/Manifest
22 @@ -1 +1 @@
23 -DIST ppx_fail-113.33.00.tar.gz 51294 SHA256 b5374ed6327298e26fe079b45f093f64d1975475b3c13f2c45f4c0ce0cc64390 SHA512 d52475bf9cf5edb50077bc4648f20d19c0d95c163d49244ac0786ab23a53de57b7d38a09429de6c91ab5f01251986e650f56647e7bb495da50f9999e838e69e7 WHIRLPOOL 395fb10fa80cb76733fd03059898dd2682384c732ee81fad1a905c6b3c2cfb0fa2326847ca0e035d65bb68c33710114f56edcad48d1e94efab3559e6a42d026b
24 +DIST ppx_fail-0.9.0.tar.gz 5908 SHA256 5623ba001719905dcad12c87614ebe35c61f3941f1553407928ef263fa6c30f3 SHA512 43bd13d5e41f7a297da2c67b032b9d88b94ab2ef152f756738e2bab41aa22829ec3a17d2824243e5194c4d2ee9ea567f06a638172f8c77ca7c466a641da8017a WHIRLPOOL ca9741d5a7f9fcd3c084de24e97b14ccb30a1233d1d93f614f6a4389d973022be35cde6966e9ec98477a56194055d7a2e9852018fdf66cf2352523d51a08d4db
25
26 diff --git a/dev-ml/ppx_fail/files/oc43.patch b/dev-ml/ppx_fail/files/oc43.patch
27 deleted file mode 100644
28 index c5dd6b23eb8..00000000000
29 --- a/dev-ml/ppx_fail/files/oc43.patch
30 +++ /dev/null
31 @@ -1,35 +0,0 @@
32 -diff -uNr ppx_fail-113.33.00/_oasis ppx_fail-113.33.00+4.03/_oasis
33 ---- ppx_fail-113.33.00/_oasis 2016-03-09 16:44:54.000000000 +0100
34 -+++ ppx_fail-113.33.00+4.03/_oasis 2016-03-22 15:13:50.000000000 +0100
35 -@@ -1,8 +1,8 @@
36 - OASISFormat: 0.4
37 --OCamlVersion: >= 4.02.3
38 -+OCamlVersion: >= 4.03.0
39 - FindlibVersion: >= 1.3.2
40 - Name: ppx_fail
41 --Version: 113.33.00
42 -+Version: 113.33.00+4.03
43 - Synopsis: Add location to calls to failwiths
44 - Authors: Jane Street Group, LLC <opensource@××××××××××.com>
45 - Copyrights: (C) 2015-2016 Jane Street Group LLC <opensource@××××××××××.com>
46 -diff -uNr ppx_fail-113.33.00/opam ppx_fail-113.33.00+4.03/opam
47 ---- ppx_fail-113.33.00/opam 2016-03-18 12:08:01.000000000 +0100
48 -+++ ppx_fail-113.33.00+4.03/opam 2016-03-22 17:51:36.000000000 +0100
49 -@@ -17,4 +17,4 @@
50 - "ppx_here"
51 - "ppx_tools" {>= "0.99.3"}
52 - ]
53 --available: [ ocaml-version >= "4.02.3" ]
54 -+available: [ ocaml-version >= "4.03.0" ]
55 -diff -uNr ppx_fail-113.33.00/src/ppx_fail.ml ppx_fail-113.33.00+4.03/src/ppx_fail.ml
56 ---- ppx_fail-113.33.00/src/ppx_fail.ml 2016-03-09 16:44:54.000000000 +0100
57 -+++ ppx_fail-113.33.00+4.03/src/ppx_fail.ml 2016-03-22 15:13:50.000000000 +0100
58 -@@ -12,7 +12,7 @@
59 - match e.pexp_desc with
60 - | Pexp_ident { txt = Lident "failwiths"; _ } ->
61 - let loc = e.pexp_loc in
62 -- pexp_apply e ~loc [("here", Ppx_here_expander.lift_position ~loc)]
63 -+ pexp_apply e ~loc [(Labelled "here", Ppx_here_expander.lift_position ~loc)]
64 - | _ -> super#expression e
65 - end
66 -
67
68 diff --git a/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild b/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild
69 new file mode 100644
70 index 00000000000..8dce73e85a7
71 --- /dev/null
72 +++ b/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild
73 @@ -0,0 +1,32 @@
74 +# Copyright 1999-2017 Gentoo Foundation
75 +# Distributed under the terms of the GNU General Public License v2
76 +
77 +EAPI=6
78 +
79 +DESCRIPTION="Add location to calls to failwiths"
80 +HOMEPAGE="https://github.com/janestreet/ppx_fail"
81 +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
82 +
83 +LICENSE="Apache-2.0"
84 +SLOT="0/${PV}"
85 +KEYWORDS="~amd64"
86 +IUSE=""
87 +
88 +DEPEND="
89 + dev-lang/ocaml:=
90 + dev-ml/ppx_core:=
91 + dev-ml/ppx_driver:=
92 + dev-ml/ppx_here:=
93 + dev-ml/ppx_metaquot:=
94 + dev-ml/ocaml-migrate-parsetree:=
95 +"
96 +RDEPEND="${DEPEND}"
97 +DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
98 +
99 +src_install() {
100 + opam-installer -i \
101 + --prefix="${ED}/usr" \
102 + --libdir="${D}/$(ocamlc -where)" \
103 + --docdir="${ED}/usr/share/doc/${PF}" \
104 + ${PN}.install || die
105 +}
106
107 diff --git a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild b/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
108 deleted file mode 100644
109 index 757016c57c3..00000000000
110 --- a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
111 +++ /dev/null
112 @@ -1,45 +0,0 @@
113 -# Copyright 1999-2015 Gentoo Foundation
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI="5"
117 -
118 -inherit oasis
119 -
120 -DESCRIPTION="Add location to calls to failwiths"
121 -HOMEPAGE="http://www.janestreet.com/ocaml"
122 -SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
123 -
124 -LICENSE="Apache-2.0"
125 -SLOT="0/${PV}"
126 -KEYWORDS="~amd64"
127 -IUSE=""
128 -
129 -DEPEND="dev-ml/ppx_tools:=
130 - dev-ml/ppx_core:=
131 - dev-ml/ppx_driver:=
132 - dev-ml/ppx_here:=
133 -"
134 -RDEPEND="${DEPEND}"
135 -DEPEND="${DEPEND} dev-ml/opam"
136 -
137 -src_prepare() {
138 - has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
139 -}
140 -
141 -src_configure() {
142 - emake setup.exe
143 - OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
144 -}
145 -
146 -src_compile() {
147 - emake
148 -}
149 -
150 -src_install() {
151 - opam-installer -i \
152 - --prefix="${ED}/usr" \
153 - --libdir="${D}/$(ocamlc -where)" \
154 - --docdir="${ED}/usr/share/doc/${PF}" \
155 - ${PN}.install || die
156 - dodoc CHANGES.md
157 -}