Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_bench/
Date: Sun, 02 Apr 2017 08:39:10
Message-Id: 1491122281.ed2b8988352a13fd8e6b38340f2a7f10bd375059.aballier@gentoo
1 commit: ed2b8988352a13fd8e6b38340f2a7f10bd375059
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 17:20:13 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 2 08:38:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2b8988
7
8 dev-ml/core_bench: Bump to 0.9.0
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-ml/core_bench/Manifest | 2 +-
13 dev-ml/core_bench/core_bench-0.9.0.ebuild | 33 +++++++++++++++++
14 dev-ml/core_bench/core_bench-113.33.00.ebuild | 51 ---------------------------
15 3 files changed, 34 insertions(+), 52 deletions(-)
16
17 diff --git a/dev-ml/core_bench/Manifest b/dev-ml/core_bench/Manifest
18 index 64c0b79611e..f2e8da46819 100644
19 --- a/dev-ml/core_bench/Manifest
20 +++ b/dev-ml/core_bench/Manifest
21 @@ -1 +1 @@
22 -DIST core_bench-113.33.00.tar.gz 86282 SHA256 0827610ed452be2475ecfda569c8d6af8cd63f0389dbfbf4e2ab71b1ec043d42 SHA512 7fb74fa40e0cba803cd7e7028490e652ac8adb23cfe37120e16e94ee77ba4493d7c512219c06c1bc941149c49d9b83f1ba07fd27ff04dad023db91bd5ef70a38 WHIRLPOOL b4f865dfb4fe5e30d3a2c8ed2b734bc21c5a7aabf16fc237ddd54a2dd3a75ad5fec5d2bb692dad01fbe78119992d01937a71db5858021fab82a9578911e85698
23 +DIST core_bench-0.9.0.tar.gz 43091 SHA256 af45591500ddd531a84625cae5cb7ef8b7d9abdb99bf0145a5d121f8ce1f78c1 SHA512 4860143276ca8d7966519435c151923ed0f0767fc9a654e6ba75a777f24aa0a66d1ebc4b5b2f8bbcb20bc8e869220ea0c93ccc9c9b5764fa82ef87c17bec761e WHIRLPOOL 9c2eed4f95807e015c5ebbcf522bd350bff945a26fec4636f6f872eac6a784ae04a4541a0172a5dee12fbf5839c9511badcff9cc2c5318422b3c29e6292154fd
24
25 diff --git a/dev-ml/core_bench/core_bench-0.9.0.ebuild b/dev-ml/core_bench/core_bench-0.9.0.ebuild
26 new file mode 100644
27 index 00000000000..3ef6f650642
28 --- /dev/null
29 +++ b/dev-ml/core_bench/core_bench-0.9.0.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +DESCRIPTION="Micro-benchmarking library for OCaml"
37 +HOMEPAGE="https://github.com/janestreet/core_bench"
38 +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="Apache-2.0"
41 +SLOT="0/${PV}"
42 +KEYWORDS="~amd64"
43 +IUSE=""
44 +
45 +RDEPEND="
46 + dev-lang/ocaml:=
47 + dev-ml/core:=
48 + dev-ml/core_extended:=
49 + dev-ml/ppx_driver:=
50 + dev-ml/ppx_jane:=
51 + dev-ml/textutils:=
52 + dev-ml/ocaml-migrate-parsetree:=
53 + dev-ml/ocaml-re:=
54 +"
55 +DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
56 +
57 +src_install() {
58 + opam-installer -i \
59 + --prefix="${ED}/usr" \
60 + --libdir="${D}/$(ocamlc -where)" \
61 + --docdir="${ED}/usr/share/doc/${PF}" \
62 + ${PN}.install || die
63 +}
64
65 diff --git a/dev-ml/core_bench/core_bench-113.33.00.ebuild b/dev-ml/core_bench/core_bench-113.33.00.ebuild
66 deleted file mode 100644
67 index 17518a08f74..00000000000
68 --- a/dev-ml/core_bench/core_bench-113.33.00.ebuild
69 +++ /dev/null
70 @@ -1,51 +0,0 @@
71 -# Copyright 1999-2015 Gentoo Foundation
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI="5"
75 -
76 -inherit oasis
77 -
78 -DESCRIPTION="Micro-benchmarking library for OCaml"
79 -HOMEPAGE="https://ocaml.janestreet.com/"
80 -SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
81 -
82 -LICENSE="Apache-2.0"
83 -SLOT="0/${PV}"
84 -KEYWORDS="~amd64"
85 -IUSE=""
86 -
87 -RDEPEND="
88 - dev-ml/bin-prot:=
89 - dev-ml/core:=
90 - dev-ml/core_extended:=
91 - dev-ml/fieldslib:=
92 - dev-ml/ppx_assert:=
93 - dev-ml/ppx_bench:=
94 - dev-ml/ppx_driver:=
95 - dev-ml/ppx_expect:=
96 - dev-ml/ppx_inline_test:=
97 - dev-ml/ppx_jane:=
98 - dev-ml/sexplib:=
99 - dev-ml/textutils:=
100 - dev-ml/typerep:=
101 - dev-ml/variantslib:=
102 -"
103 -DEPEND="${RDEPEND} dev-ml/opam"
104 -
105 -src_configure() {
106 - emake setup.exe
107 - OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
108 -}
109 -
110 -src_compile() {
111 - emake
112 -}
113 -
114 -src_install() {
115 - opam-installer -i \
116 - --prefix="${ED}/usr" \
117 - --libdir="${D}/$(ocamlc -where)" \
118 - --docdir="${ED}/usr/share/doc/${PF}" \
119 - ${PN}.install || die
120 - dodoc CHANGES.md
121 -}