git.iko.soy/typeable/pandoc
on master help sign in
Added old-locale flag.

This will ease transition to time 1.5. However, currently we can't build with time 1.5 because of dependencies.

commitc6ad01dc69beee269cbb9906506e8f476c3677c2 authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 19 Dec 2014, 17:26 (12 years ago) parent77df403
1 file changed+10−3
pandoc.cabal+10−3
pandoc.cabal+10−3
@@ -211,6 +211,10 @@ Flag network-uri
211211 Description: Get Network.URI from the network-uri package
212212 Default: True
213213
214+Flag old-locale
215+ Description: Use old-locale and time < 1.5
216+ Default: True
217+
214218Library
215219 Build-Depends: base >= 4.2 && <5,
216220 syb >= 0.1 && < 0.5,
@@ -225,8 +229,6 @@ Library
225229 bytestring >= 0.9 && < 0.11,
226230 text >= 0.11 && < 1.3,
227231 zip-archive >= 0.2.3.4 && < 0.3,
228− old-locale >= 1 && < 1.1,
229− time >= 1.2 && < 1.5,
230232 HTTP >= 4000.0.5 && < 4000.3,
231233 texmath >= 0.8 && < 0.9,
232234 xml >= 1.3.12 && < 1.4,
@@ -252,6 +254,11 @@ Library
252254 old-time,
253255 deepseq-generics >= 0.1 && < 0.2,
254256 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
255262 if flag(network-uri)
256263 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
257264 else
@@ -399,7 +406,7 @@ Executable make-pandoc-man-pages
399406 directory >= 1 && < 1.3,
400407 filepath >= 1.1 && < 1.4,
401408 old-time >= 1.0 && < 1.2,
402− time >= 1.2 && < 1.5
409+ time >= 1.2 && < 1.6
403410 Default-Language: Haskell98
404411 if flag(make-pandoc-man-pages)
405412 Buildable: True