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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jan 2 10:33:11 2015 UTC (5 years, 1 month ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +9 -3 lines
Add network-uri to depends (bug #532550 by Helmut Jarausch).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.2 # Copyright 1999-2015 Gentoo Foundation
2 gienah 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild,v 1.1 2014/07/02 15:45:40 gienah Exp $
4 gienah 1.1
5     EAPI=5
6    
7     # ebuild generated by hackport 0.4.9999
8     #hackport: flags: -small_base
9    
10     CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
11     inherit 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 +hexpat +network test_citeproc unicode_collation"
21    
22     RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
23     dev-haskell/aeson:=[profile?]
24     dev-haskell/aeson-pretty:=[profile?]
25     dev-haskell/attoparsec:=[profile?]
26     dev-haskell/mtl:=[profile?]
27     >=dev-haskell/pandoc-types-1.12.3:=[profile?]
28     dev-haskell/parsec:=[profile?]
29     dev-haskell/split:=[profile?]
30     dev-haskell/syb:=[profile?]
31     dev-haskell/tagsoup:=[profile?]
32     >=dev-haskell/temporary-1.1:=[profile?]
33     >=dev-haskell/texmath-0.6.4:=[profile?]
34     dev-haskell/text:=[profile?]
35     >=dev-haskell/vector-0.10:=[profile?] <dev-haskell/vector-0.11:=[profile?]
36     >=dev-haskell/yaml-0.8.8.2:=[profile?]
37     >=dev-lang/ghc-7.4.1:=
38     bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
39     hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
40     !hexpat? ( dev-haskell/xml:=[profile?] )
41     network? ( >=dev-haskell/http-4000.0.9:=[profile?]
42 slyfox 1.2 >=dev-haskell/network-2:=[profile?]
43     dev-haskell/network-uri:=[profile?] )
44 gienah 1.1 unicode_collation? ( dev-haskell/text-icu:=[profile?] )
45     !unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
46     "
47     DEPEND="${RDEPEND}
48     >=dev-haskell/cabal-1.12
49     test? ( >=app-text/pandoc-1.12.1
50     dev-haskell/aeson
51     >=dev-haskell/pandoc-types-1.12.3
52     dev-haskell/text
53     >=dev-haskell/yaml-0.8.8.2 )
54     "
55    
56 slyfox 1.2 src_prepare() {
57     cabal_chdeps \
58     'network >= 2,' 'network >= 2, network-uri,'
59     }
60    
61 gienah 1.1 src_configure() {
62     # workaround bug on ghc-7.6.3:
63     # > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
64     # > stack overflow: use +RTS -K<size> to increase it
65     [[ $(ghc-version) == 7.6.* ]] && replace-hcflags -O[2-9] -O1
66     [[ $(ghc-version) == 7.8.* ]] && replace-hcflags -O[2-9] -O1
67    
68     haskell-cabal_src_configure \
69     $(cabal_flag bibutils bibutils) \
70     $(cabal_flag embed_data_files embed_data_files) \
71     $(cabal_flag hexpat hexpat) \
72     $(cabal_flag network network) \
73     --flag=-small_base \
74     $(cabal_flag test_citeproc test_citeproc) \
75     $(cabal_flag unicode_collation unicode_collation)
76     }

  ViewVC Help
Powered by ViewVC 1.1.20