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.1.0.ebuild |
Date: | Sat, 09 Oct 2010 01:03:04 |
Message-Id: | 20101009005250.8201520051@flycatcher.gentoo.org |
1 | aballier 10/10/09 00:52:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ounit-1.1.0.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2_rc91/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.20 dev-ml/ounit/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.20&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.20&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?r1=1.19&r2=1.20 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v |
20 | retrieving revision 1.19 |
21 | retrieving revision 1.20 |
22 | diff -u -r1.19 -r1.20 |
23 | --- ChangeLog 28 Sep 2009 16:26:13 -0000 1.19 |
24 | +++ ChangeLog 9 Oct 2010 00:52:50 -0000 1.20 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ml/ounit |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.19 2009/09/28 16:26:13 betelgeuse Exp $ |
29 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.20 2010/10/09 00:52:50 aballier Exp $ |
31 | + |
32 | +*ounit-1.1.0 (09 Oct 2010) |
33 | + |
34 | + 09 Oct 2010; Alexis Ballier <aballier@g.o> +ounit-1.1.0.ebuild: |
35 | + version bump |
36 | |
37 | 28 Sep 2009; Petteri Räty <betelgeuse@g.o> ounit-1.0.3.ebuild: |
38 | Migrate to EAPI 2 in order to nuke built_with_use. |
39 | |
40 | |
41 | |
42 | 1.1 dev-ml/ounit/ounit-1.1.0.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ounit-1.1.0.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ounit-1.1.0.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ounit-1.1.0.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.1.0.ebuild,v 1.1 2010/10/09 00:52:50 aballier Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit findlib multilib |
56 | |
57 | DESCRIPTION="Unit testing framework for OCaml" |
58 | HOMEPAGE="http://ounit.forge.ocamlcore.org/" |
59 | SRC_URI="https://forge.ocamlcore.org/frs/download.php/495/${P}.tar.gz" |
60 | LICENSE="MIT" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~x86" |
63 | DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]" |
64 | RDEPEND="${DEPEND}" |
65 | IUSE="debug doc +ocamlopt" |
66 | |
67 | oasis_use_enable() { |
68 | echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`" |
69 | } |
70 | |
71 | src_configure() { |
72 | chmod +x configure |
73 | ./configure --prefix usr \ |
74 | --libdir /usr/$(get_libdir) \ |
75 | --docdir /usr/share/doc/${PF}/html \ |
76 | --destdir "${D}" \ |
77 | $(oasis_use_enable debug debug) \ |
78 | $(oasis_use_enable ocamlopt is_native) \ |
79 | || die |
80 | } |
81 | |
82 | src_compile() { |
83 | emake || die |
84 | if use doc ; then |
85 | emake doc || die |
86 | fi |
87 | } |
88 | |
89 | src_install() { |
90 | findlib_src_install |
91 | |
92 | # install documentation |
93 | dodoc README* AUTHORS* changelog || die |
94 | } |