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/opam/
Date: Tue, 27 Dec 2016 12:40:51
Message-Id: 1482842438.f794393c387771b153227d45201f841e71202af6.aballier@gentoo
1 commit: f794393c387771b153227d45201f841e71202af6
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 26 17:49:38 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 27 12:40:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f794393c
7
8 dev-ml/opam: bump to 1.3.0
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/opam/Manifest | 1 +
13 dev-ml/opam/opam-1.3.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
17 index 144449c..e8ec3ff 100644
18 --- a/dev-ml/opam/Manifest
19 +++ b/dev-ml/opam/Manifest
20 @@ -1 +1,2 @@
21 DIST opam-1.2.2.tar.gz 648951 SHA256 3e4a05df6ff8deecba019d885ebe902eb933acb6e2fc7784ffee1ee14871e36a SHA512 12105b5219a14d4c4cb29c387dd5af858d2b4a2a1bad7dcd70e4c284fc52848df82933396571b85251d904b3c14cdf02db55060c1ba29dc34b8bab3721d05f54 WHIRLPOOL 97d6ab75620a4ed18b45d80e88e77564af457606cbb8dd4591030574bfdbff5c16d508e81438b78198b87511151b1b030e6a51c2370e3110ae21216846f37836
22 +DIST opam-1.3.0.tar.gz 669389 SHA256 9d50122940f44401c2dcee39b12a4e4afea851b2f2ab47d90b522f7395f10f7a SHA512 290535a1bb2e7eff6ab44126c5070d2bed94e68cee3bd5e47054f91ad81ed92e9a21f7888bd1dafcb397e3ac61589d4eaf7267305ac63d1aee08761701bdf647 WHIRLPOOL 64b8fc334b8dd193af1d4ae0d0bb445554f6afeb3007fefd4048816d1bd90363c7b18c4d44521da8162bc3ae49668d26b75ef811a4de4d5287597024d0b74ddd
23
24 diff --git a/dev-ml/opam/opam-1.3.0.ebuild b/dev-ml/opam/opam-1.3.0.ebuild
25 new file mode 100644
26 index 00000000..6d7f7d3
27 --- /dev/null
28 +++ b/dev-ml/opam/opam-1.3.0.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +inherit eutils
37 +
38 +DESCRIPTION="A source-based package manager for OCaml"
39 +HOMEPAGE="http://opam.ocaml.org/"
40 +LICENSE="LGPL-3-with-linking-exception"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +IUSE=""
44 +
45 +if [[ ${PV} != 9999 ]]; then
46 + SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 +else
48 + inherit git-r3
49 + EGIT_REPO_URI="https://github.com/ocaml/opam.git"
50 +fi
51 +
52 +DEPEND="dev-lang/ocaml:=
53 + || ( net-misc/wget net-misc/curl )
54 + dev-ml/extlib:=
55 + dev-ml/ocaml-re:=
56 + dev-ml/ocamlgraph:=
57 + dev-ml/cmdliner:=
58 + dev-ml/cudf:=
59 + >=dev-ml/dose3-5:=
60 + dev-ml/uutf:=
61 + dev-ml/jsonm:=
62 +"
63 +RDEPEND="${DEPEND}
64 + dev-ml/findlib
65 +"
66 +
67 +src_compile() {
68 + emake -j1
69 + cd doc
70 + emake man
71 +}
72 +
73 +src_test() {
74 + EMAIL=foo@×××.com emake -j1 tests
75 +}
76 +
77 +src_install() {
78 + default
79 + emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
80 +}