| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.9.4.1.ebuild,v 1.1 2012/06/22 20:04:23 qnikst Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
# ebuild generated by hackport 0.2.18
|
| 8 |
|
| 9 |
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
| 10 |
inherit haskell-cabal
|
| 11 |
|
| 12 |
DESCRIPTION="Conversion between markup formats"
|
| 13 |
HOMEPAGE="http://johnmacfarlane.net/pandoc"
|
| 14 |
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
| 15 |
|
| 16 |
LICENSE="GPL-2"
|
| 17 |
SLOT="0"
|
| 18 |
KEYWORDS="~amd64 ~x86"
|
| 19 |
IUSE="test"
|
| 20 |
|
| 21 |
RDEPEND="=dev-haskell/base64-bytestring-0.1*[profile?]
|
| 22 |
=dev-haskell/blaze-html-0.5*[profile?]
|
| 23 |
>=dev-haskell/citeproc-hs-0.3.4[profile?]
|
| 24 |
<dev-haskell/citeproc-hs-0.4[profile?]
|
| 25 |
>=dev-haskell/highlighting-kate-0.5.1[profile?]
|
| 26 |
<dev-haskell/highlighting-kate-0.6[profile?]
|
| 27 |
>=dev-haskell/http-4000.0.5[profile?]
|
| 28 |
<dev-haskell/http-4000.3[profile?]
|
| 29 |
>=dev-haskell/json-0.4[profile?]
|
| 30 |
<dev-haskell/json-0.6[profile?]
|
| 31 |
>=dev-haskell/mtl-1.1[profile?]
|
| 32 |
<dev-haskell/mtl-2.2[profile?]
|
| 33 |
>=dev-haskell/network-2[profile?]
|
| 34 |
<dev-haskell/network-2.4[profile?]
|
| 35 |
>=dev-haskell/pandoc-types-1.9.0.2[profile?]
|
| 36 |
<dev-haskell/pandoc-types-1.10[profile?]
|
| 37 |
=dev-haskell/parsec-3.1*[profile?]
|
| 38 |
>=dev-haskell/random-1[profile?]
|
| 39 |
<dev-haskell/random-1.1[profile?]
|
| 40 |
>=dev-haskell/syb-0.1[profile?]
|
| 41 |
<dev-haskell/syb-0.4[profile?]
|
| 42 |
>=dev-haskell/tagsoup-0.12.5[profile?]
|
| 43 |
<dev-haskell/tagsoup-0.13[profile?]
|
| 44 |
=dev-haskell/temporary-1.1*[profile?]
|
| 45 |
>=dev-haskell/texmath-0.6.0.2[profile?]
|
| 46 |
<dev-haskell/texmath-0.7[profile?]
|
| 47 |
>=dev-haskell/time-1.2[profile?]
|
| 48 |
<dev-haskell/time-1.5[profile?]
|
| 49 |
=dev-haskell/utf8-string-0.3*[profile?]
|
| 50 |
>=dev-haskell/xml-1.3.12[profile?]
|
| 51 |
<dev-haskell/xml-1.4[profile?]
|
| 52 |
>=dev-haskell/zip-archive-0.1.1.7[profile?]
|
| 53 |
<dev-haskell/zip-archive-0.2[profile?]
|
| 54 |
=dev-haskell/zlib-0.5*[profile?]
|
| 55 |
>=dev-lang/ghc-6.10.1"
|
| 56 |
DEPEND="${RDEPEND}
|
| 57 |
>=dev-haskell/cabal-1.10
|
| 58 |
test? ( dev-haskell/ansi-terminal[profile?]
|
| 59 |
dev-haskell/diff[profile?]
|
| 60 |
dev-haskell/hunit[profile?]
|
| 61 |
dev-haskell/quickcheck:2[profile?]
|
| 62 |
dev-haskell/test-framework-hunit[profile?]
|
| 63 |
dev-haskell/test-framework-quickcheck2[profile?]
|
| 64 |
dev-haskell/test-framework[profile?]
|
| 65 |
)"
|
| 66 |
|
| 67 |
PATCHES=("${FILESDIR}/${PN}-1.9.4.1-ghc-7.5.patch")
|
| 68 |
|
| 69 |
src_configure() {
|
| 70 |
cabal_src_configure \
|
| 71 |
$(cabal_flag test tests)
|
| 72 |
}
|
| 73 |
|
| 74 |
src_install() {
|
| 75 |
cabal_src_install
|
| 76 |
|
| 77 |
doman "${S}/man/man1/${PN}.1"
|
| 78 |
|
| 79 |
# COPYING is installed by the Cabal eclass
|
| 80 |
dodoc README COPYRIGHT changelog
|
| 81 |
}
|