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/parmap/
Date: Mon, 27 Feb 2017 08:34:26
Message-Id: 1488184441.c86c4fc678bf5bc2c227e64b6d4c236ceef1b883.aballier@gentoo
1 commit: c86c4fc678bf5bc2c227e64b6d4c236ceef1b883
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 22:45:54 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 08:34:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86c4fc6
7
8 dev-ml/parmap: Bump to 1.0 rc8
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/parmap/Manifest | 1 +
13 dev-ml/parmap/parmap-1.0_rc8.ebuild | 47 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-ml/parmap/Manifest b/dev-ml/parmap/Manifest
17 index 172297bb1d..bed3beb463 100644
18 --- a/dev-ml/parmap/Manifest
19 +++ b/dev-ml/parmap/Manifest
20 @@ -1 +1,2 @@
21 DIST parmap-1.0_rc7-ocaml-4.03.tar.gz 98262 SHA256 78f3baa7f9b9c7b5e2a3571624b844fce2b0b9f8744ebf5309ad880e74940fbb SHA512 c8b7678fede76d35b299ef0548ef3819f9ec056cde4d5498e11f2400b96149b17ce58c35d197d10dba5fd4a702b94fe78090e1f330791b0f470891f0bbf7a544 WHIRLPOOL 1e21a0676458222938afab3feec4f23048537870b10fa62a4c213368642eed642d3c4cf0e167d3267a7d0237be7ea0e1c13e8c164a8020a5f32acb7b1f4e568b
22 +DIST parmap-1.0_rc8.tar.gz 98699 SHA256 288fe4e72c10e9866cd8173bedf052d62421646a2a8aaffe96b70239695cf7a4 SHA512 96bbe49f06dc3611577e87d9e6f5ca32e10271d6a14a0970bd4548fcaf268f833b3143258e14328237a60578e2355687e4bff031a021903f3e2280ef1713cc65 WHIRLPOOL c80fbf635429050fc3d1494cb190107f9bf220435902b943e820d1e3340ed9e3b28cf4cf7d310ee9a4b6014fb8cdd9de4eb0415ef70ef4b83770f7969d7a27e5
23
24 diff --git a/dev-ml/parmap/parmap-1.0_rc8.ebuild b/dev-ml/parmap/parmap-1.0_rc8.ebuild
25 new file mode 100644
26 index 0000000000..0a047be43a
27 --- /dev/null
28 +++ b/dev-ml/parmap/parmap-1.0_rc8.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2017 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-4.03:=[ocamlopt?]"
49 +DEPEND="${RDEPEND}
50 + dev-ml/findlib
51 + dev-ml/ocamlbuild
52 + dev-ml/ocaml-autoconf"
53 +S="${WORKDIR}/${PN}-${MY_PV/+/-}"
54 +
55 +src_test() {
56 + mkdir "${WORKDIR}/tmpinstall" || die
57 + emake \
58 + OCAMLLIBDIR="ocaml" \
59 + DESTDIR="${WORKDIR}/tmpinstall" \
60 + install
61 + export OCAMLPATH="${WORKDIR}/tmpinstall/ocaml"
62 + emake tests
63 + cd _build/tests || die
64 + for i in $(find . -type f -executable) ; do
65 + ${i} || die
66 + done
67 +}
68 +
69 +src_install() {
70 + emake \
71 + OCAMLLIBDIR="$(get_libdir)/ocaml" \
72 + MANDIR="${ED}/usr/share/man/man3o" \
73 + DESTDIR="${ED}/usr" \
74 + install
75 + dodoc AUTHORS Changelog README
76 +}