git.iko.soy/typeable/pandoc
on master help sign in
Added old-locale flag.
c6ad01dJohn MacFarlane
pandoc.cabal+10−3
@@ -211,6 +211,10 @@ Flag network-uri
211 Description: Get Network.URI from the network-uri package
211 Description: Get Network.URI from the network-uri package
212 Default: True
212 Default: True
213
213
214+Flag old-locale
215+ Description: Use old-locale and time < 1.5
216+ Default: True
217+
214Library
218Library
215 Build-Depends: base >= 4.2 && <5,
219 Build-Depends: base >= 4.2 && <5,
216 syb >= 0.1 && < 0.5,
220 syb >= 0.1 && < 0.5,
@@ -225,8 +229,6 @@ Library
225 bytestring >= 0.9 && < 0.11,
229 bytestring >= 0.9 && < 0.11,
226 text >= 0.11 && < 1.3,
230 text >= 0.11 && < 1.3,
227 zip-archive >= 0.2.3.4 && < 0.3,
231 zip-archive >= 0.2.3.4 && < 0.3,
228− old-locale >= 1 && < 1.1,
229− time >= 1.2 && < 1.5,
230 HTTP >= 4000.0.5 && < 4000.3,
232 HTTP >= 4000.0.5 && < 4000.3,
231 texmath >= 0.8 && < 0.9,
233 texmath >= 0.8 && < 0.9,
232 xml >= 1.3.12 && < 1.4,
234 xml >= 1.3.12 && < 1.4,
@@ -252,6 +254,11 @@ Library
252 old-time,
254 old-time,
253 deepseq-generics >= 0.1 && < 0.2,
255 deepseq-generics >= 0.1 && < 0.2,
254 JuicyPixels >= 3.1.6.1 && < 3.3
256 JuicyPixels >= 3.1.6.1 && < 3.3
257+ if flag(old-locale)
258+ Build-Depends: old-locale >= 1 && < 1.1,
259+ time >= 1.2 && < 1.5
260+ else
261+ Build-Depends: time >= 1.5 && < 1.6
255 if flag(network-uri)
262 if flag(network-uri)
256 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
263 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
257 else
264 else
@@ -399,7 +406,7 @@ Executable make-pandoc-man-pages
399 directory >= 1 && < 1.3,
406 directory >= 1 && < 1.3,
400 filepath >= 1.1 && < 1.4,
407 filepath >= 1.1 && < 1.4,
401 old-time >= 1.0 && < 1.2,
408 old-time >= 1.0 && < 1.2,
402− time >= 1.2 && < 1.5
409+ time >= 1.2 && < 1.6
403 Default-Language: Haskell98
410 Default-Language: Haskell98
404 if flag(make-pandoc-man-pages)
411 if flag(make-pandoc-man-pages)
405 Buildable: True
412 Buildable: True