diff options
author | 2020-04-12 17:04:00 -0400 | |
---|---|---|
committer | 2020-04-12 17:04:00 -0400 | |
commit | eb1fdfd632854f53759e300bbf37be01cf74e339 (patch) | |
tree | ac6ddb89bcaf4cffaab2719ed6e3f443cc99746d /dev-ml | |
parent | fix dune dependency and make repoman happy (diff) | |
download | superposition-eb1fdfd632854f53759e300bbf37be01cf74e339.tar.gz superposition-eb1fdfd632854f53759e300bbf37be01cf74e339.tar.bz2 superposition-eb1fdfd632854f53759e300bbf37be01cf74e339.zip |
lwt and ocaml-mirgrate-parsetree need dune dependency also
Signed-off-by: Philip Miess <Philip_Miess@yahoo.com>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/lwt/Manifest | 3 | ||||
-rw-r--r-- | dev-ml/lwt/lwt-3.1.0.ebuild | 55 | ||||
-rw-r--r-- | dev-ml/lwt/metadata.xml | 12 | ||||
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/Manifest | 3 | ||||
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.7.ebuild | 20 |
6 files changed, 101 insertions, 0 deletions
diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest new file mode 100644 index 0000000..fc3a6da --- /dev/null +++ b/dev-ml/lwt/Manifest @@ -0,0 +1,3 @@ +DIST lwt-3.1.0.tar.gz 285309 BLAKE2B ffc3a416491d4c7b7e7c0da67b48d9eeb5b7fa50e3637d4f0cfcd1689b75626b48c8dd6d91e87c93022047809a3774683c41ce620e07ee4d3e1409185e7f8d16 SHA512 0b2269e53f2e8a57e1ffd6f237c6b22de39a3b6b0d57276c7cb9371392aabc9fb6364b2617a6408ed0049ed64f71de0c540209cf83ce43899fd025295342eb0d +EBUILD lwt-3.1.0.ebuild 1190 BLAKE2B 8b23ccd1f49ec3a7ff09c62e0bf6d7cbb081df78e64ee017b65f03c3bc3d827673dc7f6160ca4c169e240010df728f8b1d541a91a0dc0475157bbf86662784d4 SHA512 6bdb9d5f2b60bf4499b959cc8f7ccf3575758b2096e5d0f3a8ffa9335a3110ee4a18137e8146f4dec51a5b1f01a14b8edcfbd092b9ba53e6f3ec63838066ef72 +MISC metadata.xml 398 BLAKE2B 69b8efc87e7ad8b3b2fb118ffe9c0bdfcd039c19b78c23a614719d752d7f18f429674998c6e153e8cc4d65bf1dd2f7c42492e46404c7af83211e1aa0580440dd SHA512 5190bb21b9094196e91a1817bcd29911f624772a9b380618e6e57aec07139f5bab9329ffe2a9f92aa33aef9f62335bc2f646e87d1a19e1de86b64ae8f4828ec9 diff --git a/dev-ml/lwt/lwt-3.1.0.ebuild b/dev-ml/lwt/lwt-3.1.0.ebuild new file mode 100644 index 0000000..e231146 --- /dev/null +++ b/dev-ml/lwt/lwt-3.1.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Cooperative light-weight thread library for OCaml" +SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="http://ocsigen.org/lwt" + +IUSE="+camlp4 +libev" + +DEPEND=" + >=dev-lang/ocaml-4.02:= + dev-ml/result:= + dev-ml/ocaml-migrate-parsetree:= + dev-ml/ppx_tools_versioned:= + libev? ( dev-libs/libev ) + camlp4? ( dev-ml/camlp4:= )" + +RDEPEND="${DEPEND} + !<www-servers/ocsigen-1.1" +DEPEND="${DEPEND} + dev-ml/cppo + dev-ml/findlib + ~dev-ml/dune-1.11.4 + dev-ml/opam" + +SLOT="0/${PV}" +LICENSE="LGPL-2.1-with-linking-exception" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +src_configure() { + ocaml src/util/configure.ml \ + -use-libev $(usex libev true false) \ + -use-camlp4 $(usex camlp4 true false) \ + || die +} + +src_compile() { + jbuilder build -p lwt || die + ocaml src/util/install_filter.ml || die +} + +src_test() { + jbuilder runtest -p lwt || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} diff --git a/dev-ml/lwt/metadata.xml b/dev-ml/lwt/metadata.xml new file mode 100644 index 0000000..fa2a460 --- /dev/null +++ b/dev-ml/lwt/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <use> + <flag name="camlp4">Enable camlp4 syntax extension</flag> + <flag name="libev">Enable the <pkg>dev-libs/libev</pkg>-based backend.</flag> + </use> + <upstream> + <remote-id type="github">ocsigen/lwt</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest new file mode 100644 index 0000000..83a355a --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/Manifest @@ -0,0 +1,3 @@ +DIST ocaml-migrate-parsetree-1.0.7.tar.gz 209251 BLAKE2B ad221fd6a3a91d546d3bc75495f32914b99eb0dcdcf3fbe6f76cb80f85a46346815a21bffa872f2aefe09109ab162d19f7019a8d0441d4f9f7ce22c0ada13f2e SHA512 3ba1bfe4840b2664b5053068b3659eb6a2ca216f29ece3f4522d1e7c5d87cb643bfb59ebe0563264cafdc31b9aa572007b4261fd3df8b27607fad47ff6168892 +EBUILD ocaml-migrate-parsetree-1.0.7.ebuild 530 BLAKE2B ffdc36dbdec4c442d93fd4757c97806ebe52f7e5f7a79eaa0187ff3f6336acc34d2d64fa1c77cc379ab9ebcb1492bca35e567709b250830e6241d27072c61b2d SHA512 0e528342c59ebe6651f6eb3deae8e4e37dae3a7e24918996f1ffdb933b8ef20731b4e634745997b4ed39c5688f5d9bb2c3efd17ac8cd3286b6b69e65c2ecf76c +MISC metadata.xml 263 BLAKE2B 6ef7557f183910994ce8b65643e96bfacb7be040ca4924fcda975c33792696a1af9760ff4457ab9b6510f07b48c87f12324558828c83ae37502ce60e2653c0b0 SHA512 15095aa316b4a225ca2a733550c35440e968acbd629897415c1425144396ba1c0d5d0539c475e786c82bec50188aa2d4e0258191dc0a683585d9d71327911d6f diff --git a/dev-ml/ocaml-migrate-parsetree/metadata.xml b/dev-ml/ocaml-migrate-parsetree/metadata.xml new file mode 100644 index 0000000..fef8db5 --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">let-def/ocaml-migrate-parsetree</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.7.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.7.ebuild new file mode 100644 index 0000000..6e24792 --- /dev/null +++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.7.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib opam + +DESCRIPTION="Convert OCaml parsetrees between different major versions" +HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree" +SRC_URI="https://github.com/let-def/ocaml-migrate-parsetree/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND="dev-ml/result:=" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} +~dev-ml/dune-1.11.4" |