Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/opam: opam-1.2.0.ebuild metadata.xml ChangeLog
Date: Wed, 29 Oct 2014 09:05:08
Message-Id: 20141029090504.5E3888FD0@oystercatcher.gentoo.org
1 aballier 14/10/29 09:05:04
2
3 Added: opam-1.2.0.ebuild metadata.xml ChangeLog
4 Log:
5 initial import, ebuild by OGINO Masanori & Guillaume Horel in bug #497184 with some modifications by me
6
7 Signed-off-by: aballier@g.o
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.1 dev-ml/opam/opam-1.2.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/opam-1.2.0.ebuild?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/opam-1.2.0.ebuild?rev=1.1&content-type=text/plain
15
16 Index: opam-1.2.0.ebuild
17 ===================================================================
18 # Copyright 1999-2014 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/dev-ml/opam/opam-1.2.0.ebuild,v 1.1 2014/10/29 09:05:04 aballier Exp $
21
22 EAPI=5
23
24 inherit eutils
25
26 DESCRIPTION="A source-based package manager for OCaml"
27 HOMEPAGE="http://opam.ocaml.org/"
28 LICENSE="LGPL-3-with-linking-exception"
29 SLOT="0"
30 KEYWORDS="~amd64"
31 IUSE=""
32
33 if [[ ${PV} != 9999 ]]; then
34 SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
35 else
36 inherit git-r3
37 EGIT_REPO_URI="https://github.com/ocaml/opam.git"
38 fi
39
40 DEPEND="dev-lang/ocaml:=
41 || ( net-misc/wget net-misc/curl )
42 dev-ml/extlib:=
43 dev-ml/ocaml-re:=
44 dev-ml/ocamlgraph:=
45 dev-ml/cmdliner:=
46 dev-ml/cudf:=
47 dev-ml/dose3:=
48 dev-ml/uutf:=
49 dev-ml/jsonm:=
50 "
51 RDEPEND="${DEPEND}
52 dev-ml/findlib
53 "
54
55 src_compile() {
56 emake -j1
57 cd doc
58 emake man
59 }
60
61 src_test() {
62 EMAIL=foo@×××.com emake -j1 tests
63 }
64
65 src_install() {
66 default
67 emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
68 }
69
70
71
72 1.1 dev-ml/opam/metadata.xml
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/metadata.xml?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/metadata.xml?rev=1.1&content-type=text/plain
76
77 Index: metadata.xml
78 ===================================================================
79 <?xml version="1.0" encoding="UTF-8"?>
80 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
81 <pkgmetadata>
82 <herd>ml</herd>
83 </pkgmetadata>
84
85
86
87 1.1 dev-ml/opam/ChangeLog
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/ChangeLog?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/opam/ChangeLog?rev=1.1&content-type=text/plain
91
92 Index: ChangeLog
93 ===================================================================
94 # ChangeLog for dev-ml/opam
95 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
96 # $Header: /var/cvsroot/gentoo-x86/dev-ml/opam/ChangeLog,v 1.1 2014/10/29 09:05:04 aballier Exp $
97
98 *opam-1.2.0 (29 Oct 2014)
99
100 29 Oct 2014; Alexis Ballier <aballier@g.o> +opam-1.2.0.ebuild,
101 +metadata.xml:
102 initial import, ebuild by OGINO Masanori & Guillaume Horel in bug #497184
103 with some modifications by me