dev-ml/bin-prot: Bump to 0.9.0

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-04-02 10:37:46 +02:00
parent 708249c0c3
commit 7e8babd850
3 changed files with 43 additions and 45 deletions
+1 -1
View File
@@ -1 +1 @@
DIST bin_prot-113.33.00.tar.gz 280362 SHA256 51cac973cce539e6ce3dfbafbe9dc631283d43b121e546c541b0578ca3213f5c SHA512 58772b0f56f6d4a09ded3a77d9f0b2e674b27ef387fb732bf682cd58cabc0c72d1dca0238d71b69f9576cc3105b41464a543154ea20854b20e8ed31e77599c09 WHIRLPOOL e652fc32f9de7ac0ecfdb3190eb54220ada631807907c17138da69f5a80d1d8ac4da1ff6b0bea8424e148a164e36d494dee3f64511572ef130089ad71db561aa
DIST bin-prot-0.9.0.tar.gz 338958 SHA256 1fc88602788a802570ba81376a71dd76a1815b74ce80245e3fc4cfd7e259817e SHA512 111e0a9d07bdf22db6e3e7e9a165d196a264a3652e4cc363ec8f49c4ef385b8b76982a9d42fa8e0954e15a4a80c35ca6876c70fe6f20d7497fd8a2d53fab24c1 WHIRLPOOL 2d0fe47a957023d99bcde79146bef54c6e15801427db83697d16506d508231e95d6983f506502661740636ede95d2b36144c6d2f0953169785b27abe4d894764
+42
View File
@@ -0,0 +1,42 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Binary protocol generator"
HOMEPAGE="https://github.com/janestreet/bin_prot"
SRC_URI="https://github.com/janestreet/bin_prot/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_compare:=
dev-ml/ppx_custom_printf:=
dev-ml/ppx_driver:=
dev-ml/ppx_fields_conv:=
dev-ml/ppx_sexp_conv:=
dev-ml/ppx_variants_conv:=
dev-ml/sexplib:=
dev-ml/ocaml-migrate-parsetree:=
"
DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
S="${WORKDIR}/bin_prot-${PV}"
src_test() {
jbuilder runtest || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN/-/_}.install || die
dodoc CHANGES.md README.md
}
-44
View File
@@ -1,44 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
OASIS_BUILD_TESTS=1
OASIS_BUILD_DOCS=1
inherit oasis
MY_P=${PN/-/_}-${PV}
DESCRIPTION="A binary protocol generator"
HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND=">=dev-ml/type-conv-109.28.00:="
DEPEND="${RDEPEND}
dev-ml/opam
test? ( >=dev-ml/ounit-1.1.2 )"
S="${WORKDIR}/${MY_P}"
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 README.md
}