summaryrefslogtreecommitdiff
path: root/dev-ml/eliom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/eliom
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/eliom')
-rw-r--r--dev-ml/eliom/Manifest7
-rw-r--r--dev-ml/eliom/eliom-6.2.0.ebuild70
-rw-r--r--dev-ml/eliom/eliom-9999.ebuild66
-rw-r--r--dev-ml/eliom/files/lwt3.patch44
-rw-r--r--dev-ml/eliom/metadata.xml14
5 files changed, 201 insertions, 0 deletions
diff --git a/dev-ml/eliom/Manifest b/dev-ml/eliom/Manifest
new file mode 100644
index 000000000000..6bb940686909
--- /dev/null
+++ b/dev-ml/eliom/Manifest
@@ -0,0 +1,7 @@
+AUX lwt3.patch 1654 SHA256 5e3b0d2dafcafb07b2ed5707c4743022dc333e9a39faedbb03eac67bacd009ba SHA512 14b521b8622c07d472211af1e50b4a880ffa28ac18c3fb04d459a3302f22346ae31e1c76f9ace728d2ba6383c7222a3a1dcb7896552e5bdf3251b2db1878217b WHIRLPOOL c800bd2697e6963b36bc1b2631081f22752f4b962e454994682c6b3232f9b6dc39a2291936fdc140fa4d86431a519fdd143e850d4d2612f0f90ce7e57d05e14f
+DIST eliom-6.2.0.tar.gz 724359 SHA256 bda9ab348fb7a6a45f69e908bdc0ae2752b11a2dc199059b0dcd342a50a28405 SHA512 02ea52c78470f222297dd9f82218e82427ea2d2d0c9f261d1a9c2decbe7644c0bf583b77b8cef2577d5662d363efd276755f400e7a4c29c89a2265e49ca850db WHIRLPOOL f90b6a2b5d2e13d13164ae2b20200566bd44b2d68db9eb7d79e76ca27448cfe2b23bc57618a83368d587b268315fff2dd154fbb501a6ce0beda49d28d8b3dbec
+EBUILD eliom-6.2.0.ebuild 1560 SHA256 7af8f438e11ed8b30245c6e02017baf8e1a4f6e657f33c2bcbd8ef8a94636ae7 SHA512 1c379215726329124bbaba467566ae228e6567fd615e313c8356e3501153cd9ed1c32674772eadf0f91220b674ea1002c77bdc47720847eeef83c46ae79428e9 WHIRLPOOL 7fe73509327ba6f009039f77274b0e7a45d81876abac06837516a0c18cfffbbecc262a74da0693da368f9844c44684598f24d71118938bb530089e8b2d0d4e1d
+EBUILD eliom-9999.ebuild 1508 SHA256 59783bf51be22f197439fce619cc3401adce228e988b3d5368f70deb71947aa0 SHA512 dc07ae8e778ee456d0f89c7fd50bcf0a0ae8b1d692db7bd87c7568e4bc647b59bae38aa4019bdca53a0e107883c2c9d7b9e5e5876d7a187775d03f4fa8b68028 WHIRLPOOL bec0fe7bbf9413ee28d9a2e8335f6eeeef67f8b9bc8ebcddd20614b694e090316c60f19e4579f05825d00e4091f9fb0a1025a78e6f6728616498a59d8b3dc3fc
+MISC ChangeLog 5877 SHA256 364c06e414cc04784fe40c8d2eb682bb7ec50ccb180cb87facdd1d65cb11754e SHA512 6f85823dc280e4596755ae91744e9bba69612885da33d13562eee79d9bf707de7bc154245aee88b5017b9d4fcbd2165508f9c79e1b50b19a37ec17b5832fa3eb WHIRLPOOL d00760fa20285565b9c43c134529e6687fc95a75a96b8de1798e27f6077ff6936a8589a41657c7e992cae0e2ccb4ec5588343746c2a4ba98d74a900b5d4fe5a8
+MISC ChangeLog-2015 1416 SHA256 6c4e4dec010c374f890837959c5731076d531690ab2a7bb669e4a17e1489461b SHA512 a29c07dbf15b0ec457678fcac4d1b51986f08aa3350631ab79eca45904a4689c7b550709811dfcdb4961fcd2f236116777eae44e59a06fe6ebe2cbc8d54bb2d2 WHIRLPOOL 68dcaa7a83eac414c7595e7f1f81125fcaa506a9a74a54e7319f07a31829a3061527cda3439c2d8ba29f99eeacb7b3bfe86b7eeec4fa6c2f3997008d53a91289
+MISC metadata.xml 414 SHA256 d1c3ebb907c9b13436c28d16f5d2e220b5458b9d51a4a20a5d75131e0895f6d0 SHA512 28621e40e16a96dac68b8b11c05b3b49d612e52463191597c57181b1d5c39c0c2ab60594f8759cb7c4f43fc31127d6d3c085ba085995cd7b6a96defa0107f61a WHIRLPOOL e7b30a3d2790fc1ba862b8cb52711a351d10e3216407b4f8de2dfa7ceff40f8b1cc193d1b056ef72de2eeeae9a09059eca8d65b38c0d01460d4cae47d79b49a7
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 000000000000..b97e4135966f
--- /dev/null
+++ b/dev-ml/eliom/eliom-6.2.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 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#9999}" != "${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:=[xml]
+ >=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/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
+ 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/eliom-9999.ebuild b/dev-ml/eliom/eliom-9999.ebuild
new file mode 100644
index 000000000000..cffa1b2c77a6
--- /dev/null
+++ b/dev-ml/eliom/eliom-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 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#9999}" != "${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:=[xml]
+ >=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/lwt_react:=
+ 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
+}
diff --git a/dev-ml/eliom/files/lwt3.patch b/dev-ml/eliom/files/lwt3.patch
new file mode 100644
index 000000000000..6b8d993fb687
--- /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
+
+ <lib/server/*.ml{,i}>:thread
+ <lib/server/*.ml{,i}>:package(lwt,ocsigenserver,ocsigenserver.ext,tyxml.functor)
+-<lib/server/*.ml{,i}>:package(react,js_of_ocaml)
++<lib/server/*.ml{,i}>:package(lwt_react,react,js_of_ocaml)
+
+ <lib/server/*.ml{,i}>:package(js_of_ocaml.deriving.ppx)
+
+@@ -24,7 +24,7 @@ true:keep_locs
+ <lib/client/*.ml{,i}>: eliom_ppx
+ <lib/client/*.ml{,i}>:package(ocsigenserver.cookies,ocsigenserver.polytables,ocsigenserver.baselib.base)
+ <lib/client/*.ml{,i}>:package(deriving.runtime,js_of_ocaml.deriving)
+-<lib/client/*.ml{,i}>:package(lwt.react,tyxml.functor,js_of_ocaml.tyxml)
++<lib/client/*.ml{,i}>:package(lwt_react,tyxml.functor,js_of_ocaml.tyxml)
+ <lib/client/*.ml{,i}>:package(react,js_of_ocaml,reactiveData)
+
+ <lib/client/*.ml{,i}>:package(js_of_ocaml.deriving.ppx)
diff --git a/dev-ml/eliom/metadata.xml b/dev-ml/eliom/metadata.xml
new file mode 100644
index 000000000000..7d63e482b2ed
--- /dev/null
+++ b/dev-ml/eliom/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ocsigen/eliom</remote-id>
+ </upstream>
+ <use>
+ <flag name="ppx">Enable PPX syntax extension support.</flag>
+ </use>
+</pkgmetadata>