diff options
Diffstat (limited to 'dev-ml/variantslib')
-rw-r--r-- | dev-ml/variantslib/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/variantslib/variantslib-0.9.0.ebuild | 29 | ||||
-rw-r--r-- | dev-ml/variantslib/variantslib-113.33.03.ebuild | 38 |
3 files changed, 30 insertions, 39 deletions
diff --git a/dev-ml/variantslib/Manifest b/dev-ml/variantslib/Manifest index d1c1343de20b..a4053e3620e1 100644 --- a/dev-ml/variantslib/Manifest +++ b/dev-ml/variantslib/Manifest @@ -1 +1 @@ -DIST variantslib-113.33.03.tar.gz 49653 SHA256 3685a40f37117bbedb33d8c4abaeb52c01f8178fb5a88712dd0e0dba533a7717 SHA512 1d83321b1de709ef3bb9329544c6fff5b8dee1125faffefebf2d29b11d5c2139a2fa6664d2eaaff48e89932e5b344dfe1ea898069db60b25079c9cd7344aee04 WHIRLPOOL 9ef9cac585da68a121e1d49e1bd2872c5858373177caf7b5a7c2f08a1c8e9775fd52120bdb7cf588f38e7bd43785d6626c7d5224129efc65d4fffdba68c0ef5f +DIST variantslib-0.9.0.tar.gz 5590 SHA256 bd0c3b05869d880d1ade5f4ebfa5d124c23f53c3328ad69437af0e1e66743e9e SHA512 2fd28063d307396da866be70480ba7f953d90ec32a55d31dad649eadb6141572e428f055cad02787654477c4a308313ecb7be4b9b80828af9d9870ad325b9f4d WHIRLPOOL a65d6d3a2880e61494d55993d8cfdea7c10ff05a201e7a6daf1d25f6258254a372d74dd290cb3e796a22d748c8f4acbee6560ca93b24ecfa5520117892328509 diff --git a/dev-ml/variantslib/variantslib-0.9.0.ebuild b/dev-ml/variantslib/variantslib-0.9.0.ebuild new file mode 100644 index 000000000000..7bb8fed42f09 --- /dev/null +++ b/dev-ml/variantslib/variantslib-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="OCaml variants as first class values" +HOMEPAGE="https://github.com/janestreet/variantslib" +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/variantslib/variantslib-113.33.03.ebuild b/dev-ml/variantslib/variantslib-113.33.03.ebuild deleted file mode 100644 index 3fc7abe358d6..000000000000 --- a/dev-ml/variantslib/variantslib-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="OCaml variants as first class values" -HOMEPAGE="https://janestreet.github.io/ https://github.com/janestreet/variantslib" -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 -} |