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/ounit: ChangeLog ounit-1.0.3.ebuild
Date: Sat, 20 Jun 2009 15:53:37
Message-Id: E1MI2sp-0007eR-4X@stork.gentoo.org
1 aballier 09/06/20 15:53:35
2
3 Modified: ChangeLog
4 Added: ounit-1.0.3.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.15 dev-ml/ounit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 20 Jun 2009 15:32:42 -0000 1.14
23 +++ ChangeLog 20 Jun 2009 15:53:35 -0000 1.15
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ml/ounit
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.14 2009/06/20 15:32:42 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.15 2009/06/20 15:53:35 aballier Exp $
29 +
30 +*ounit-1.0.3 (20 Jun 2009)
31 +
32 + 20 Jun 2009; Alexis Ballier <aballier@g.o> +ounit-1.0.3.ebuild:
33 + version bump
34
35 20 Jun 2009; Alexis Ballier <aballier@g.o> ounit-1.0.2.ebuild:
36 explicitly assign rdepend
37
38
39
40 1.1 dev-ml/ounit/ounit-1.0.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ounit-1.0.3.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild,v 1.1 2009/06/20 15:53:35 aballier Exp $
50
51 EAPI="1"
52
53 inherit findlib eutils
54
55 DESCRIPTION="Unit testing framework for OCaml"
56 HOMEPAGE="http://www.xs4all.nl/~mmzeeman/ocaml/"
57 SRC_URI="http://www.xs4all.nl/~mmzeeman/ocaml/${P}.tar.gz"
58 LICENSE="MIT"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~x86"
61 DEPEND="dev-lang/ocaml"
62 RDEPEND="${DEPEND}"
63 IUSE="+ocamlopt"
64
65 pkg_setup() {
66 if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
67 eerror "In order to build ${PN} with native code support from ocaml"
68 eerror "You first need to have a native code ocaml compiler."
69 eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
70 die "Please install ocaml with ocamlopt useflag"
71 fi
72 }
73
74 src_compile() {
75 emake all || die "emake failed"
76 if use ocamlopt; then
77 emake allopt || die "failed to build native code"
78 fi
79 }
80
81 src_install() {
82 findlib_src_install
83
84 # install documentation
85 dodoc README changelog
86 }