1 |
commit: 11dddc855bfb5bdcc88ad2f90f3ecba49f8be2ac |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 28 08:37:44 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 28 09:35:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11dddc85 |
7 |
|
8 |
dev-ml/alcotest: Bump to 0.8.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/alcotest/Manifest | 1 + |
13 |
dev-ml/alcotest/alcotest-0.8.0.ebuild | 46 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/alcotest/Manifest b/dev-ml/alcotest/Manifest |
17 |
index 9a585ee2ca5..15bd968b9d2 100644 |
18 |
--- a/dev-ml/alcotest/Manifest |
19 |
+++ b/dev-ml/alcotest/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST alcotest-0.7.2.tar.gz 24781 SHA256 75eac2c9b9c1f9e07d8c4de43ba8e852bd59ef1d7d322cd9c036a075335ef472 SHA512 3448c7d82c200f0cf2ac97f7f49060c350c0719124b24079b5babb48b1d3e0b0508ada0b273e1963dc07dc4cc072b0a589096c39b8b6d8a4adf7e011418dd4a3 WHIRLPOOL d1345d9c3481663fa29d99cf8483bc2e11251a088bd589472eb83f8483b7b3db6130098560de7cb3d00f0741c68c0d0060ae0b602a8f2af51950c0199b0ee612 |
22 |
+DIST alcotest-0.8.0.tar.gz 24078 SHA256 623c045899aba9b10f30cf424e380611f866985ef4c35cd8dbf3b9c0beb926ee SHA512 7dda623557fea2961d255d5c90855a3dc02f2a578aa49660d8550832523bb318daa2af6eba83a92532a43914ef4c74e8446a5bbffa726993f0382142c7d5325c WHIRLPOOL d580317a6928b14e21c72589ff7820b5bc1e13dfdd7efe383b356b76f174c17138314a767d15d08503af30c6a99917d2c83e2001b12cafe702571aec535c0e69 |
23 |
|
24 |
diff --git a/dev-ml/alcotest/alcotest-0.8.0.ebuild b/dev-ml/alcotest/alcotest-0.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..eab46cdca71 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/alcotest/alcotest-0.8.0.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="5" |
34 |
+ |
35 |
+DESCRIPTION="A lightweight and colourful test framework" |
36 |
+HOMEPAGE="https://github.com/mirage/alcotest/" |
37 |
+SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="ISC" |
40 |
+SLOT="0/${PV}" |
41 |
+KEYWORDS="~amd64" |
42 |
+IUSE="test" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-lang/ocaml:=[ocamlopt] |
46 |
+ dev-ml/fmt:= |
47 |
+ dev-ml/astring:= |
48 |
+ dev-ml/cmdliner:= |
49 |
+ dev-ml/result:= |
50 |
+" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-ml/opam |
53 |
+ dev-ml/jbuilder |
54 |
+ dev-ml/findlib" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ jbuilder build -p alcotest || die |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ jbuilder runtest -p alcotest || die |
62 |
+} |
63 |
+ |
64 |
+oinstall() { |
65 |
+ opam-installer -i \ |
66 |
+ --prefix="${ED}/usr" \ |
67 |
+ --libdir="${D}/$(ocamlc -where)" \ |
68 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
69 |
+ --mandir="${ED}/usr/share/man" \ |
70 |
+ ${1}.install || die |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ oinstall alcotest |
75 |
+} |