summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-01 18:32:11 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-02 10:37:55 +0200
commit187a8cc3b671f4d5c9746de14db34de395ea5294 (patch)
tree901ee14cf84ced235912b061f34446c83257f363 /dev-ml/fieldslib
parentdev-ml/ppx_sexp_message: Bump to 0.9.0 (diff)
downloadgentoo-187a8cc3b671f4d5c9746de14db34de395ea5294.tar.gz
gentoo-187a8cc3b671f4d5c9746de14db34de395ea5294.tar.bz2
gentoo-187a8cc3b671f4d5c9746de14db34de395ea5294.zip
dev-ml/fieldslib: Bump to 0.9.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/fieldslib')
-rw-r--r--dev-ml/fieldslib/Manifest2
-rw-r--r--dev-ml/fieldslib/fieldslib-0.9.0.ebuild29
-rw-r--r--dev-ml/fieldslib/fieldslib-113.33.03.ebuild38
3 files changed, 30 insertions, 39 deletions
diff --git a/dev-ml/fieldslib/Manifest b/dev-ml/fieldslib/Manifest
index b082e695c7f6..81d78ac082e8 100644
--- a/dev-ml/fieldslib/Manifest
+++ b/dev-ml/fieldslib/Manifest
@@ -1 +1 @@
-DIST fieldslib-113.33.03.tar.gz 51319 SHA256 7b338bf0777da703fd88e838a40817e76834d531800f87308562fe458a5da3e6 SHA512 a20f97cf55354d1733282208ae1d50d6283ed24bf733764264ab0f571aeae22e9cfa56065ca76788c9ae5d413cf3822e4975187ca426e6383a28519a0f2e7805 WHIRLPOOL 9777ae094c53c8921da243e20f9922dd313044ae0ebbbe44e27804c23cc5411c680d78e17a0422e0b01f03c403274ea057c7ae6f94bc3336c324811cea972b9c
+DIST fieldslib-0.9.0.tar.gz 5981 SHA256 3859b2cc484c314290bb89f5cbf37c5b0c6a6f7be7c9a50b4ff2a5f66d028977 SHA512 ac0ecbbb43f1d815462264ef5dd33b568aa8b479847789f0ac7eb5da5986849da6ca1c27db1c0643e64e83c625e98eb7abebb5e3045a95c4b7bf7384ea953720 WHIRLPOOL f718ac8743161571527c403be5c622268bbb1fb40759ec9bbeaa2a6702c5f7ed6c4028c54b1efc8592fb61fa44fa95cccecbaa9e45d1fd2fcb670b091f1d2f25
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/fieldslib-113.33.03.ebuild b/dev-ml/fieldslib/fieldslib-113.33.03.ebuild
deleted file mode 100644
index a7ec89a14bc2..000000000000
--- a/dev-ml/fieldslib/fieldslib-113.33.03.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-OASIS_BUILD_DOCS=1
-
-inherit oasis
-
-DESCRIPTION="Folding over record fields"
-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=""
-
-RDEPEND=""
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/js-build-tools"
-
-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
-}