1 |
commit: 4831d334416d45bf4a2e102681eca67c625e2cc5 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 09:07:31 2015 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 09:33:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4831d334 |
7 |
|
8 |
dev-ml/parmap: bump to 1.0_rc7 |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-ml/parmap/Manifest | 1 + |
13 |
dev-ml/parmap/parmap-1.0_rc7.ebuild | 46 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/parmap/Manifest b/dev-ml/parmap/Manifest |
17 |
index 643dd71..6fe122f 100644 |
18 |
--- a/dev-ml/parmap/Manifest |
19 |
+++ b/dev-ml/parmap/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST parmap-1.0_rc6.tar.gz 97083 SHA256 25e2eeb2ec8b1dedc8067443ddcddf4ab0ff2e3821da888338146af69e8fd9e6 SHA512 5378a8ce03d3a4d139d06093bd29fa83eca13b6e74be14d379337c9a08ebac39b23920925375c753c63c7f62970f7f899a9d6cbf8a5001b262293cf52e9ea5c1 WHIRLPOOL 28c11c3ef9d4b0fb56fde988dc62e2993a313445005b657838cad41e9768a13a65535d69d81cac792bc8a95038521fe130488e25dcf87ef25d61d9533fea6729 |
22 |
+DIST parmap-1.0_rc7.tar.gz 97799 SHA256 b993d47b8b8e5342839b851b46aba52264b4f8c527db08f3124ed7a7de7e1912 SHA512 50ac96f0f8b835298958f1a8ca65a2e488eab9c86f5fd57b43d5cd8145c71594a537add568dbe8f471d41157701769e35d0e992b07b430252623b72d7488d562 WHIRLPOOL 54842d45a7495316f42ae63de08db88512adddc1ee743a70de5a899d4c35e7a2e062bfc6f9456c65a32d2279784eb291f0299fd9b785e59e3607dec193f7f01d |
23 |
|
24 |
diff --git a/dev-ml/parmap/parmap-1.0_rc7.ebuild b/dev-ml/parmap/parmap-1.0_rc7.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..c5b0a5f |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/parmap/parmap-1.0_rc7.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit multilib |
37 |
+ |
38 |
+MY_PV="${PV/_/-}" |
39 |
+DESCRIPTION="Library allowing to exploit multicore architectures for OCaml programs with minimal modifications" |
40 |
+HOMEPAGE="http://www.dicosmo.org/code/parmap/" |
41 |
+SRC_URI="https://github.com/rdicosmo/parmap/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2-with-linking-exception" |
44 |
+SLOT="0/${PV}" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+ocamlopt" |
47 |
+ |
48 |
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-ml/findlib |
51 |
+ dev-ml/ocaml-autoconf" |
52 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
53 |
+ |
54 |
+src_test() { |
55 |
+ mkdir "${WORKDIR}/tmpinstall" || die |
56 |
+ emake \ |
57 |
+ OCAMLLIBDIR="ocaml" \ |
58 |
+ DESTDIR="${WORKDIR}/tmpinstall" \ |
59 |
+ install |
60 |
+ export OCAMLPATH="${WORKDIR}/tmpinstall/ocaml" |
61 |
+ emake tests |
62 |
+ cd _build/tests || die |
63 |
+ for i in $(find . -type f -executable) ; do |
64 |
+ ${i} || die |
65 |
+ done |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ emake \ |
70 |
+ OCAMLLIBDIR="$(get_libdir)/ocaml" \ |
71 |
+ MANDIR="${ED}/usr/share/man/man3o" \ |
72 |
+ DESTDIR="${ED}/usr" \ |
73 |
+ install |
74 |
+ dodoc AUTHORS ChangeLog README |
75 |
+} |