dev-ml/fieldslib: Bump to 0.9.0

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-04-01 18:32:11 +02:00
parent 94d6642afd
commit 187a8cc3b6
3 changed files with 30 additions and 39 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}