/[gentoo-x86]/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild
Gentoo

Contents of /dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jan 10 09:18:55 2015 UTC (5 years ago) by gienah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -3 lines
Patch pandoc-citeproc for ghc 7.10.1 RC1 https://github.com/jgm/pandoc-citeproc/pull/99

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 618E971F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.6.ebuild,v 1.1 2014/12/14 08:46:43 gienah Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.4.4.9999
8 #hackport: flags: -small_base
9
10 CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
11 inherit base haskell-cabal
12
13 DESCRIPTION="Supports using pandoc with citeproc"
14 HOMEPAGE="http://hackage.haskell.org/package/pandoc-citeproc"
15 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
16
17 LICENSE="BSD"
18 SLOT="0/${PV}"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="+bibutils embed_data_files test_citeproc unicode_collation"
21
22 RESTRICT=test # missing files
23
24 RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
25 >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.9:=[profile?]
26 dev-haskell/aeson-pretty:=[profile?]
27 dev-haskell/attoparsec:=[profile?]
28 dev-haskell/data-default:=[profile?]
29 dev-haskell/mtl:=[profile?]
30 >=dev-haskell/pandoc-types-1.12.3:=[profile?]
31 dev-haskell/parsec:=[profile?]
32 dev-haskell/split:=[profile?]
33 dev-haskell/syb:=[profile?]
34 dev-haskell/tagsoup:=[profile?]
35 >=dev-haskell/temporary-1.1:=[profile?]
36 dev-haskell/text:=[profile?]
37 >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
38 >=dev-haskell/xml-conduit-1.2:=[profile?] <dev-haskell/xml-conduit-1.3:=[profile?]
39 >=dev-haskell/yaml-0.8.8.2:=[profile?]
40 >=dev-lang/ghc-7.4.1:=
41 bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
42 unicode_collation? ( dev-haskell/text-icu:=[profile?] )
43 !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
44 "
45 DEPEND="${RDEPEND}
46 >=dev-haskell/cabal-1.12
47 "
48
49 PATCHES=("${FILESDIR}/${PN}-0.6-ghc-7.10.patch")
50
51 src_configure() {
52 # workaround bug on ghc-7.6.3:
53 # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
54 # > stack overflow: use +RTS -K<size> to increase it
55 [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1
56 [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1
57
58 haskell-cabal_src_configure \
59 $(cabal_flag bibutils bibutils) \
60 $(cabal_flag embed_data_files embed_data_files) \
61 --flag=-small_base \
62 $(cabal_flag test_citeproc test_citeproc) \
63 $(cabal_flag unicode_collation unicode_collation)
64 }

  ViewVC Help
Powered by ViewVC 1.1.20