summaryrefslogtreecommitdiff
path: root/dev-ml/fieldslib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/fieldslib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/fieldslib')
-rw-r--r--dev-ml/fieldslib/Manifest3
-rw-r--r--dev-ml/fieldslib/fieldslib-0.9.0.ebuild29
-rw-r--r--dev-ml/fieldslib/metadata.xml17
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ml/fieldslib/Manifest b/dev-ml/fieldslib/Manifest
new file mode 100644
index 000000000000..b28744f42b5e
--- /dev/null
+++ b/dev-ml/fieldslib/Manifest
@@ -0,0 +1,3 @@
+DIST fieldslib-0.9.0.tar.gz 5981 BLAKE2B 471e468bf731dfe2f8a237ba35df22dc3cfb5ee2e02c881dc0a82be577844a40607adbf807b9aadf3a120708687048e6219635b81216c92edc41c874118c8b63 SHA512 ac0ecbbb43f1d815462264ef5dd33b568aa8b479847789f0ac7eb5da5986849da6ca1c27db1c0643e64e83c625e98eb7abebb5e3045a95c4b7bf7384ea953720
+EBUILD fieldslib-0.9.0.ebuild 669 BLAKE2B 7a90dc54279ebd1065bb98b777104bdf2e3b870401ed7e8e9c711f7a1b6ee397f9ffc07f3fafe2544a0d01ea45f5bef64473a6004168387e27741c98a796f707 SHA512 d5a185bd4ca81a455e6926b8cdce4566e36b4b1ba17229e5672e9b135ce491b854cfa15dc22a8cfa7410e019d986ffa4d7821fe691c8f4a2194071093101fac3
+MISC metadata.xml 656 BLAKE2B a8b7137ffc79ff20a016d6fc51ee996b89d66396f33eacd649f6f6396d7e1ce6ae386eb9e5a468cbefbbfc325059e2ed1166be13d75a449afe2c8a9e3ad6dca2 SHA512 4c08857cecb56a2531f14f0646aeb0ed7c57666aa33e567e106f4bc3feeed9a600f89a1c06c2088c25f579fb3c2da8ac15b3eff6db206d57cedf7c49c16528c5
diff --git a/dev-ml/fieldslib/fieldslib-0.9.0.ebuild b/dev-ml/fieldslib/fieldslib-0.9.0.ebuild
new file mode 100644
index 000000000000..9f1092e48f00
--- /dev/null
+++ b/dev-ml/fieldslib/fieldslib-0.9.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Folding over record fields"
+HOMEPAGE="https://github.com/janestreet/fieldslib"
+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=""
+
+RDEPEND="
+ dev-lang/ocaml:=
+ dev-ml/base:=
+ dev-ml/ppx_driver:=
+ dev-ml/ocaml-migrate-parsetree:=
+"
+DEPEND="${RDEPEND} 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/fieldslib/metadata.xml b/dev-ml/fieldslib/metadata.xml
new file mode 100644
index 000000000000..1ae462b1d075
--- /dev/null
+++ b/dev-ml/fieldslib/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ <longdescription lang="en">
+ This library defines a syntax extension for OCaml using Camlp4 that
+ can be used to define first class values representing record fields,
+ and additional routines, to get and set record fields, iterate and fold
+ over all fields of a record and create new record values.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">janestreet/fieldslib</remote-id>
+ </upstream>
+</pkgmetadata>