# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.9.4.5.ebuild,v 1.4 2012/12/29 07:32:40 slyfox Exp $ EAPI=5 # ebuild generated by hackport 0.3.9999 CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" inherit base haskell-cabal DESCRIPTION="Conversion between markup formats" HOMEPAGE="http://johnmacfarlane.net/pandoc" SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-haskell/base64-bytestring-0.1:=[profile?] =dev-haskell/citeproc-hs-0.3.4:=[profile?] =dev-haskell/highlighting-kate-0.5.1:=[profile?] =dev-haskell/http-4000.0.5:=[profile?] =dev-haskell/json-0.4:=[profile?] =dev-haskell/mtl-1.1:=[profile?] =dev-haskell/network-2:=[profile?] =dev-haskell/pandoc-types-1.9.0.2:=[profile?] =dev-haskell/random-1:=[profile?] =dev-haskell/syb-0.1:=[profile?] =dev-haskell/tagsoup-0.12.5:=[profile?] =dev-haskell/texmath-0.6.0.2:=[profile?] =dev-haskell/xml-1.3.12:=[profile?] =dev-haskell/zip-archive-0.1.1.7:=[profile?] =dev-lang/ghc-7.4.2:=" DEPEND="${RDEPEND} test? ( =dev-haskell/ansi-terminal-0.5* =dev-haskell/diff-0.1* =dev-haskell/hunit-1.2* >=dev-haskell/quickcheck-2.4 =dev-haskell/test-framework-0.3 =dev-haskell/test-framework-hunit-0.2 =dev-haskell/test-framework-quickcheck2-0.2.9 =dev-haskell/cabal-1.10" PATCHES=("${FILESDIR}"/${P}-disable-writes-other-man.patch) src_prepare() { base_src_prepare cabal_chdeps \ 'test-framework >= 0.3 && < 0.7' 'test-framework >= 0.3 && < 0.9' \ 'test-framework-hunit >= 0.2 && < 0.3' 'test-framework-hunit >= 0.2 && < 0.4' \ 'test-framework-quickcheck2 >= 0.2.9 && < 0.3' 'test-framework-quickcheck2 >= 0.2.9 && < 0.4' } src_install() { cabal_src_install doman "${S}/man/man1/${PN}.1" # COPYING is installed by the Cabal eclass dodoc README COPYRIGHT changelog }