1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # ebuild generated by hackport 0.6.9999
7 #hackport: flags: +small_base
9 CABAL_FEATURES="test-suite"
10 inherit haskell-cabal autotools
12 DESCRIPTION="Happy is a parser generator for Haskell"
13 HOMEPAGE="https://www.haskell.org/happy/"
14 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
18 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
21 RDEPEND=">=dev-haskell/mtl-2.2.1:=
22 >=dev-lang/ghc-7.4.1:=
25 >=dev-haskell/cabal-1.8
26 doc? ( ~app-text/docbook-xml-dtd-4.2
27 app-text/docbook-xsl-stylesheets )
40 # '--with-happy=false' allows detecting circular
41 # depends even when 'happy' is installed in system
42 haskell-cabal_src_configure \
47 # does not like out-of-source builds
54 haskell-cabal_src_compile
62 haskell-cabal_src_install