[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2017-06-09 Thread Alexis Ballier
commit: b0704b4c23b3ede1229b48b20aee527ddedaf59b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jun  9 16:14:22 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jun  9 16:14:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0704b4c

dev-ml/eliom: add missing xml usedep on js_of_ocaml, bug #621146

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ml/eliom/eliom-6.2.0.ebuild | 2 +-
 dev-ml/eliom/eliom-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/eliom/eliom-6.2.0.ebuild b/dev-ml/eliom/eliom-6.2.0.ebuild
index b69350aae03..b97e4135966 100644
--- a/dev-ml/eliom/eliom-6.2.0.ebuild
+++ b/dev-ml/eliom/eliom-6.2.0.ebuild
@@ -23,7 +23,7 @@ SLOT="0/${PV}"
 IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.8.2:=
+   >=dev-ml/js_of_ocaml-2.8.2:=[xml]
>=www-servers/ocsigenserver-2.8:=
>=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
index 42b48b1abdd..cffa1b2c77a 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -23,7 +23,7 @@ SLOT="0/${PV}"
 IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.8.2:=
+   >=dev-ml/js_of_ocaml-2.8.2:=[xml]
>=www-servers/ocsigenserver-2.8:=
>=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2017-04-27 Thread Alexis Ballier
commit: f704e85936ad8ec86b8c75d76ebed21317754037
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Apr 27 10:45:48 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Apr 27 10:45:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f704e859

dev-ml/eliom: remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-ml/eliom/Manifest   |  1 -
 dev-ml/eliom/eliom-6.1.0.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 1f002683e8e..1dff06af59f 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1,2 +1 @@
-DIST eliom-6.1.0.tar.gz 722881 SHA256 
cc27c90dfae92db69f23c9d1301d67433d71c7b8d83cba7253dd7d9c41728dbc SHA512 
ab389e8023de952f371209c5fe6863240214af559c4ae883dc9d3dc9f353afcc8e38292974c8c0a05c65213fe7dc0b350580c5c8647bba679a5ec0c44859621e
 WHIRLPOOL 
e4eeacc566db899ffbaab8dd58bf81dbb49ed18b27e4285669e809bc05232a4b212e0422e33580d40dbf1ec18f236e65ab09f790211693bfbf5882d269ea5137
 DIST eliom-6.2.0.tar.gz 724359 SHA256 
bda9ab348fb7a6a45f69e908bdc0ae2752b11a2dc199059b0dcd342a50a28405 SHA512 
02ea52c78470f97dd9f82218e82427ea2d2d0c9f261d1a9c2decbe7644c0bf583b77b8cef2577d5662d363efd276755f400e7a4c29c89a2265e49ca850db
 WHIRLPOOL 
f90b6a2b5d2e13d13164ae2b20200566bd44b2d68db9eb7d79e76ca27448cfe2b23bc57618a83368d587b268315fff2dd154fbb501a6ce0beda49d28d8b3dbec

diff --git a/dev-ml/eliom/eliom-6.1.0.ebuild b/dev-ml/eliom/eliom-6.1.0.ebuild
deleted file mode 100644
index 74e7e33453c..000
--- a/dev-ml/eliom/eliom-6.1.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-
-if [ "${PV#}" != "${PV}" ] ; then
-   inherit git-r3
-   SRC_URI=""
-   EGIT_REPO_URI="https://github.com/ocsigen/eliom;
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-IUSE="doc +ocamlopt +ppx"
-
-RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.8.2:=
-   >=www-servers/ocsigenserver-2.8:=
-   >=dev-ml/tyxml-4:=
-   >=dev-ml/deriving-0.6:=
-   >=dev-ml/reactiveData-0.2.1:=
-   dev-ml/ocaml-ipaddr:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   >=dev-ml/lwt-2.5.0:=
-   dev-ml/camlp4:=
-   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
-DEPEND="${RDEPEND}
-   dev-ml/ocamlbuild
-   dev-ml/opam"
-
-src_compile() {
-   if use ocamlopt ; then
-   emake PPX=$(usex ppx true false) all
-   else
-   emake PPX=$(usex ppx true false) byte
-   fi
-   use doc && emake doc
-   emake man
-}
-
-src_install() {
-   opam-installer \
-   --prefix="${ED}/usr" \
-   --libdir="${D}/$(ocamlc -where)" \
-   --docdir="${ED}/usr/share/doc/${PF}" \
-   --mandir="${ED}/usr/share/man" \
-   || die
-   dodoc CHANGES README.md
-   if use doc ; then
-   docinto client/html
-   dodoc -r _build/src/lib/client/api.docdir/*
-   docinto server/html
-   dodoc -r _build/src/lib/server/api.docdir/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/files/, dev-ml/eliom/

2017-04-12 Thread Alexis Ballier
commit: 133e85b7d6febf3cf64a03dcca57c97974d255d7
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Apr 12 18:51:46 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Apr 12 19:20:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133e85b7

dev-ml/eliom: Fix build with lwt3.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-ml/eliom/eliom-6.2.0.ebuild |  5 +
 dev-ml/eliom/eliom-.ebuild  |  3 ++-
 dev-ml/eliom/files/lwt3.patch   | 44 +
 3 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-6.2.0.ebuild b/dev-ml/eliom/eliom-6.2.0.ebuild
index 49663b031da..b69350aae03 100644
--- a/dev-ml/eliom/eliom-6.2.0.ebuild
+++ b/dev-ml/eliom/eliom-6.2.0.ebuild
@@ -32,12 +32,17 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
dev-ml/react:=
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
+   dev-ml/lwt_react:=
dev-ml/camlp4:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}
dev-ml/ocamlbuild
dev-ml/opam"
 
+src_prepare() {
+   epatch "${FILESDIR}/lwt3.patch"
+}
+
 src_compile() {
if use ocamlopt ; then
emake PPX=$(usex ppx true false) all

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
index 74e7e33453c..42b48b1abdd 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,6 +32,7 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
dev-ml/react:=
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
+   dev-ml/lwt_react:=
dev-ml/camlp4:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}

diff --git a/dev-ml/eliom/files/lwt3.patch b/dev-ml/eliom/files/lwt3.patch
new file mode 100644
index 000..6b8d993fb68
--- /dev/null
+++ b/dev-ml/eliom/files/lwt3.patch
@@ -0,0 +1,44 @@
+Index: eliom-6.2.0/pkg/META
+===
+--- eliom-6.2.0.orig/pkg/META
 eliom-6.2.0/pkg/META
+@@ -13,7 +13,7 @@ package "server" (
+   react,
+   reactiveData,
+   tyxml,
+-  lwt.react,
++  lwt_react,
+   cryptokit,
+   reactiveData"
+   archive(byte) = "server.cma"
+@@ -49,7 +49,7 @@ package "client" (
+   js_of_ocaml.tyxml,
+   js_of_ocaml.log,
+   js_of_ocaml.weak,
+-  lwt.react,
++  lwt_react,
+   react,
+   reactiveData,
+   tyxml.functor"
+Index: eliom-6.2.0/src/_tags
+===
+--- eliom-6.2.0.orig/src/_tags
 eliom-6.2.0/src/_tags
+@@ -11,7 +11,7 @@ true:keep_locs
+ 
+ :thread
+ 
:package(lwt,ocsigenserver,ocsigenserver.ext,tyxml.functor)
+-:package(react,js_of_ocaml)
++:package(lwt_react,react,js_of_ocaml)
+ 
+ :package(js_of_ocaml.deriving.ppx)
+ 
+@@ -24,7 +24,7 @@ true:keep_locs
+ : eliom_ppx
+ 
:package(ocsigenserver.cookies,ocsigenserver.polytables,ocsigenserver.baselib.base)
+ :package(deriving.runtime,js_of_ocaml.deriving)
+-:package(lwt.react,tyxml.functor,js_of_ocaml.tyxml)
++:package(lwt_react,tyxml.functor,js_of_ocaml.tyxml)
+ :package(react,js_of_ocaml,reactiveData)
+ 
+ :package(js_of_ocaml.deriving.ppx)



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2017-02-08 Thread Alexis Ballier
commit: 64133d90f2f707b5e64ca69858572e4c24e80222
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Feb  8 11:10:06 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Feb  8 14:33:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64133d90

dev-ml/eliom: Bump to 6.2.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/eliom/Manifest   |  1 +
 dev-ml/eliom/eliom-6.2.0.ebuild | 66 +
 2 files changed, 67 insertions(+)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 2facc9d2cb..1f002683e8 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1 +1,2 @@
 DIST eliom-6.1.0.tar.gz 722881 SHA256 
cc27c90dfae92db69f23c9d1301d67433d71c7b8d83cba7253dd7d9c41728dbc SHA512 
ab389e8023de952f371209c5fe6863240214af559c4ae883dc9d3dc9f353afcc8e38292974c8c0a05c65213fe7dc0b350580c5c8647bba679a5ec0c44859621e
 WHIRLPOOL 
e4eeacc566db899ffbaab8dd58bf81dbb49ed18b27e4285669e809bc05232a4b212e0422e33580d40dbf1ec18f236e65ab09f790211693bfbf5882d269ea5137
+DIST eliom-6.2.0.tar.gz 724359 SHA256 
bda9ab348fb7a6a45f69e908bdc0ae2752b11a2dc199059b0dcd342a50a28405 SHA512 
02ea52c78470f97dd9f82218e82427ea2d2d0c9f261d1a9c2decbe7644c0bf583b77b8cef2577d5662d363efd276755f400e7a4c29c89a2265e49ca850db
 WHIRLPOOL 
f90b6a2b5d2e13d13164ae2b20200566bd44b2d68db9eb7d79e76ca27448cfe2b23bc57618a83368d587b268315fff2dd154fbb501a6ce0beda49d28d8b3dbec

diff --git a/dev-ml/eliom/eliom-6.2.0.ebuild b/dev-ml/eliom/eliom-6.2.0.ebuild
new file mode 100644
index 00..a17da8ae43
--- /dev/null
+++ b/dev-ml/eliom/eliom-6.2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/;
+
+if [ "${PV#}" != "${PV}" ] ; then
+   inherit git-r3
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/ocsigen/eliom;
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="doc +ocamlopt +ppx"
+
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
+   >=dev-ml/js_of_ocaml-2.8.2:=
+   >=www-servers/ocsigenserver-2.8:=
+   >=dev-ml/tyxml-4:=
+   >=dev-ml/deriving-0.6:=
+   >=dev-ml/reactiveData-0.2.1:=
+   dev-ml/ocaml-ipaddr:=
+   dev-ml/react:=
+   dev-ml/ocaml-ssl:=
+   >=dev-ml/lwt-2.5.0:=
+   dev-ml/camlp4:=
+   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
+DEPEND="${RDEPEND}
+   dev-ml/ocamlbuild
+   dev-ml/opam"
+
+src_compile() {
+   if use ocamlopt ; then
+   emake PPX=$(usex ppx true false) all
+   else
+   emake PPX=$(usex ppx true false) byte
+   fi
+   use doc && emake doc
+   emake man
+}
+
+src_install() {
+   opam-installer \
+   --prefix="${ED}/usr" \
+   --libdir="${D}/$(ocamlc -where)" \
+   --docdir="${ED}/usr/share/doc/${PF}" \
+   --mandir="${ED}/usr/share/man" \
+   || die
+   dodoc CHANGES README.md
+   if use doc ; then
+   docinto client/html
+   dodoc -r _build/src/lib/client/api.docdir/*
+   docinto server/html
+   dodoc -r _build/src/lib/server/api.docdir/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2017-01-24 Thread Alexis Ballier
commit: 2a255b5512319415163098fc3686c46c28b95af9
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jan 24 10:58:44 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jan 24 11:07:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a255b55

dev-ml/eliom: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/eliom/Manifest   |  1 -
 dev-ml/eliom/eliom-6.0.0.ebuild | 67 -
 2 files changed, 68 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 65faa63..2facc9d 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1,2 +1 @@
-DIST eliom-6.0.0.tar.gz 722673 SHA256 
ec5636481be98256b13a5e551f6a8c32662e1c3211887a22eedf5c8958f9 SHA512 
c59261bb6ba2303a7951de2e689abcb55af92b53a145d42054244d253b6757d72ba3f937772219b2b0aa5bccfe1a74baf62c938f40c1cce90720b6efe7be3b63
 WHIRLPOOL 
e4f8c44c16dbc33c7576a117a25cb2f709a893ad82baa517fb2d5a776b0838affbef56aba84a977903c71d32987f3d16af485c5cf81cc39395025d996226
 DIST eliom-6.1.0.tar.gz 722881 SHA256 
cc27c90dfae92db69f23c9d1301d67433d71c7b8d83cba7253dd7d9c41728dbc SHA512 
ab389e8023de952f371209c5fe6863240214af559c4ae883dc9d3dc9f353afcc8e38292974c8c0a05c65213fe7dc0b350580c5c8647bba679a5ec0c44859621e
 WHIRLPOOL 
e4eeacc566db899ffbaab8dd58bf81dbb49ed18b27e4285669e809bc05232a4b212e0422e33580d40dbf1ec18f236e65ab09f790211693bfbf5882d269ea5137

diff --git a/dev-ml/eliom/eliom-6.0.0.ebuild b/dev-ml/eliom/eliom-6.0.0.ebuild
deleted file mode 100644
index e8be0b7..
--- a/dev-ml/eliom/eliom-6.0.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-
-if [ "${PV#}" != "${PV}" ] ; then
-   inherit git-r3
-   SRC_URI=""
-   EGIT_REPO_URI="https://github.com/ocsigen/eliom;
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-IUSE="doc +ocamlopt +ppx"
-
-RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.8.2:=
-   >=www-servers/ocsigenserver-2.8:=
-   >=dev-ml/tyxml-4:=
-   >=dev-ml/deriving-0.6:=
-   >=dev-ml/reactiveData-0.2.1:=
-   dev-ml/ocaml-ipaddr:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   >=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:=
-   dev-ml/camlp4:=
-   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
-DEPEND="${RDEPEND}
-   dev-ml/ocamlbuild
-   dev-ml/opam"
-
-src_compile() {
-   if use ocamlopt ; then
-   emake PPX=$(usex ppx true false) all
-   else
-   emake PPX=$(usex ppx true false) byte
-   fi
-   use doc && emake doc
-   emake man
-}
-
-src_install() {
-   opam-installer \
-   --prefix="${ED}/usr" \
-   --libdir="${D}/$(ocamlc -where)" \
-   --docdir="${ED}/usr/share/doc/${PF}" \
-   --mandir="${ED}/usr/share/man" \
-   || die
-   dodoc CHANGES README.md
-   if use doc ; then
-   docinto client/html
-   dodoc -r _build/src/lib/client/api.docdir/*
-   docinto server/html
-   dodoc -r _build/src/lib/server/api.docdir/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-12-20 Thread Alexis Ballier
commit: e4217749b07bb40fb703ae0375c7a8d2fd5547e2
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Dec 20 15:57:13 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Dec 20 15:57:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4217749

dev-ml/eliom: bump to 6.1.0 and drop calendar dep.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/eliom/Manifest  | 1 +
 dev-ml/eliom/{eliom-.ebuild => eliom-6.1.0.ebuild} | 1 -
 dev-ml/eliom/eliom-.ebuild | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 3b5090e..65faa63 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1 +1,2 @@
 DIST eliom-6.0.0.tar.gz 722673 SHA256 
ec5636481be98256b13a5e551f6a8c32662e1c3211887a22eedf5c8958f9 SHA512 
c59261bb6ba2303a7951de2e689abcb55af92b53a145d42054244d253b6757d72ba3f937772219b2b0aa5bccfe1a74baf62c938f40c1cce90720b6efe7be3b63
 WHIRLPOOL 
e4f8c44c16dbc33c7576a117a25cb2f709a893ad82baa517fb2d5a776b0838affbef56aba84a977903c71d32987f3d16af485c5cf81cc39395025d996226
+DIST eliom-6.1.0.tar.gz 722881 SHA256 
cc27c90dfae92db69f23c9d1301d67433d71c7b8d83cba7253dd7d9c41728dbc SHA512 
ab389e8023de952f371209c5fe6863240214af559c4ae883dc9d3dc9f353afcc8e38292974c8c0a05c65213fe7dc0b350580c5c8647bba679a5ec0c44859621e
 WHIRLPOOL 
e4eeacc566db899ffbaab8dd58bf81dbb49ed18b27e4285669e809bc05232a4b212e0422e33580d40dbf1ec18f236e65ab09f790211693bfbf5882d269ea5137

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-6.1.0.ebuild
similarity index 98%
copy from dev-ml/eliom/eliom-.ebuild
copy to dev-ml/eliom/eliom-6.1.0.ebuild
index e8be0b7..cdb36d1 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-6.1.0.ebuild
@@ -33,7 +33,6 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
dev-ml/react:=
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:=
dev-ml/camlp4:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
index e8be0b7..cdb36d1 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -33,7 +33,6 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
dev-ml/react:=
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:=
dev-ml/camlp4:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-12-19 Thread Alexis Ballier
commit: 90c300d4d72b06a672e29bb44cd7985e01bac68d
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Dec 19 12:54:27 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Dec 19 12:54:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c300d4

dev-ml/eliom: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/eliom/Manifest  |1 -
 dev-ml/eliom/eliom-5.0.0-r2.ebuild |   67 --
 dev-ml/eliom/files/camlp4.patch|   48 -
 dev-ml/eliom/files/jsofocaml-282.patch |  361 ---
 dev-ml/eliom/files/oc43-2.patch|  136 ---
 dev-ml/eliom/files/oc43.patch  |   37 -
 dev-ml/eliom/files/ocsigen28.patch |  500 --
 dev-ml/eliom/files/reactivedata.patch  |   44 -
 dev-ml/eliom/files/tyxml4.patch| 1642 
 9 files changed, 2836 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 08bcca8..3b5090e 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1,2 +1 @@
-DIST eliom-5.0.0.tar.gz 728278 SHA256 
6726500f9a54478def95875d04098dc8dc829d4a10e06896ff4f037bb1c03cbd SHA512 
1c5297e376c3a46935de369b418638a772304246b73756f8bc052301b48d62a37af527274bf1a05064f33b60ff9dcde057a0030f083136fa4e1c0cfa07f01887
 WHIRLPOOL 
ca1186787a8f938cf029f9a5c9904ed0324a3d24d2f0d0834dd1e2b2f995de6d57d1040b4d128de8233255ca385478f0ba3bf597c2f0315ab2f1894118755dca
 DIST eliom-6.0.0.tar.gz 722673 SHA256 
ec5636481be98256b13a5e551f6a8c32662e1c3211887a22eedf5c8958f9 SHA512 
c59261bb6ba2303a7951de2e689abcb55af92b53a145d42054244d253b6757d72ba3f937772219b2b0aa5bccfe1a74baf62c938f40c1cce90720b6efe7be3b63
 WHIRLPOOL 
e4f8c44c16dbc33c7576a117a25cb2f709a893ad82baa517fb2d5a776b0838affbef56aba84a977903c71d32987f3d16af485c5cf81cc39395025d996226

diff --git a/dev-ml/eliom/eliom-5.0.0-r2.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
deleted file mode 100644
index 0807fa3..
--- a/dev-ml/eliom/eliom-5.0.0-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="doc +ocamlopt +ppx"
-
-RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.8.2:=
-   >=www-servers/ocsigenserver-2.8:=
-   >=dev-ml/tyxml-4:=
-   >=dev-ml/deriving-0.6:=
-   >=dev-ml/reactiveData-0.2.1:=
-   dev-ml/ocaml-ipaddr:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   >=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:=
-   dev-ml/camlp4:=
-   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
-DEPEND="${RDEPEND}
-   dev-ml/ocamlbuild
-   dev-ml/opam"
-
-src_prepare() {
-   epatch "${FILESDIR}/"{camlp4,oc43,oc43-2}.patch \
-   "${FILESDIR}/tyxml4.patch" \
-   "${FILESDIR}/jsofocaml-282.patch" \
-   "${FILESDIR}/reactivedata.patch" \
-   "${FILESDIR}/ocsigen28.patch"
-}
-
-src_compile() {
-   if use ocamlopt ; then
-   emake PPX=$(usex ppx true false) all
-   else
-   emake PPX=$(usex ppx true false) byte
-   fi
-   use doc && emake doc
-   emake man
-}
-
-src_install() {
-   opam-installer \
-   --prefix="${ED}/usr" \
-   --libdir="${D}/$(ocamlc -where)" \
-   --docdir="${ED}/usr/share/doc/${PF}" \
-   --mandir="${ED}/usr/share/man" \
-   || die
-   dodoc CHANGES README.md
-   if use doc ; then
-   docinto client/html
-   dodoc -r _build/src/lib/client/api.docdir/*
-   docinto server/html
-   dodoc -r _build/src/lib/server/api.docdir/*
-   fi
-}

diff --git a/dev-ml/eliom/files/camlp4.patch b/dev-ml/eliom/files/camlp4.patch
deleted file mode 100644
index 59e94ab..
--- a/dev-ml/eliom/files/camlp4.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-commit f157a5b913451b85e8cfe7549c66e5c98669233b
-Author: Vasilis Papavasileiou 
-Date:   Wed Mar 2 14:23:02 2016 +0100
-
-Compile against Camlp4 4.02+7
-
-diff --git a/src/syntax/pa_eliom_seed.ml b/src/syntax/pa_eliom_seed.ml
-index c101ff8..dc31caa 100644
 a/src/syntax/pa_eliom_seed.ml
-+++ b/src/syntax/pa_eliom_seed.ml
-@@ -632,8 +632,26 @@ module Register(Id : sig val name: string end)(Pass : 
Pass) = struct
- | None ->
- Printf.ksprintf (Syntax_error.raise loc) fmt
- 
--module E2 = Camlp4.ErrorHandler.Register(Syntax_error)
--DELETE_RULE Gram expr: "{"; TRY [label_expr_list; "}"] END;
-+module E2 = Camlp4.ErrorHandler.Register(Syntax_error) ;;
-+
-+try
-+  DELETE_RULE Gram expr: "{"; TRY 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-12-12 Thread Alexis Ballier
commit: 3ac49d2b0bd393c7b40e43355d419d2d9241900e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Dec 12 19:34:54 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Dec 12 19:42:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac49d2b

dev-ml/eliom: bump to 6.0.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/eliom/Manifest   |  1 +
 dev-ml/eliom/eliom-6.0.0.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 23b75fd..08bcca8 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1 +1,2 @@
 DIST eliom-5.0.0.tar.gz 728278 SHA256 
6726500f9a54478def95875d04098dc8dc829d4a10e06896ff4f037bb1c03cbd SHA512 
1c5297e376c3a46935de369b418638a772304246b73756f8bc052301b48d62a37af527274bf1a05064f33b60ff9dcde057a0030f083136fa4e1c0cfa07f01887
 WHIRLPOOL 
ca1186787a8f938cf029f9a5c9904ed0324a3d24d2f0d0834dd1e2b2f995de6d57d1040b4d128de8233255ca385478f0ba3bf597c2f0315ab2f1894118755dca
+DIST eliom-6.0.0.tar.gz 722673 SHA256 
ec5636481be98256b13a5e551f6a8c32662e1c3211887a22eedf5c8958f9 SHA512 
c59261bb6ba2303a7951de2e689abcb55af92b53a145d42054244d253b6757d72ba3f937772219b2b0aa5bccfe1a74baf62c938f40c1cce90720b6efe7be3b63
 WHIRLPOOL 
e4f8c44c16dbc33c7576a117a25cb2f709a893ad82baa517fb2d5a776b0838affbef56aba84a977903c71d32987f3d16af485c5cf81cc39395025d996226

diff --git a/dev-ml/eliom/eliom-6.0.0.ebuild b/dev-ml/eliom/eliom-6.0.0.ebuild
new file mode 100644
index ..e8be0b7
--- /dev/null
+++ b/dev-ml/eliom/eliom-6.0.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/;
+
+if [ "${PV#}" != "${PV}" ] ; then
+   inherit git-r3
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/ocsigen/eliom;
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="doc +ocamlopt +ppx"
+
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
+   >=dev-ml/js_of_ocaml-2.8.2:=
+   >=www-servers/ocsigenserver-2.8:=
+   >=dev-ml/tyxml-4:=
+   >=dev-ml/deriving-0.6:=
+   >=dev-ml/reactiveData-0.2.1:=
+   dev-ml/ocaml-ipaddr:=
+   dev-ml/react:=
+   dev-ml/ocaml-ssl:=
+   >=dev-ml/lwt-2.5.0:=
+   dev-ml/calendar:=
+   dev-ml/camlp4:=
+   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
+DEPEND="${RDEPEND}
+   dev-ml/ocamlbuild
+   dev-ml/opam"
+
+src_compile() {
+   if use ocamlopt ; then
+   emake PPX=$(usex ppx true false) all
+   else
+   emake PPX=$(usex ppx true false) byte
+   fi
+   use doc && emake doc
+   emake man
+}
+
+src_install() {
+   opam-installer \
+   --prefix="${ED}/usr" \
+   --libdir="${D}/$(ocamlc -where)" \
+   --docdir="${ED}/usr/share/doc/${PF}" \
+   --mandir="${ED}/usr/share/man" \
+   || die
+   dodoc CHANGES README.md
+   if use doc ; then
+   docinto client/html
+   dodoc -r _build/src/lib/client/api.docdir/*
+   docinto server/html
+   dodoc -r _build/src/lib/server/api.docdir/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-11-29 Thread Alexis Ballier
commit: fcffb8d89fec9ba93668a3fa48014b0802a3
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Nov 29 14:56:41 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Nov 29 15:05:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcffb8d8

dev-ml/eliom: bump js of ocaml dep in live ebuild

Package-Manager: portage-2.3.2

 dev-ml/eliom/eliom-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
index bc9355f..e8be0b7 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -24,7 +24,7 @@ SLOT="0/${PV}"
 IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.5-r1:=
+   >=dev-ml/js_of_ocaml-2.8.2:=
>=www-servers/ocsigenserver-2.8:=
>=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/files/, dev-ml/eliom/

2016-11-28 Thread Alexis Ballier
commit: 3259962977f7ec30f0803a904e748ce67f2638ab
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Nov 28 21:17:07 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Nov 28 21:17:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32599629

dev-ml/eliom: fix build with reactivedata 0.2.1 and ocsigenserver 2.8; bug 
#601102

Package-Manager: portage-2.3.2

 dev-ml/eliom/eliom-5.0.0-r2.ebuild|   8 +-
 dev-ml/eliom/eliom-.ebuild|   4 +-
 dev-ml/eliom/files/ocsigen28.patch| 500 ++
 dev-ml/eliom/files/reactivedata.patch |  44 +++
 4 files changed, 551 insertions(+), 5 deletions(-)

diff --git a/dev-ml/eliom/eliom-5.0.0-r2.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
index 6b4ae4b..0807fa3 100644
--- a/dev-ml/eliom/eliom-5.0.0-r2.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
@@ -17,10 +17,10 @@ IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
>=dev-ml/js_of_ocaml-2.8.2:=
-   >=www-servers/ocsigenserver-2.5:=
+   >=www-servers/ocsigenserver-2.8:=
>=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=
-   >=dev-ml/reactiveData-0.2:=
+   >=dev-ml/reactiveData-0.2.1:=
dev-ml/ocaml-ipaddr:=
dev-ml/react:=
dev-ml/ocaml-ssl:=
@@ -35,7 +35,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
epatch "${FILESDIR}/"{camlp4,oc43,oc43-2}.patch \
"${FILESDIR}/tyxml4.patch" \
-   "${FILESDIR}/jsofocaml-282.patch"
+   "${FILESDIR}/jsofocaml-282.patch" \
+   "${FILESDIR}/reactivedata.patch" \
+   "${FILESDIR}/ocsigen28.patch"
 }
 
 src_compile() {

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
index f408965..bc9355f 100644
--- a/dev-ml/eliom/eliom-.ebuild
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -25,10 +25,10 @@ IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
>=dev-ml/js_of_ocaml-2.5-r1:=
-   >=www-servers/ocsigenserver-2.5:=
+   >=www-servers/ocsigenserver-2.8:=
>=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=
-   >=dev-ml/reactiveData-0.2:=
+   >=dev-ml/reactiveData-0.2.1:=
dev-ml/ocaml-ipaddr:=
dev-ml/react:=
dev-ml/ocaml-ssl:=

diff --git a/dev-ml/eliom/files/ocsigen28.patch 
b/dev-ml/eliom/files/ocsigen28.patch
new file mode 100644
index ..fb3ef0a
--- /dev/null
+++ b/dev-ml/eliom/files/ocsigen28.patch
@@ -0,0 +1,500 @@
+Index: eliom-5.0.0/src/lib/eliom_common.server.ml
+===
+--- eliom-5.0.0.orig/src/lib/eliom_common.server.ml
 eliom-5.0.0/src/lib/eliom_common.server.ml
+@@ -1372,7 +1372,7 @@ let create_persistent_table name =
+ 
+ let persistent_cookies_table :
+ (full_state_name * float option * timeout * perssessgrp option)
+-Ocsipersist.table Lazy.t =
++Ocsipersist.table Lwt.t Lazy.t =
+   lazy (create_persistent_table eliom_persistent_cookie_table)
+ (* Another tables, containing the session info for each cookie *)
+ (* the table contains:
+@@ -1390,7 +1390,7 @@ let persistent_cookies_table :
+ let remove_from_all_persistent_tables key =
+   Perstables.fold (* could be replaced by a parallel map *)
+ (fun thr t -> thr >>= fun () ->
+-  Ocsipersist.remove (Ocsipersist.open_table t) key >>= Lwt_unix.yield)
++  Ocsipersist.open_table t >>= fun table -> Ocsipersist.remove table key 
>>= Lwt_unix.yield)
+ (return ())
+ !perstables
+ 
+Index: eliom-5.0.0/src/lib/eliom_common.server.mli
+===
+--- eliom-5.0.0.orig/src/lib/eliom_common.server.mli
 eliom-5.0.0/src/lib/eliom_common.server.mli
+@@ -609,10 +609,10 @@ module Perstables :
+ val fold : ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
+   end
+ val perstables : string list ref
+-val create_persistent_table : string -> 'a Ocsipersist.table
++val create_persistent_table : string -> 'a Ocsipersist.table Lwt.t
+ val persistent_cookies_table :
+   (full_state_name * float option * timeout * perssessgrp option)
+-  Ocsipersist.table Lazy.t
++  Ocsipersist.table Lwt.t Lazy.t
+ val remove_from_all_persistent_tables : string -> unit Lwt.t
+ val absolute_change_sitedata : sitedata -> unit
+ val get_current_sitedata : unit -> sitedata
+Index: eliom-5.0.0/src/lib/eliom_reference.server.ml
+===
+--- eliom-5.0.0.orig/src/lib/eliom_reference.server.ml
 eliom-5.0.0/src/lib/eliom_reference.server.ml
+@@ -32,8 +32,8 @@ type 'a eref_kind =
+   | Ref of 'a lazy_t ref (* Ocaml reference *)
+   | Vol of 'a volatile_table Lazy.t (* Vol. table (group, session, process) *)
+   | Ocsiper of 'a option Ocsipersist.t Lwt.t (* Global persist. table *)
+-  | Ocsiper_sit of 'a Ocsipersist.table (* Persist. table for site *)
+-  | Per of 'a persistent_table (* Persist. table for group session or process 
*)
++  

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-10-10 Thread Alexis Ballier
commit: f2518d6d2f139f677c63c9edc39511dc83c9c852
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Oct 10 14:03:22 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Oct 10 14:03:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2518d6d

dev-ml/eliom: fix build with js of ocaml 2.8.2, bug #593978.

Also, make all patches mandatory and bump required versions in deps.

Package-Manager: portage-2.3.1

 dev-ml/eliom/eliom-5.0.0-r2.ebuild |  13 +-
 dev-ml/eliom/files/jsofocaml-282.patch | 361 +
 2 files changed, 367 insertions(+), 7 deletions(-)

diff --git a/dev-ml/eliom/eliom-5.0.0-r2.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
index 36923d1..6b4ae4b 100644
--- a/dev-ml/eliom/eliom-5.0.0-r2.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
@@ -15,10 +15,10 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="doc +ocamlopt +ppx"
 
-RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.5-r1:=
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
+   >=dev-ml/js_of_ocaml-2.8.2:=
>=www-servers/ocsigenserver-2.5:=
-   >=dev-ml/tyxml-3.6:=
+   >=dev-ml/tyxml-4:=
>=dev-ml/deriving-0.6:=
>=dev-ml/reactiveData-0.2:=
dev-ml/ocaml-ipaddr:=
@@ -33,10 +33,9 @@ DEPEND="${RDEPEND}
dev-ml/opam"
 
 src_prepare() {
-   if has_version '>=dev-lang/ocaml-4.03' ; then
-   epatch "${FILESDIR}/"{camlp4,oc43,oc43-2}.patch
-   fi
-   has_version '>=dev-ml/tyxml-4' && epatch "${FILESDIR}/tyxml4.patch"
+   epatch "${FILESDIR}/"{camlp4,oc43,oc43-2}.patch \
+   "${FILESDIR}/tyxml4.patch" \
+   "${FILESDIR}/jsofocaml-282.patch"
 }
 
 src_compile() {

diff --git a/dev-ml/eliom/files/jsofocaml-282.patch 
b/dev-ml/eliom/files/jsofocaml-282.patch
new file mode 100644
index ..985432f
--- /dev/null
+++ b/dev-ml/eliom/files/jsofocaml-282.patch
@@ -0,0 +1,361 @@
+Backported from:
+
+commit 4edaf2275e2f7a027f3c7dc52e1e295a6e56b19a
+Author: Vasilis Papavasileiou 
+Date:   Thu Aug 18 19:40:56 2016 +0200
+
+Fix ocsigen/js_of_ocaml#518
+
+upstream.
+
+Index: eliom-5.0.0/src/lib/eliom_client.client.ml
+===
+--- eliom-5.0.0.orig/src/lib/eliom_client.client.ml
 eliom-5.0.0/src/lib/eliom_client.client.ml
+@@ -461,23 +461,29 @@ let raw_event_handler value =
+ 
+ let closure_name_prefix = Eliom_lib_base.RawXML.closure_name_prefix
+ let closure_name_prefix_len = String.length closure_name_prefix
+-let reify_caml_event name node ce : string * (#Dom_html.event Js.t -> bool) =
++let reify_caml_event name node ce =
+   match ce with
+-  | Xml.CE_call_service None -> name,(fun _ -> true)
++  | Xml.CE_call_service None -> name, `Other (fun _ -> true)
+   | Xml.CE_call_service (Some (`A, cookies_info, tmpl)) ->
+-name, (fun ev ->
++name, `Other (fun ev ->
+   let node = Js.Opt.get (Dom_html.CoerceTo.a node)
+   (fun () -> Lwt_log.raise_error ~section "not an anchor element")
+   in
+   raw_a_handler node cookies_info tmpl ev)
+   | Xml.CE_call_service
+   (Some ((`Form_get | `Form_post) as kind, cookies_info, tmpl)) ->
+-name, (fun ev ->
++name, `Other (fun ev ->
+   let form = Js.Opt.get (Dom_html.CoerceTo.form node)
+   (fun () -> Lwt_log.raise_error ~section "not a form element") in
+   raw_form_handler form kind cookies_info tmpl ev)
+   | Xml.CE_client_closure f ->
+-  name, (fun ev -> try f ev; true with False -> false)
++  name, `Other (fun ev -> try f ev; true with False -> false)
++  | Xml.CE_client_closure_keyboard f ->
++  name,
++  `Keyboard (fun ev -> try f ev; true with Eliom_lib.False -> false)
++  | Xml.CE_client_closure_mouse f ->
++  name,
++  `Mouse (fun ev -> try f ev; true with Eliom_lib.False -> false)
+   | Xml.CE_registered_closure (_, cv) ->
+ let name =
+   let len = String.length name in
+@@ -485,16 +491,27 @@ let reify_caml_event name node ce : stri
+   then String.sub name closure_name_prefix_len
+   (len - closure_name_prefix_len)
+   else name in
+-name, raw_event_handler cv
++name, `Other (raw_event_handler cv)
+ 
+ let register_event_handler, flush_load_script =
+   let add, _, flush = create_buffer () in
+   let register node (name, ev) =
+-let name,f = reify_caml_event name node ev in
+-if name = "onload"
+-then add f
+-else Js.Unsafe.set node (Js.bytestring name)
+-(Dom_html.handler (fun ev -> Js.bool (f ev)))
++ match reify_caml_event name node ev with
++ | "onload", `Other f ->
++   add f
++ | "onload", `Keyboard _ ->
++   failwith "keyboard event handler for onload"
++ | "onload", `Mouse _ ->
++   failwith "keyboard event handler for onload"
++ | name, `Other f ->
++   Js.Unsafe.set node (Js.bytestring name)
++ (Dom_html.handler (fun ev -> Js.bool (f 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/files/, dev-ml/eliom/

2016-09-07 Thread Alexis Ballier
commit: 56013d6071db66e97a6a7193594792b595610f3a
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Sep  7 09:33:53 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Sep  7 09:34:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56013d60

dev-ml/eliom: backport another patch from upstream to work with ocaml 4.03

Package-Manager: portage-2.3.0

 ...eliom-5.0.0-r1.ebuild => eliom-5.0.0-r2.ebuild} |   2 +-
 dev-ml/eliom/files/oc43-2.patch| 136 +
 2 files changed, 137 insertions(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-5.0.0-r1.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
similarity index 96%
rename from dev-ml/eliom/eliom-5.0.0-r1.ebuild
rename to dev-ml/eliom/eliom-5.0.0-r2.ebuild
index 8aaec1f..36923d1 100644
--- a/dev-ml/eliom/eliom-5.0.0-r1.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0-r2.ebuild
@@ -34,7 +34,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
if has_version '>=dev-lang/ocaml-4.03' ; then
-   epatch "${FILESDIR}/"{camlp4,oc43}.patch
+   epatch "${FILESDIR}/"{camlp4,oc43,oc43-2}.patch
fi
has_version '>=dev-ml/tyxml-4' && epatch "${FILESDIR}/tyxml4.patch"
 }

diff --git a/dev-ml/eliom/files/oc43-2.patch b/dev-ml/eliom/files/oc43-2.patch
new file mode 100644
index ..c7eb8e2
--- /dev/null
+++ b/dev-ml/eliom/files/oc43-2.patch
@@ -0,0 +1,136 @@
+commit 27c69ac5dfbc26744e304232bb8c0cf22d396082
+Author: Vasilis Papavasileiou 
+Date:   Thu May 5 11:14:02 2016 -0400
+
+Fix PPX for 4.03 (empty let bindings)
+
+diff --git a/src/ppx/ppx_eliom_client.ml b/src/ppx/ppx_eliom_client.ml
+index 580d2b5..fb2d263 100644
+--- a/src/ppx/ppx_eliom_client.ml
 b/src/ppx/ppx_eliom_client.ml
+@@ -89,21 +89,25 @@ module Pass = struct
+ ]
+ 
+   let define_client_functions ~loc client_value_datas =
+-let bindings =
+-  List.map
+-(fun (_num, id, expr, args) ->
+-   let patt = Pat.var id in
+-   let typ = find_fragment id in
+-   let args = List.map Pat.var args in
+-   let expr =
+- [%expr
+-   fun [%p pat_args args] -> ([%e expr] : [%t typ])
+- ] [@metaloc loc]
+-   in
+-   Vb.mk ~loc patt expr)
+-client_value_datas
+-in
+-Str.value ~loc Nonrecursive bindings
++match client_value_datas with
++| [] ->
++  []
++| _ ->
++  let bindings =
++List.map
++  (fun (_num, id, expr, args) ->
++ let patt = Pat.var id in
++ let typ = find_fragment id in
++ let args = List.map Pat.var args in
++ let expr =
++   [%expr
++ fun [%p pat_args args] -> ([%e expr] : [%t typ])
++   ] [@metaloc loc]
++ in
++ Vb.mk ~loc patt expr)
++  client_value_datas
++  in
++  [Str.value ~loc Nonrecursive bindings]
+ 
+   (* For injections *)
+ 
+@@ -139,8 +143,8 @@ module Pass = struct
+ let client_expr_data = flush_client_value_datas () in
+ open_client_section loc ::
+ register_client_closures client_expr_data @
+-[ define_client_functions loc client_expr_data ;
+-  item ;
++define_client_functions loc client_expr_data @
++[ item ;
+   close_server_section loc ;
+ ]
+ 
+@@ -155,11 +159,13 @@ module Pass = struct
+ push_client_value_data num id expr
+   (List.map fst escaped_bindings);
+ 
+-match context with
+-| `Server ->
++match context, escaped_bindings with
++| `Server, _ ->
+   (* We are in a server fragment, this code should always be discarded. *)
+   Exp.extension @@ AM.extension_of_error @@ Location.errorf "Eliom: ICE"
+-| `Shared ->
++| `Shared, [] ->
++  [%expr [%e frag_eid] ()][@metaloc loc]
++| `Shared, _ ->
+   let bindings =
+ List.map
+   (fun (gen_id, expr) ->
+diff --git a/src/ppx/ppx_eliom_server.ml b/src/ppx/ppx_eliom_server.ml
+index 97f0b53..b5238ad 100644
+--- a/src/ppx/ppx_eliom_server.ml
 b/src/ppx/ppx_eliom_server.ml
+@@ -85,6 +85,7 @@ module Pass = struct
+  let $gen_id$ = $orig_expr$ and ...
+  (Necessary for injections in shared section) *)
+   let bind_injected_idents injections =
++assert (injections <> []);
+ let bindings =
+   List.map
+ (fun (txt, expr,_) ->
+@@ -134,10 +135,15 @@ module Pass = struct
+ 
+   let client_str item =
+ let all_injections = flush_injections () in
+-let loc = item.pstr_loc in
+-[ bind_injected_idents all_injections;
++let ccs =
++  let loc = item.pstr_loc in
+   close_client_section loc all_injections
+-]
++in
++match all_injections with
++| [] ->
++  [ ccs ]
++| l ->
++  [ bind_injected_idents l ; ccs ]
+ 
+   let server_str item = [
+ item ;
+@@ -146,12 +152,19 @@ module Pass = struct
+ 
+   let shared_str item =
+ let all_injections = 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-09-06 Thread Alexis Ballier
commit: 58fd5dcd4938a9f962654880520b9e57322080a3
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Sep  6 14:13:21 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Sep  6 14:17:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58fd5dcd

dev-ml/eliom: add live ebuild

Package-Manager: portage-2.3.0

 dev-ml/eliom/eliom-.ebuild | 67 ++
 1 file changed, 67 insertions(+)

diff --git a/dev-ml/eliom/eliom-.ebuild b/dev-ml/eliom/eliom-.ebuild
new file mode 100644
index ..f408965
--- /dev/null
+++ b/dev-ml/eliom/eliom-.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/;
+
+if [ "${PV#}" != "${PV}" ] ; then
+   inherit git-r3
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/ocsigen/eliom;
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="doc +ocamlopt +ppx"
+
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]
+   >=dev-ml/js_of_ocaml-2.5-r1:=
+   >=www-servers/ocsigenserver-2.5:=
+   >=dev-ml/tyxml-4:=
+   >=dev-ml/deriving-0.6:=
+   >=dev-ml/reactiveData-0.2:=
+   dev-ml/ocaml-ipaddr:=
+   dev-ml/react:=
+   dev-ml/ocaml-ssl:=
+   >=dev-ml/lwt-2.5.0:=
+   dev-ml/calendar:=
+   dev-ml/camlp4:=
+   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
+DEPEND="${RDEPEND}
+   dev-ml/ocamlbuild
+   dev-ml/opam"
+
+src_compile() {
+   if use ocamlopt ; then
+   emake PPX=$(usex ppx true false) all
+   else
+   emake PPX=$(usex ppx true false) byte
+   fi
+   use doc && emake doc
+   emake man
+}
+
+src_install() {
+   opam-installer \
+   --prefix="${ED}/usr" \
+   --libdir="${D}/$(ocamlc -where)" \
+   --docdir="${ED}/usr/share/doc/${PF}" \
+   --mandir="${ED}/usr/share/man" \
+   || die
+   dodoc CHANGES README.md
+   if use doc ; then
+   docinto client/html
+   dodoc -r _build/src/lib/client/api.docdir/*
+   docinto server/html
+   dodoc -r _build/src/lib/server/api.docdir/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-08-12 Thread Alexis Ballier
commit: 32979e040b3dc7141de2323645bc2d7955a5ce26
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Aug 12 12:46:21 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Aug 12 12:47:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32979e04

dev-ml/eliom: fix build with tyxml4

Package-Manager: portage-2.3.0

 dev-ml/eliom/eliom-5.0.0-r1.ebuild |1 +
 dev-ml/eliom/files/tyxml4.patch| 1642 
 2 files changed, 1643 insertions(+)

diff --git a/dev-ml/eliom/eliom-5.0.0-r1.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r1.ebuild
index b5103a3..8aaec1f 100644
--- a/dev-ml/eliom/eliom-5.0.0-r1.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0-r1.ebuild
@@ -36,6 +36,7 @@ src_prepare() {
if has_version '>=dev-lang/ocaml-4.03' ; then
epatch "${FILESDIR}/"{camlp4,oc43}.patch
fi
+   has_version '>=dev-ml/tyxml-4' && epatch "${FILESDIR}/tyxml4.patch"
 }
 
 src_compile() {

diff --git a/dev-ml/eliom/files/tyxml4.patch b/dev-ml/eliom/files/tyxml4.patch
new file mode 100644
index 000..bf749e4
--- /dev/null
+++ b/dev-ml/eliom/files/tyxml4.patch
@@ -0,0 +1,1642 @@
+Index: eliom-5.0.0/src/lib/eliom_content.client.mli
+===
+--- eliom-5.0.0.orig/src/lib/eliom_content.client.mli
 eliom-5.0.0/src/lib/eliom_content.client.mli
+@@ -292,7 +292,7 @@ module Html5 : sig
+ See {% <> %} *)
+ 
+ (** Cf. {% <> %}. *)
+-module Raw : Html5_sigs.Make(Xml)(Svg.F.Raw).T
++module Raw : Html_sigs.Make(Xml)(Svg.F.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -313,7 +313,7 @@ module Html5 : sig
+ See {% <> %} *)
+ 
+ (** Cf. {% <> %}. *)
+-module Raw : Html5_sigs.Make(Xml)(Svg.D.Raw).T
++module Raw : Html_sigs.Make(Xml)(Svg.D.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -352,7 +352,7 @@ module Html5 : sig
+ val filter_attrib : 'a attrib -> bool React.signal -> 'a attrib
+ 
+ (** Cf. {% <> %}. *)
+-module Raw : Html5_sigs.Make(Eliom_content_core.Xml_wed)(Svg.R.Raw).T
++module Raw : Html_sigs.Make(Eliom_content_core.Xml_wed)(Svg.R.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+Index: eliom-5.0.0/src/lib/eliom_content.server.mli
+===
+--- eliom-5.0.0.orig/src/lib/eliom_content.server.mli
 eliom-5.0.0/src/lib/eliom_content.server.mli
+@@ -309,7 +309,7 @@ module Html5 : sig
+ {{:http://ocsigen.org/howto/forms/}"how to make forms"} *)
+ 
+ (** See {% <> %}. *)
+-module Raw : Html5_sigs.Make(Xml)(Svg.F.Raw).T
++module Raw : Html_sigs.Make(Xml)(Svg.F.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -337,7 +337,7 @@ module Html5 : sig
+ {{:http://ocsigen.org/howto/forms/}"how to make forms"} *)
+ 
+ (** See {% <> %}. *)
+-module Raw : Html5_sigs.Make(Xml)(Svg.D.Raw).T
++module Raw : Html_sigs.Make(Xml)(Svg.D.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -406,7 +406,7 @@ module Html5 : sig
+   {% <> %}. *)
+   module R : sig
+ 
+-include Html5_sigs.Make(Xml_shared)(Svg.R.Raw).T
++include Html_sigs.Make(Xml_shared)(Svg.R.Raw).T
+   with type 'a elt = 'a elt
+and type 'a attrib = 'a attrib
+ 
+@@ -414,7 +414,7 @@ module Html5 : sig
+ [\[> Html5_types.span\] elt]
+ out of the string signal [s]. *)
+ val pcdata :
+-  string Eliom_shared.React.S.t -> [> Html5_types.span] elt
++  string Eliom_shared.React.S.t -> [> Html_types.span] elt
+ 
+ (** [node s] produces an ['a elt] out of the shared reactive
+ signal [s]. *)
+Index: eliom-5.0.0/src/lib/eliom_content_core.client.ml
+===
+--- eliom-5.0.0.orig/src/lib/eliom_content_core.client.ml
 eliom-5.0.0/src/lib/eliom_content_core.client.ml
+@@ -175,7 +175,7 @@ end
+ 
+ module Xml_wed =
+ struct
+-  module W = Tyxml_js.Xml_wrap
++  module W = Tyxml_js.Wrap
+   type 'a wrap = 'a W.t
+   type 'a list_wrap = 'a W.tlist
+   type uri = Xml.uri
+@@ -188,7 +188,7 @@ struct
+   type attrib = Xml.attrib
+ 
+   let float_attrib name s : attrib =
+-name, Xml.RAReact (Tyxml_js.Xml_wrap.fmap (fun f -> Some (Xml.AFloat f)) 
s)
++name, Xml.RAReact (Tyxml_js.Wrap.fmap (fun f -> Some (Xml.AFloat f)) s)
+   let int_attrib name s =
+ name, Xml.RAReact (React.S.map (fun f -> Some (Xml.AInt f)) s)
+   let string_attrib name s =
+@@ -320,7 +320,7 @@ module Html5 = struct
+   let lazy_node ?(a = []) name children =
+ make (Node (name, a, Eliom_lazy.force children))
+ end
+-module Raw = Html5_f.Make(Xml')(Svg.D.Raw)
++module Raw = Html_f.Make(Xml')(Svg.D.Raw)
+ 
+ include Raw
+ 
+@@ -340,7 +340,7 @@ module Html5 = struct
+ 
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-08-12 Thread Alexis Ballier
commit: 6a42f01bcca5713a9f6a7c1ed81441c8213af56b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Aug 12 11:02:07 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Aug 12 11:03:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a42f01b

dev-ml/eliom: fix build with ocaml 4.03 and add missing dep on camlp4

Package-Manager: portage-2.3.0

 .../{eliom-5.0.0.ebuild => eliom-5.0.0-r1.ebuild}  |  9 +++-
 dev-ml/eliom/files/camlp4.patch| 48 ++
 dev-ml/eliom/files/oc43.patch  | 37 +
 3 files changed, 93 insertions(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild 
b/dev-ml/eliom/eliom-5.0.0-r1.ebuild
similarity index 88%
rename from dev-ml/eliom/eliom-5.0.0.ebuild
rename to dev-ml/eliom/eliom-5.0.0-r1.ebuild
index e0d8cb7..b5103a3 100644
--- a/dev-ml/eliom/eliom-5.0.0.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,11 +26,18 @@ RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
dev-ml/calendar:=
+   dev-ml/camlp4:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}
dev-ml/ocamlbuild
dev-ml/opam"
 
+src_prepare() {
+   if has_version '>=dev-lang/ocaml-4.03' ; then
+   epatch "${FILESDIR}/"{camlp4,oc43}.patch
+   fi
+}
+
 src_compile() {
if use ocamlopt ; then
emake PPX=$(usex ppx true false) all

diff --git a/dev-ml/eliom/files/camlp4.patch b/dev-ml/eliom/files/camlp4.patch
new file mode 100644
index 000..59e94ab
--- /dev/null
+++ b/dev-ml/eliom/files/camlp4.patch
@@ -0,0 +1,48 @@
+commit f157a5b913451b85e8cfe7549c66e5c98669233b
+Author: Vasilis Papavasileiou 
+Date:   Wed Mar 2 14:23:02 2016 +0100
+
+Compile against Camlp4 4.02+7
+
+diff --git a/src/syntax/pa_eliom_seed.ml b/src/syntax/pa_eliom_seed.ml
+index c101ff8..dc31caa 100644
+--- a/src/syntax/pa_eliom_seed.ml
 b/src/syntax/pa_eliom_seed.ml
+@@ -632,8 +632,26 @@ module Register(Id : sig val name: string end)(Pass : 
Pass) = struct
+ | None ->
+ Printf.ksprintf (Syntax_error.raise loc) fmt
+ 
+-module E2 = Camlp4.ErrorHandler.Register(Syntax_error)
+-DELETE_RULE Gram expr: "{"; TRY [label_expr_list; "}"] END;
++module E2 = Camlp4.ErrorHandler.Register(Syntax_error) ;;
++
++try
++  DELETE_RULE Gram expr: "{"; TRY [label_expr_list; "}"] END
++with Camlp4.Struct.Grammar.Delete.Rule_not_found _ ->
++  (let test_record_field =
++ Gram.Entry.of_parser "record_field" (fun strm ->
++   let rec loop = function
++ | [] -> ()
++ | (UIDENT _, _) :: (KEYWORD ".", _) :: rest -> loop rest
++ | (LIDENT _, _) :: (KEYWORD "=", _) :: _-> ()
++ | (LIDENT _, _) :: (KEYWORD ";", _) :: _-> ()
++ | [LIDENT _, _] -> ()
++ | _ -> raise Stream.Failure
++   in
++   loop (Stream.npeek 100 strm))
++   in
++   DELETE_RULE Gram expr:
++ "{"; test_record_field; label_expr_list; "}" END) ;;
++
+ DELETE_RULE Gram expr: "{"; TRY [expr LEVEL "."; "with"]; 
label_expr_list; "}" END;
+ 
+ (* Extending syntax *)
+@@ -812,7 +830,7 @@ module Register(Id : sig val name: string end)(Pass : 
Pass) = struct
+   expr: LEVEL "simple"
+ 
+ [ [ KEYWORD "{"; lel = TRY [lel = label_expr_list; "}" -> lel] ->
+-  <:expr< { $lel$ } >>
++Ast.ExRec (_loc, lel, Ast.ExNil _loc)
+   | KEYWORD "{shared#";
+ typ = TRY [ typ = OPT ctyp; KEYWORD "{" -> typ];
+ opt_lvl = dummy_set_level_shared_value_expr ;

diff --git a/dev-ml/eliom/files/oc43.patch b/dev-ml/eliom/files/oc43.patch
new file mode 100644
index 000..07d2729
--- /dev/null
+++ b/dev-ml/eliom/files/oc43.patch
@@ -0,0 +1,37 @@
+Index: eliom-5.0.0/src/lib/eliom_lib.client.mli
+===
+--- eliom-5.0.0.orig/src/lib/eliom_lib.client.mli
 eliom-5.0.0/src/lib/eliom_lib.client.mli
+@@ -43,7 +43,6 @@ type 'a shared_value = 'a
+ 
+ val create_shared_value : 'a -> 'a client_value -> 'a shared_value
+ 
+-exception Eliom_Internal_Error of string
+ 
+ (** This exception is raised (in Lwt) on the client if a call to a
+ server function {% < <:sig_item< >>
+   | si -> super#sig_item si
+ method ctyp ty = match ty with



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-03-01 Thread Alexis Ballier
commit: e067309e56938e04143648c3c132fa48e4a78873
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Mar  1 18:24:38 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Mar  1 18:47:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e067309e

dev-ml/eliom: add ocamlbuild dep

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/eliom-5.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild b/dev-ml/eliom/eliom-5.0.0.ebuild
index eccf3a5..e0d8cb7 100644
--- a/dev-ml/eliom/eliom-5.0.0.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0.ebuild
@@ -28,6 +28,7 @@ RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
dev-ml/calendar:=
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}
+   dev-ml/ocamlbuild
dev-ml/opam"
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-03-01 Thread Alexis Ballier
commit: ad65b34eb91da0472da2906d65a125f60f9f7d69
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Mar  1 18:24:11 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Mar  1 18:47:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad65b34e

dev-ml/eliom: remove old

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/Manifest|   1 -
 dev-ml/eliom/eliom-4.2.ebuild|  60 ---
 dev-ml/eliom/files/tyxml36.patch | 125 ---
 3 files changed, 186 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index d175232..23b75fd 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1,2 +1 @@
-DIST eliom-4.2.tar.gz 699337 SHA256 
30d180b72d21177d09b311785e08e54cc221b148d969f17334f8be6eecfb783d SHA512 
c7c75dc00defe0c269aba4e4fbdc00a824b781b124e3f51747e29533c4aeedaecb68c7ebcb38b4cc9a51c3796abdfa680ba0702a83415911406b25cd07ad66c7
 WHIRLPOOL 
2a36deeb10cbf3b29c76b33185de1c848615293830f7a3701c2d87025be0ed575cdadf238c696ad4716e50f2b0258febef7b7039a1980aafeaf6e1c483ec46ca
 DIST eliom-5.0.0.tar.gz 728278 SHA256 
6726500f9a54478def95875d04098dc8dc829d4a10e06896ff4f037bb1c03cbd SHA512 
1c5297e376c3a46935de369b418638a772304246b73756f8bc052301b48d62a37af527274bf1a05064f33b60ff9dcde057a0030f083136fa4e1c0cfa07f01887
 WHIRLPOOL 
ca1186787a8f938cf029f9a5c9904ed0324a3d24d2f0d0834dd1e2b2f995de6d57d1040b4d128de8233255ca385478f0ba3bf597c2f0315ab2f1894118755dca

diff --git a/dev-ml/eliom/eliom-4.2.ebuild b/dev-ml/eliom/eliom-4.2.ebuild
deleted file mode 100644
index 4f7efd7..000
--- a/dev-ml/eliom/eliom-4.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="doc +ocamlopt"
-
-RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.5-r1:=
-   >=www-servers/ocsigenserver-2.5:=
-   >=dev-ml/tyxml-3.6:=
-   >=dev-ml/deriving-0.6:=
-   dev-ml/reactiveData:=
-   dev-ml/ocaml-ipaddr:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   >=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:="
-DEPEND="${RDEPEND}
-   dev-ml/opam"
-
-src_prepare() {
-   epatch "${FILESDIR}/tyxml36.patch"
-}
-
-src_compile() {
-   if use ocamlopt ; then
-   emake all
-   else
-   emake byte
-   fi
-   use doc && emake doc
-   emake man
-}
-
-src_install() {
-   opam-installer \
-   --prefix="${ED}/usr" \
-   --libdir="${D}/$(ocamlc -where)" \
-   --docdir="${ED}/usr/share/doc/${PF}" \
-   --mandir="${ED}/usr/share/man" \
-   || die
-   dodoc CHANGES README
-   if use doc ; then
-   docinto client/html
-   dodoc -r _build/src/lib/client/api.docdir/*
-   docinto server/html
-   dodoc -r _build/src/lib/server/api.docdir/*
-   fi
-}

diff --git a/dev-ml/eliom/files/tyxml36.patch b/dev-ml/eliom/files/tyxml36.patch
deleted file mode 100644
index 02ac3f1..000
--- a/dev-ml/eliom/files/tyxml36.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-Backported from:
-
-commit e2629e9affcaefbe9e0f36212fe3f385a780
-Author: Vasilis Papavasileiou 
-Date:   Thu Aug 6 13:23:29 2015 +0200
-
-update for new-style TyXML wrapping
-
-
-Index: eliom-4.2/src/lib/eliom_content.client.mli
-===
 eliom-4.2.orig/src/lib/eliom_content.client.mli
-+++ eliom-4.2/src/lib/eliom_content.client.mli
-@@ -74,7 +74,7 @@ module Svg : sig
- 
-   (** Creation of reactive content *)
-   module R : sig
--module Raw : Svg_sigs.MakeWrapped(Tyxml_js.Xml_wrap)(Xml).T
-+module Raw : Svg_sigs.Make(Eliom_content_core.Xml_wed).T
-   with type +'a elt = 'a elt
-and type +'a attrib = 'a attrib
- 
-@@ -397,7 +397,7 @@ module Html5 : sig
- val filter_attrib : 'a attrib -> bool React.signal -> 'a attrib
- 
- (** Cf. {% <> %}. *)
--module Raw : Html5_sigs.MakeWrapped(Tyxml_js.Xml_wrap)(Xml)(Svg.R.Raw).T
-+module Raw : Html5_sigs.Make(Eliom_content_core.Xml_wed)(Svg.R.Raw).T
-   with type +'a elt = 'a elt
-and type +'a attrib = 'a attrib
- 
-Index: eliom-4.2/src/lib/eliom_content_core.client.ml
-===
 eliom-4.2.orig/src/lib/eliom_content_core.client.ml
-+++ eliom-4.2/src/lib/eliom_content_core.client.ml
-@@ -26,6 +26,7 @@ open Eliom_lib
- 
- module Xml = struct
-   include RawXML
-+  module W = Xml_wrap.NoWrap

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-01-30 Thread Alexis Ballier
commit: 82075dd45f46b928be13521857246adc603aba94
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jan 30 16:30:29 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jan 30 16:30:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82075dd4

dev-ml/eliom: enable ppx by default

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/eliom-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild b/dev-ml/eliom/eliom-5.0.0.ebuild
index eeac149..eccf3a5 100644
--- a/dev-ml/eliom/eliom-5.0.0.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="doc +ocamlopt ppx"
+IUSE="doc +ocamlopt +ppx"
 
 RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
>=dev-ml/js_of_ocaml-2.5-r1:=



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-01-30 Thread Alexis Ballier
commit: 16f345e93b1b661cd38053fac3c7cbb388051548
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jan 30 16:30:10 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jan 30 16:30:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f345e9

dev-ml/eliom: bump ppx_tools dep

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/eliom-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild b/dev-ml/eliom/eliom-5.0.0.ebuild
index bd99b3e..eeac149 100644
--- a/dev-ml/eliom/eliom-5.0.0.ebuild
+++ b/dev-ml/eliom/eliom-5.0.0.ebuild
@@ -26,7 +26,7 @@ RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
dev-ml/calendar:=
-   ppx? ( dev-ml/ppx_tools:= )"
+   ppx? ( >=dev-ml/ppx_tools-0.99.3:= )"
 DEPEND="${RDEPEND}
dev-ml/opam"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-01-30 Thread Alexis Ballier
commit: 61a1c0393ae1ac0e9716c7852c6f03bcdc30d33f
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jan 30 16:26:15 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jan 30 16:30:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a1c039

dev-ml/eliom: bump to 5.0.0

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/Manifest   |  1 +
 dev-ml/eliom/eliom-5.0.0.ebuild | 57 +
 dev-ml/eliom/metadata.xml   |  3 +++
 3 files changed, 61 insertions(+)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index 5909867..d175232 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1 +1,2 @@
 DIST eliom-4.2.tar.gz 699337 SHA256 
30d180b72d21177d09b311785e08e54cc221b148d969f17334f8be6eecfb783d SHA512 
c7c75dc00defe0c269aba4e4fbdc00a824b781b124e3f51747e29533c4aeedaecb68c7ebcb38b4cc9a51c3796abdfa680ba0702a83415911406b25cd07ad66c7
 WHIRLPOOL 
2a36deeb10cbf3b29c76b33185de1c848615293830f7a3701c2d87025be0ed575cdadf238c696ad4716e50f2b0258febef7b7039a1980aafeaf6e1c483ec46ca
+DIST eliom-5.0.0.tar.gz 728278 SHA256 
6726500f9a54478def95875d04098dc8dc829d4a10e06896ff4f037bb1c03cbd SHA512 
1c5297e376c3a46935de369b418638a772304246b73756f8bc052301b48d62a37af527274bf1a05064f33b60ff9dcde057a0030f083136fa4e1c0cfa07f01887
 WHIRLPOOL 
ca1186787a8f938cf029f9a5c9904ed0324a3d24d2f0d0834dd1e2b2f995de6d57d1040b4d128de8233255ca385478f0ba3bf597c2f0315ab2f1894118755dca

diff --git a/dev-ml/eliom/eliom-5.0.0.ebuild b/dev-ml/eliom/eliom-5.0.0.ebuild
new file mode 100644
index 000..bd99b3e
--- /dev/null
+++ b/dev-ml/eliom/eliom-5.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib findlib
+
+DESCRIPTION="A web framework to program client/server applications"
+HOMEPAGE="http://ocsigen.org/eliom/;
+SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt ppx"
+
+RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
+   >=dev-ml/js_of_ocaml-2.5-r1:=
+   >=www-servers/ocsigenserver-2.5:=
+   >=dev-ml/tyxml-3.6:=
+   >=dev-ml/deriving-0.6:=
+   >=dev-ml/reactiveData-0.2:=
+   dev-ml/ocaml-ipaddr:=
+   dev-ml/react:=
+   dev-ml/ocaml-ssl:=
+   >=dev-ml/lwt-2.5.0:=
+   dev-ml/calendar:=
+   ppx? ( dev-ml/ppx_tools:= )"
+DEPEND="${RDEPEND}
+   dev-ml/opam"
+
+src_compile() {
+   if use ocamlopt ; then
+   emake PPX=$(usex ppx true false) all
+   else
+   emake PPX=$(usex ppx true false) byte
+   fi
+   use doc && emake doc
+   emake man
+}
+
+src_install() {
+   opam-installer \
+   --prefix="${ED}/usr" \
+   --libdir="${D}/$(ocamlc -where)" \
+   --docdir="${ED}/usr/share/doc/${PF}" \
+   --mandir="${ED}/usr/share/man" \
+   || die
+   dodoc CHANGES README.md
+   if use doc ; then
+   docinto client/html
+   dodoc -r _build/src/lib/client/api.docdir/*
+   docinto server/html
+   dodoc -r _build/src/lib/server/api.docdir/*
+   fi
+}

diff --git a/dev-ml/eliom/metadata.xml b/dev-ml/eliom/metadata.xml
index d6e3988..7d63e48 100644
--- a/dev-ml/eliom/metadata.xml
+++ b/dev-ml/eliom/metadata.xml
@@ -8,4 +8,7 @@
   
 ocsigen/eliom
   
+  
+   Enable PPX syntax extension support.
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/files/, dev-ml/eliom/

2016-01-19 Thread Alexis Ballier
commit: 5f0dbdf6b728cfc22bcc62db3cca161f8cc2796d
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jan 19 12:06:52 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jan 19 12:06:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0dbdf6

dev-ml/eliom: remove old

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/Manifest  |  2 --
 dev-ml/eliom/eliom-3.0.3.ebuild| 61 -
 dev-ml/eliom/eliom-4.1.0-r1.ebuild | 60 
 dev-ml/eliom/eliom-4.1.0.ebuild| 54 -
 dev-ml/eliom/files/lwt.patch   | 70 --
 5 files changed, 247 deletions(-)

diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
index cbfca28..5909867 100644
--- a/dev-ml/eliom/Manifest
+++ b/dev-ml/eliom/Manifest
@@ -1,3 +1 @@
-DIST eliom-3.0.3.tar.gz 743842 SHA256 
b598bfbfc37fb9164024df71352e74d26d6ce2095f89f3d52072b3f7334a5b86 SHA512 
4112d9422a1407b3d82a716aedf86a3efad733eb5a98fd3d4356e2bd149cdb6ef029efd0dae0e9ed7f89613cf6cbd1c5c25f2ef8f905bf2ad7709db1f7d39075
 WHIRLPOOL 
af9aebe320ab6a8dce96ede3c6aaf57c90a537ffb520766ad08f23bde6cbe303ff39707dae3c91a4f980e163b47b071958d488f3232f3a1359ab53eaec09001c
-DIST eliom-4.1.0.tar.gz 699262 SHA256 
44541cdcc93b622fee79a1d9bdd46d6caf7ace71b1a3891e6d7de93f70ae6783 SHA512 
6dac3f2d26a3730df48270c62e16abec935656022a2cbb1c221ce040ff574b79e82d7da977d58fbd67ca884b64611e6a97a4144a5a142f8aa6c887897cf230f5
 WHIRLPOOL 
a95985afae803a11744dbc1468d4d07d07938f63c5a570e67545b96887ff0d2ca2a1971a9be35c45dbe28b1c3f74bf473a136843143d45cb9bd2451ca85abd64
 DIST eliom-4.2.tar.gz 699337 SHA256 
30d180b72d21177d09b311785e08e54cc221b148d969f17334f8be6eecfb783d SHA512 
c7c75dc00defe0c269aba4e4fbdc00a824b781b124e3f51747e29533c4aeedaecb68c7ebcb38b4cc9a51c3796abdfa680ba0702a83415911406b25cd07ad66c7
 WHIRLPOOL 
2a36deeb10cbf3b29c76b33185de1c848615293830f7a3701c2d87025be0ed575cdadf238c696ad4716e50f2b0258febef7b7039a1980aafeaf6e1c483ec46ca

diff --git a/dev-ml/eliom/eliom-3.0.3.ebuild b/dev-ml/eliom/eliom-3.0.3.ebuild
deleted file mode 100644
index 24545c2..000
--- a/dev-ml/eliom/eliom-3.0.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz;
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="doc +ocamlopt"
-
-DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-1.3.2:=
-   >=www-servers/ocsigenserver-2.2.0:=
-   >=dev-ml/tyxml-2.1:=
-   >=dev-ml/deriving-ocsigen-0.3:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   dev-ml/calendar:="
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   sh configure \
-   --prefix "/usr" \
-   --docdir "/usr/share/doc/${PF}/html" \
-   --mandir "/usr/share/man/" \
-   --temproot "${ED}" \
-   --libdir "/usr/$(get_libdir)/ocaml" \
-   || die "configure failed"
-}
-
-src_compile() {
-   if use ocamlopt ; then
-   emake
-   else
-   emake byte
-   fi
-   use doc && emake doc -j1
-}
-
-src_test() {
-   emake tests.byte
-   use ocamlopt && emake tests.opt
-}
-
-src_install() {
-   findlib_src_preinst
-   if use ocamlopt; then
-   emake install
-   else
-   emake install.byte
-   fi
-   use doc && emake install.doc
-   dodoc CHANGES README
-}

diff --git a/dev-ml/eliom/eliom-4.1.0-r1.ebuild 
b/dev-ml/eliom/eliom-4.1.0-r1.ebuild
deleted file mode 100644
index 527e829..000
--- a/dev-ml/eliom/eliom-4.1.0-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib findlib
-
-DESCRIPTION="A web framework to program client/server applications"
-HOMEPAGE="http://ocsigen.org/eliom/;
-SRC_URI="https://github.com/ocsigen/eliom/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="doc +ocamlopt"
-
-DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
-   >=dev-ml/js_of_ocaml-2.5-r1:=
-   >=www-servers/ocsigenserver-2.5:=
-   >=dev-ml/tyxml-3.3:=
-   >=dev-ml/deriving-0.6:=
-   dev-ml/reactiveData:=
-   dev-ml/ocaml-ipaddr:=
-   dev-ml/react:=
-   dev-ml/ocaml-ssl:=
-   >=dev-ml/lwt-2.5.0:=
-   dev-ml/calendar:="
-RDEPEND="${DEPEND}
-   dev-ml/opam"
-
-src_prepare() {
-   epatch "${FILESDIR}/lwt.patch"
-}
-
-src_compile() {
-   if use ocamlopt ; then
-   emake all
-   else

[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/

2016-01-19 Thread Alexis Ballier
commit: 7609810a4dd109952dd0d9c1f09c4eae83ef61ef
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jan 19 12:07:30 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jan 19 12:07:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7609810a

dev-ml/eliom: fix deps; opam is build dep only

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/eliom-4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/eliom/eliom-4.2.ebuild b/dev-ml/eliom/eliom-4.2.ebuild
index 0b543d8..44f4cd5 100644
--- a/dev-ml/eliom/eliom-4.2.ebuild
+++ b/dev-ml/eliom/eliom-4.2.ebuild
@@ -15,7 +15,7 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="doc +ocamlopt"
 
-DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
+RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
>=dev-ml/js_of_ocaml-2.5-r1:=
>=www-servers/ocsigenserver-2.5:=
>=dev-ml/tyxml-3.3:=
@@ -26,7 +26,7 @@ DEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
dev-ml/ocaml-ssl:=
>=dev-ml/lwt-2.5.0:=
dev-ml/calendar:="
-RDEPEND="${DEPEND}
+DEPEND="${RDEPEND}
dev-ml/opam"
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-ml/eliom/, dev-ml/eliom/files/

2016-01-19 Thread Alexis Ballier
commit: 63883f105e1b97a4b5d3b90b35243459b4c74660
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jan 19 12:18:04 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jan 19 12:18:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63883f10

dev-ml/eliom: backport upstream patch to build with tyxml 3.6

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-ml/eliom/eliom-4.2.ebuild|   6 +-
 dev-ml/eliom/files/tyxml36.patch | 125 +++
 2 files changed, 130 insertions(+), 1 deletion(-)

diff --git a/dev-ml/eliom/eliom-4.2.ebuild b/dev-ml/eliom/eliom-4.2.ebuild
index 44f4cd5..4f7efd7 100644
--- a/dev-ml/eliom/eliom-4.2.ebuild
+++ b/dev-ml/eliom/eliom-4.2.ebuild
@@ -18,7 +18,7 @@ IUSE="doc +ocamlopt"
 RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
>=dev-ml/js_of_ocaml-2.5-r1:=
>=www-servers/ocsigenserver-2.5:=
-   >=dev-ml/tyxml-3.3:=
+   >=dev-ml/tyxml-3.6:=
>=dev-ml/deriving-0.6:=
dev-ml/reactiveData:=
dev-ml/ocaml-ipaddr:=
@@ -29,6 +29,10 @@ RDEPEND=">=dev-lang/ocaml-4.00:=[ocamlopt?]
 DEPEND="${RDEPEND}
dev-ml/opam"
 
+src_prepare() {
+   epatch "${FILESDIR}/tyxml36.patch"
+}
+
 src_compile() {
if use ocamlopt ; then
emake all

diff --git a/dev-ml/eliom/files/tyxml36.patch b/dev-ml/eliom/files/tyxml36.patch
new file mode 100644
index 000..02ac3f1
--- /dev/null
+++ b/dev-ml/eliom/files/tyxml36.patch
@@ -0,0 +1,125 @@
+Backported from:
+
+commit e2629e9affcaefbe9e0f36212fe3f385a780
+Author: Vasilis Papavasileiou 
+Date:   Thu Aug 6 13:23:29 2015 +0200
+
+update for new-style TyXML wrapping
+
+
+Index: eliom-4.2/src/lib/eliom_content.client.mli
+===
+--- eliom-4.2.orig/src/lib/eliom_content.client.mli
 eliom-4.2/src/lib/eliom_content.client.mli
+@@ -74,7 +74,7 @@ module Svg : sig
+ 
+   (** Creation of reactive content *)
+   module R : sig
+-module Raw : Svg_sigs.MakeWrapped(Tyxml_js.Xml_wrap)(Xml).T
++module Raw : Svg_sigs.Make(Eliom_content_core.Xml_wed).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -397,7 +397,7 @@ module Html5 : sig
+ val filter_attrib : 'a attrib -> bool React.signal -> 'a attrib
+ 
+ (** Cf. {% <> %}. *)
+-module Raw : Html5_sigs.MakeWrapped(Tyxml_js.Xml_wrap)(Xml)(Svg.R.Raw).T
++module Raw : Html5_sigs.Make(Eliom_content_core.Xml_wed)(Svg.R.Raw).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+Index: eliom-4.2/src/lib/eliom_content_core.client.ml
+===
+--- eliom-4.2.orig/src/lib/eliom_content_core.client.ml
 eliom-4.2/src/lib/eliom_content_core.client.ml
+@@ -26,6 +26,7 @@ open Eliom_lib
+ 
+ module Xml = struct
+   include RawXML
++  module W = Xml_wrap.NoWrap
+   type 'a wrap = 'a
+   type 'a list_wrap = 'a list
+   type econtent =
+@@ -163,8 +164,9 @@ end
+ 
+ module Xml_wed =
+ struct
+-  type 'a wrap = 'a Tyxml_js.Xml_wrap.t
+-  type 'a list_wrap = 'a Tyxml_js.Xml_wrap.tlist
++  module W = Tyxml_js.Xml_wrap
++  type 'a wrap = 'a W.t
++  type 'a list_wrap = 'a W.tlist
+   type uri = Xml.uri
+   let string_of_uri = Xml.string_of_uri
+   let uri_of_string = Xml.uri_of_string
+@@ -250,7 +252,7 @@ module Svg = struct
+   end
+ 
+   module R = struct
+-module Raw = Svg_f.MakeWrapped(Tyxml_js.Xml_wrap)(Xml_wed)
++module Raw = Svg_f.Make(Xml_wed)
+ include Raw
+ 
+   end
+@@ -322,7 +324,7 @@ module Html5 = struct
+ 
+ let node s = Xml.make_react s
+ 
+-module Raw = Html5_f.MakeWrapped(Tyxml_js.Xml_wrap)(Xml_wed)(Svg.R)
++module Raw = Html5_f.Make(Xml_wed)(Svg.R)
+ let filter_attrib (name,a) on =
+   let v = match a with
+ | Xml.RA a -> Xml.RAReact (React.S.map (function
+Index: eliom-4.2/src/lib/eliom_content_core.client.mli
+===
+--- eliom-4.2.orig/src/lib/eliom_content_core.client.mli
 eliom-4.2/src/lib/eliom_content_core.client.mli
+@@ -22,6 +22,8 @@
+ 
+ module Xml : sig
+ 
++  module W : Xml_wrap.T with type 'a t = 'a and type 'a tlist = 'a list
++
+   type uri = string
+   val uri_of_string : uri -> string
+   val string_of_uri : string -> uri
+@@ -147,6 +149,8 @@ module Xml : sig
+   val set_classes_of_elt : elt -> elt
+ end
+ 
++module Xml_wed : Xml_sigs.T with module W = Tyxml_js.Xml_wrap
++
+ (** Building SVG tree. *)
+ module Svg : sig
+ 
+@@ -197,7 +201,7 @@ module Svg : sig
+   (** Typed interface for building valid reactive SVG tree. *)
+   module R : sig
+ 
+-module Raw : Svg_sigs.MakeWrapped(Tyxml_js.Xml_wrap)(Xml).T
++module Raw : Svg_sigs.Make(Xml_wed).T
+   with type +'a elt = 'a elt
+and type +'a attrib = 'a attrib
+ 
+@@ -298,7 +302,7 @@ module Html5 : sig
+ 
+ val