git.iko.soy/typeable/pandoc
on master help sign in
Require base >= 4.2 (i.e. GHC 6.12).
commit07793b6b7fcb6319f0bff436660ab6de61466e0a authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 23 Sep 2012, 12:57 (14 years ago) parentf673336
1 file changed+9−19
pandoc.cabal+9−19
pandoc.cabal+9−19
@@ -199,7 +199,9 @@ Library
199199 -- Note: the following is duplicated in all stanzas.
200200 -- It needs to be duplicated because of the library & executable flags.
201201 -- BEGIN DUPLICATED SECTION
202− Build-Depends: containers >= 0.1 && < 0.6,
202+ Build-Depends: base >= 4.2 && <5,
203+ syb >= 0.1 && < 0.4,
204+ containers >= 0.1 && < 0.6,
203205 parsec >= 3.1 && < 3.2,
204206 mtl >= 1.1 && < 2.2,
205207 network >= 2 && < 2.5,
@@ -232,10 +234,6 @@ Library
232234 else
233235 build-depends:
234236 blaze-html >= 0.4.3.0 && < 0.5
235− if impl(ghc >= 6.10)
236− Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
237− else
238− Build-depends: base >= 3 && < 4
239237 if impl(ghc >= 7.0.1)
240238 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
241239 else
@@ -311,7 +309,9 @@ Executable pandoc
311309 -- Note: the following is duplicated in all stanzas.
312310 -- It needs to be duplicated because of the library & executable flags.
313311 -- BEGIN DUPLICATED SECTION
314− Build-Depends: containers >= 0.1 && < 0.6,
312+ Build-Depends: base >= 4.2 && <5,
313+ syb >= 0.1 && < 0.4,
314+ containers >= 0.1 && < 0.6,
315315 parsec >= 3.1 && < 3.2,
316316 mtl >= 1.1 && < 2.2,
317317 network >= 2 && < 2.5,
@@ -344,10 +344,6 @@ Executable pandoc
344344 else
345345 build-depends:
346346 blaze-html >= 0.4.3.0 && < 0.5
347− if impl(ghc >= 6.10)
348− Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
349− else
350− Build-depends: base >= 3 && < 4
351347 if impl(ghc >= 7.0.1)
352348 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
353349 else
@@ -378,10 +374,6 @@ Test-Suite test-pandoc
378374 Type: exitcode-stdio-1.0
379375 Main-Is: test-pandoc.hs
380376 Hs-Source-Dirs: tests
381− if impl(ghc >= 6.10)
382− Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
383− else
384− Build-depends: base >= 3 && < 4
385377 Build-Depends: pandoc,
386378 pandoc-types >= 1.10 && < 1.11,
387379 utf8-string >= 0.3 && < 0.4,
@@ -428,11 +420,9 @@ benchmark benchmark-pandoc
428420 Type: exitcode-stdio-1.0
429421 Main-Is: benchmark-pandoc.hs
430422 Hs-Source-Dirs: benchmark
431− if impl(ghc >= 6.10)
432− Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
433− else
434− Build-depends: base >= 3 && < 4
435− Build-Depends: pandoc,
423+ Build-Depends: base >= 4.2 && < 5,
424+ syb >= 0.1 && < 0.4,
425+ pandoc,
436426 criterion >= 0.5 && < 0.7,
437427 json >= 0.4 && < 0.6
438428 if impl(ghc >= 7.0.1)