* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_fail/, dev-ml/ppx_fail/files/
@ 2016-05-03 17:44 Alexis Ballier
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier @ 2016-05-03 17:44 UTC (permalink / raw
To: gentoo-commits
commit: 0c08a0f853e9fc3bcc089ca5ebf6e059a62272b4
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue May 3 17:09:10 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue May 3 17:44:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c08a0f8
dev-ml/ppx_fail: fix build with ocaml 4.03
Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
dev-ml/ppx_fail/files/oc43.patch | 35 +++++++++++++++++++++++++++++++
dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild | 4 ++++
2 files changed, 39 insertions(+)
diff --git a/dev-ml/ppx_fail/files/oc43.patch b/dev-ml/ppx_fail/files/oc43.patch
new file mode 100644
index 0000000..c5dd6b2
--- /dev/null
+++ b/dev-ml/ppx_fail/files/oc43.patch
@@ -0,0 +1,35 @@
+diff -uNr ppx_fail-113.33.00/_oasis ppx_fail-113.33.00+4.03/_oasis
+--- ppx_fail-113.33.00/_oasis 2016-03-09 16:44:54.000000000 +0100
++++ ppx_fail-113.33.00+4.03/_oasis 2016-03-22 15:13:50.000000000 +0100
+@@ -1,8 +1,8 @@
+ OASISFormat: 0.4
+-OCamlVersion: >= 4.02.3
++OCamlVersion: >= 4.03.0
+ FindlibVersion: >= 1.3.2
+ Name: ppx_fail
+-Version: 113.33.00
++Version: 113.33.00+4.03
+ Synopsis: Add location to calls to failwiths
+ Authors: Jane Street Group, LLC <opensource@janestreet.com>
+ Copyrights: (C) 2015-2016 Jane Street Group LLC <opensource@janestreet.com>
+diff -uNr ppx_fail-113.33.00/opam ppx_fail-113.33.00+4.03/opam
+--- ppx_fail-113.33.00/opam 2016-03-18 12:08:01.000000000 +0100
++++ ppx_fail-113.33.00+4.03/opam 2016-03-22 17:51:36.000000000 +0100
+@@ -17,4 +17,4 @@
+ "ppx_here"
+ "ppx_tools" {>= "0.99.3"}
+ ]
+-available: [ ocaml-version >= "4.02.3" ]
++available: [ ocaml-version >= "4.03.0" ]
+diff -uNr ppx_fail-113.33.00/src/ppx_fail.ml ppx_fail-113.33.00+4.03/src/ppx_fail.ml
+--- ppx_fail-113.33.00/src/ppx_fail.ml 2016-03-09 16:44:54.000000000 +0100
++++ ppx_fail-113.33.00+4.03/src/ppx_fail.ml 2016-03-22 15:13:50.000000000 +0100
+@@ -12,7 +12,7 @@
+ match e.pexp_desc with
+ | Pexp_ident { txt = Lident "failwiths"; _ } ->
+ let loc = e.pexp_loc in
+- pexp_apply e ~loc [("here", Ppx_here_expander.lift_position ~loc)]
++ pexp_apply e ~loc [(Labelled "here", Ppx_here_expander.lift_position ~loc)]
+ | _ -> super#expression e
+ end
+
diff --git a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild b/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
index e835771..800d182 100644
--- a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
+++ b/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
@@ -23,6 +23,10 @@ DEPEND="dev-ml/ppx_tools:=
RDEPEND="${DEPEND}"
DEPEND="${DEPEND} dev-ml/opam"
+src_prepare() {
+ has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
+}
+
src_configure() {
emake setup.exe
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_fail/, dev-ml/ppx_fail/files/
@ 2017-04-02 8:38 Alexis Ballier
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier @ 2017-04-02 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 586ea45db00b3a6b789d6f01dc9562f93dfda236
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 1 16:50:41 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Apr 2 08:37:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586ea45d
dev-ml/ppx_fail: bump to 0.9.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-ml/ppx_fail/Manifest | 2 +-
dev-ml/ppx_fail/files/oc43.patch | 35 ------------------------
dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild | 32 ++++++++++++++++++++++
dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild | 45 -------------------------------
4 files changed, 33 insertions(+), 81 deletions(-)
diff --git a/dev-ml/ppx_fail/Manifest b/dev-ml/ppx_fail/Manifest
index 3455cc6ea4c..5d2de757f92 100644
--- a/dev-ml/ppx_fail/Manifest
+++ b/dev-ml/ppx_fail/Manifest
@@ -1 +1 @@
-DIST ppx_fail-113.33.00.tar.gz 51294 SHA256 b5374ed6327298e26fe079b45f093f64d1975475b3c13f2c45f4c0ce0cc64390 SHA512 d52475bf9cf5edb50077bc4648f20d19c0d95c163d49244ac0786ab23a53de57b7d38a09429de6c91ab5f01251986e650f56647e7bb495da50f9999e838e69e7 WHIRLPOOL 395fb10fa80cb76733fd03059898dd2682384c732ee81fad1a905c6b3c2cfb0fa2326847ca0e035d65bb68c33710114f56edcad48d1e94efab3559e6a42d026b
+DIST ppx_fail-0.9.0.tar.gz 5908 SHA256 5623ba001719905dcad12c87614ebe35c61f3941f1553407928ef263fa6c30f3 SHA512 43bd13d5e41f7a297da2c67b032b9d88b94ab2ef152f756738e2bab41aa22829ec3a17d2824243e5194c4d2ee9ea567f06a638172f8c77ca7c466a641da8017a WHIRLPOOL ca9741d5a7f9fcd3c084de24e97b14ccb30a1233d1d93f614f6a4389d973022be35cde6966e9ec98477a56194055d7a2e9852018fdf66cf2352523d51a08d4db
diff --git a/dev-ml/ppx_fail/files/oc43.patch b/dev-ml/ppx_fail/files/oc43.patch
deleted file mode 100644
index c5dd6b23eb8..00000000000
--- a/dev-ml/ppx_fail/files/oc43.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -uNr ppx_fail-113.33.00/_oasis ppx_fail-113.33.00+4.03/_oasis
---- ppx_fail-113.33.00/_oasis 2016-03-09 16:44:54.000000000 +0100
-+++ ppx_fail-113.33.00+4.03/_oasis 2016-03-22 15:13:50.000000000 +0100
-@@ -1,8 +1,8 @@
- OASISFormat: 0.4
--OCamlVersion: >= 4.02.3
-+OCamlVersion: >= 4.03.0
- FindlibVersion: >= 1.3.2
- Name: ppx_fail
--Version: 113.33.00
-+Version: 113.33.00+4.03
- Synopsis: Add location to calls to failwiths
- Authors: Jane Street Group, LLC <opensource@janestreet.com>
- Copyrights: (C) 2015-2016 Jane Street Group LLC <opensource@janestreet.com>
-diff -uNr ppx_fail-113.33.00/opam ppx_fail-113.33.00+4.03/opam
---- ppx_fail-113.33.00/opam 2016-03-18 12:08:01.000000000 +0100
-+++ ppx_fail-113.33.00+4.03/opam 2016-03-22 17:51:36.000000000 +0100
-@@ -17,4 +17,4 @@
- "ppx_here"
- "ppx_tools" {>= "0.99.3"}
- ]
--available: [ ocaml-version >= "4.02.3" ]
-+available: [ ocaml-version >= "4.03.0" ]
-diff -uNr ppx_fail-113.33.00/src/ppx_fail.ml ppx_fail-113.33.00+4.03/src/ppx_fail.ml
---- ppx_fail-113.33.00/src/ppx_fail.ml 2016-03-09 16:44:54.000000000 +0100
-+++ ppx_fail-113.33.00+4.03/src/ppx_fail.ml 2016-03-22 15:13:50.000000000 +0100
-@@ -12,7 +12,7 @@
- match e.pexp_desc with
- | Pexp_ident { txt = Lident "failwiths"; _ } ->
- let loc = e.pexp_loc in
-- pexp_apply e ~loc [("here", Ppx_here_expander.lift_position ~loc)]
-+ pexp_apply e ~loc [(Labelled "here", Ppx_here_expander.lift_position ~loc)]
- | _ -> super#expression e
- end
-
diff --git a/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild b/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild
new file mode 100644
index 00000000000..8dce73e85a7
--- /dev/null
+++ b/dev-ml/ppx_fail/ppx_fail-0.9.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Add location to calls to failwiths"
+HOMEPAGE="https://github.com/janestreet/ppx_fail"
+SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-lang/ocaml:=
+ dev-ml/ppx_core:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_here:=
+ dev-ml/ppx_metaquot:=
+ dev-ml/ocaml-migrate-parsetree:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+}
diff --git a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild b/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
deleted file mode 100644
index 757016c57c3..00000000000
--- a/dev-ml/ppx_fail/ppx_fail-113.33.00.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit oasis
-
-DESCRIPTION="Add location to calls to failwiths"
-HOMEPAGE="http://www.janestreet.com/ocaml"
-SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="dev-ml/ppx_tools:=
- dev-ml/ppx_core:=
- dev-ml/ppx_driver:=
- dev-ml/ppx_here:=
-"
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND} dev-ml/opam"
-
-src_prepare() {
- has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
-}
-
-src_configure() {
- emake setup.exe
- OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
-}
-
-src_compile() {
- emake
-}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
- dodoc CHANGES.md
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-02 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-02 8:38 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_fail/, dev-ml/ppx_fail/files/ Alexis Ballier
-- strict thread matches above, loose matches on Subject: below --
2016-05-03 17:44 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox