Gentoo Archives: gentoo-commits

From: "Lennart Kolmodin (kolmodin)" <kolmodin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/happy: ChangeLog happy-1.18.4.ebuild
Date: Sun, 02 Aug 2009 09:09:53
Message-Id: E1MXX4g-0005v7-QM@stork.gentoo.org
1 kolmodin 09/08/02 09:09:50
2
3 Modified: ChangeLog
4 Added: happy-1.18.4.ebuild
5 Log:
6 Version bump dev-haskell/happy to 1.18.4
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 dev-haskell/happy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/happy/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/happy/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/happy/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 21 May 2009 00:11:52 -0000 1.42
23 +++ ChangeLog 2 Aug 2009 09:09:50 -0000 1.43
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-haskell/happy
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v 1.42 2009/05/21 00:11:52 tcunha Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v 1.43 2009/08/02 09:09:50 kolmodin Exp $
30 +
31 +*happy-1.18.4 (02 Aug 2009)
32 +
33 + 02 Aug 2009; Lennart Kolmodin <kolmodin@g.o> +happy-1.18.4.ebuild:
34 + Version bump.
35
36 21 May 2009; Tiago Cunha <tcunha@g.o> happy-1.18.2.ebuild:
37 stable sparc, bug 268074
38
39
40
41 1.1 dev-haskell/happy/happy-1.18.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/happy/happy-1.18.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/happy/happy-1.18.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: happy-1.18.4.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.18.4.ebuild,v 1.1 2009/08/02 09:09:50 kolmodin Exp $
51
52 CABAL_FEATURES="bin"
53 inherit haskell-cabal autotools
54
55 DESCRIPTION="Happy is a parser generator for Haskell"
56 HOMEPAGE="http://www.haskell.org/happy/"
57 SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="doc"
63
64 DEPEND=">=dev-lang/ghc-6.4
65 >=dev-haskell/cabal-1.2.3
66 >=dev-haskell/mtl-1.0
67 doc? ( ~app-text/docbook-xml-dtd-4.2
68 app-text/docbook-xsl-stylesheets )"
69 RDEPEND=""
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}/doc" && eautoconf
74 }
75
76 src_compile() {
77 cabal_src_compile
78 if use doc; then
79 cd doc
80 econf || die "econf failed in /doc"
81 emake -j1 || die "emake failed in /doc"
82 fi
83 }
84
85 src_install() {
86 cabal_src_install
87 use doc && cd doc && dohtml -r happy/*
88 }