summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-01 18:04:05 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-02 10:37:48 +0200
commit1f19263cf5d0aea5e7f001c7ef3731f2166ea1ff (patch)
tree2bfbebe71dcc2edcf342ffd6a7d50f6b14c0d193 /dev-ml/typerep
parentdev-ml/configurator: Initial import (diff)
downloadgentoo-1f19263cf5d0aea5e7f001c7ef3731f2166ea1ff.tar.gz
gentoo-1f19263cf5d0aea5e7f001c7ef3731f2166ea1ff.tar.bz2
gentoo-1f19263cf5d0aea5e7f001c7ef3731f2166ea1ff.zip
dev-ml/typerep: Bump to 0.9.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/typerep')
-rw-r--r--dev-ml/typerep/Manifest2
-rw-r--r--dev-ml/typerep/typerep-0.9.0.ebuild29
-rw-r--r--dev-ml/typerep/typerep-113.33.03.ebuild40
3 files changed, 30 insertions, 41 deletions
diff --git a/dev-ml/typerep/Manifest b/dev-ml/typerep/Manifest
index bb09c8364cf7..9dafd796499e 100644
--- a/dev-ml/typerep/Manifest
+++ b/dev-ml/typerep/Manifest
@@ -1 +1 @@
-DIST typerep-113.33.03.tar.gz 69967 SHA256 dea99f5248af97d46550e439d5715ccc79807b04c481ae494b8a0814eb2a3bad SHA512 656db4530a1a24ac5c493baaa3cfa4ff453a63b060f5c7b7c463f4c2cd26ad70cd2992c1973fbd0241992b51b8c071c65c18eed78f7a37c162ecda21b29003d0 WHIRLPOOL ace20f51f8530b20662eae292eb9af01bf8b51db5cb78483dc391be8c415012690a61b15b3363bea38683c87f0da49aae391d6896f895310fc7edc507694d664
+DIST typerep-0.9.0.tar.gz 24934 SHA256 734e38c1d91dc72ff0a4a75736e0d300b598b524f6a984b78ca77c50ffaaa6f9 SHA512 f71fa3968ff5e93c384a97e2d39af0de33f4889643a7e43d70a777214dc4c7f35b3fac0864ffee99334cf03866a695f7afd1a907d5c7f3cec0d472b729adf9cc WHIRLPOOL 08ae66284859532eaeebccd4e1fb6b27a2118f5200836a34345d6c5eaede8236be9c0462211c094320a6f42561aab7abe7f7583fb8f84bd66b407d72b3c87bf3
diff --git a/dev-ml/typerep/typerep-0.9.0.ebuild b/dev-ml/typerep/typerep-0.9.0.ebuild
new file mode 100644
index 000000000000..7359a76a68ae
--- /dev/null
+++ b/dev-ml/typerep/typerep-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="Library for creating runtime representation of OCaml types"
+HOMEPAGE="https://github.com/janestreet/typerep"
+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=""
+
+DEPEND="
+ dev-lang/ocaml:=
+ dev-ml/base:=
+"
+
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} 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/typerep/typerep-113.33.03.ebuild b/dev-ml/typerep/typerep-113.33.03.ebuild
deleted file mode 100644
index ab4d22a4ad8b..000000000000
--- a/dev-ml/typerep/typerep-113.33.03.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit oasis
-
-DESCRIPTION="Library for creating runtime representation of OCaml types"
-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=""
-
-DEPEND="
- >=dev-ml/type-conv-111.13:=
- dev-ml/camlp4:="
-
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND} 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
-}