From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/happy: happy-1.19.5.ebuild ChangeLog |
Date: | Sat, 01 Aug 2015 15:32:27 |
Message-Id: | 20150801153222.3EB33115@oystercatcher.gentoo.org |
1 | slyfox 15/08/01 15:32:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: happy-1.19.5.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) |
9 | |
10 | Revision Changes Path |
11 | 1.78 dev-haskell/happy/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/happy/ChangeLog?rev=1.78&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/happy/ChangeLog?rev=1.78&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/happy/ChangeLog?r1=1.77&r2=1.78 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v |
20 | retrieving revision 1.77 |
21 | retrieving revision 1.78 |
22 | diff -u -r1.77 -r1.78 |
23 | --- ChangeLog 5 May 2015 21:13:55 -0000 1.77 |
24 | +++ ChangeLog 1 Aug 2015 15:32:22 -0000 1.78 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-haskell/happy |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v 1.77 2015/05/05 21:13:55 slyfox Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/ChangeLog,v 1.78 2015/08/01 15:32:22 slyfox Exp $ |
30 | + |
31 | +*happy-1.19.5 (01 Aug 2015) |
32 | + |
33 | + 01 Aug 2015; Sergei Trofimovich <slyfox@g.o> |
34 | + +files/happy-1.19.5-ghc-7.10.2.patch, +happy-1.19.5.ebuild: |
35 | + Version bump. |
36 | |
37 | 05 May 2015; Sergei Trofimovich <slyfox@g.o> happy-1.19.4.ebuild: |
38 | alpha/amd64/ia64/ppc/ppc64/sparc/x86 stable wrt bug #534978 |
39 | |
40 | |
41 | |
42 | 1.1 dev-haskell/happy/happy-1.19.5.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/happy/happy-1.19.5.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/happy/happy-1.19.5.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: happy-1.19.5.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.19.5.ebuild,v 1.1 2015/08/01 15:32:22 slyfox Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | # ebuild generated by hackport 0.3.4.9999 |
56 | |
57 | CABAL_FEATURES="bin test-suite" |
58 | inherit eutils haskell-cabal autotools |
59 | |
60 | DESCRIPTION="Happy is a parser generator for Haskell" |
61 | HOMEPAGE="http://www.haskell.org/happy/" |
62 | SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
63 | |
64 | LICENSE="BSD" |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
67 | IUSE="doc" |
68 | |
69 | RDEPEND="" |
70 | DEPEND="${RDEPEND} |
71 | >=dev-haskell/cabal-1.8 |
72 | >=dev-haskell/mtl-1.0 |
73 | >=dev-lang/ghc-6.10.4 |
74 | doc? ( ~app-text/docbook-xml-dtd-4.2 |
75 | app-text/docbook-xsl-stylesheets ) |
76 | " |
77 | |
78 | src_prepare() { |
79 | epatch "${FILESDIR}"/${PN}-1.19.5-ghc-7.10.2.patch |
80 | |
81 | for f in AttrGrammarParser Parser; do |
82 | # drop broken autogenerated |
83 | mv "dist/build/happy/happy-tmp/$f.hs" src/ || die |
84 | # drop depend on itself, otherwise cabal tries to regenerate it |
85 | rm "src/$f.ly" || die |
86 | done |
87 | use doc && cd doc && eautoconf |
88 | } |
89 | |
90 | src_configure() { |
91 | # '--with-happy=false' allows detecting circular |
92 | # depends even when 'happy' is installed in system |
93 | haskell-cabal_src_configure --with-happy=false |
94 | |
95 | if use doc; then |
96 | # does not like out-of-source builds |
97 | cd doc || die |
98 | econf |
99 | fi |
100 | } |
101 | |
102 | src_compile() { |
103 | haskell-cabal_src_compile |
104 | |
105 | if use doc; then |
106 | emake -C doc -j1 |
107 | fi |
108 | } |
109 | |
110 | src_test() { |
111 | # workaround https://github.com/haskell/cabal/issues/2398 |
112 | emake -k -C tests all || die |
113 | } |
114 | |
115 | src_install() { |
116 | haskell-cabal_src_install |
117 | if use doc; then |
118 | cd doc || die |
119 | dohtml -r happy/* |
120 | doman "${S}/doc/happy.1" |
121 | fi |
122 | } |