git.iko.soy/typeable/pandoc
on master help sign in
Require base >= 4.2 (i.e. GHC 6.12).
07793b6John MacFarlane
pandoc.cabal+9−19
@@ -199,7 +199,9 @@ Library
199 -- Note: the following is duplicated in all stanzas.
199 -- Note: the following is duplicated in all stanzas.
200 -- It needs to be duplicated because of the library & executable flags.
200 -- It needs to be duplicated because of the library & executable flags.
201 -- BEGIN DUPLICATED SECTION
201 -- BEGIN DUPLICATED SECTION
202+ Build-Depends: base >= 4.2 && <5,
203+ syb >= 0.1 && < 0.4,
202− Build-Depends: containers >= 0.1 && < 0.6,
204+ containers >= 0.1 && < 0.6,
203 parsec >= 3.1 && < 3.2,
205 parsec >= 3.1 && < 3.2,
204 mtl >= 1.1 && < 2.2,
206 mtl >= 1.1 && < 2.2,
205 network >= 2 && < 2.5,
207 network >= 2 && < 2.5,
@@ -232,10 +234,6 @@ Library
232 else
234 else
233 build-depends:
235 build-depends:
234 blaze-html >= 0.4.3.0 && < 0.5
236 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
239 if impl(ghc >= 7.0.1)
237 if impl(ghc >= 7.0.1)
240 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
238 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
241 else
239 else
@@ -311,7 +309,9 @@ Executable pandoc
311 -- Note: the following is duplicated in all stanzas.
309 -- Note: the following is duplicated in all stanzas.
312 -- It needs to be duplicated because of the library & executable flags.
310 -- It needs to be duplicated because of the library & executable flags.
313 -- BEGIN DUPLICATED SECTION
311 -- BEGIN DUPLICATED SECTION
312+ Build-Depends: base >= 4.2 && <5,
313+ syb >= 0.1 && < 0.4,
314− Build-Depends: containers >= 0.1 && < 0.6,
314+ containers >= 0.1 && < 0.6,
315 parsec >= 3.1 && < 3.2,
315 parsec >= 3.1 && < 3.2,
316 mtl >= 1.1 && < 2.2,
316 mtl >= 1.1 && < 2.2,
317 network >= 2 && < 2.5,
317 network >= 2 && < 2.5,
@@ -344,10 +344,6 @@ Executable pandoc
344 else
344 else
345 build-depends:
345 build-depends:
346 blaze-html >= 0.4.3.0 && < 0.5
346 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
351 if impl(ghc >= 7.0.1)
347 if impl(ghc >= 7.0.1)
352 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
348 Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
353 else
349 else
@@ -378,10 +374,6 @@ Test-Suite test-pandoc
378 Type: exitcode-stdio-1.0
374 Type: exitcode-stdio-1.0
379 Main-Is: test-pandoc.hs
375 Main-Is: test-pandoc.hs
380 Hs-Source-Dirs: tests
376 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
385 Build-Depends: pandoc,
377 Build-Depends: pandoc,
386 pandoc-types >= 1.10 && < 1.11,
378 pandoc-types >= 1.10 && < 1.11,
387 utf8-string >= 0.3 && < 0.4,
379 utf8-string >= 0.3 && < 0.4,
@@ -428,11 +420,9 @@ benchmark benchmark-pandoc
428 Type: exitcode-stdio-1.0
420 Type: exitcode-stdio-1.0
429 Main-Is: benchmark-pandoc.hs
421 Main-Is: benchmark-pandoc.hs
430 Hs-Source-Dirs: benchmark
422 Hs-Source-Dirs: benchmark
431− if impl(ghc >= 6.10)
432− Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
423+ Build-Depends: base >= 4.2 && < 5,
433− else
424+ syb >= 0.1 && < 0.4,
434− Build-depends: base >= 3 && < 4
435− Build-Depends: pandoc,
425+ pandoc,
436 criterion >= 0.5 && < 0.7,
426 criterion >= 0.5 && < 0.7,
437 json >= 0.4 && < 0.6
427 json >= 0.4 && < 0.6
438 if impl(ghc >= 7.0.1)
428 if impl(ghc >= 7.0.1)