Drop old-time, old-locale, time-locale-compat deps

This commit is contained in:
Jasper Van der Jeugt 2015-06-23 14:01:13 +02:00
parent a43b4ee90f
commit b034bcea95
3 changed files with 59 additions and 65 deletions

View file

@ -140,35 +140,32 @@ Library
Paths_hakyll
Build-Depends:
base >= 4 && < 5,
binary >= 0.5 && < 0.8,
blaze-html >= 0.5 && < 0.9,
blaze-markup >= 0.5.1 && < 0.8,
bytestring >= 0.9 && < 0.11,
cmdargs >= 0.10 && < 0.11,
containers >= 0.3 && < 0.6,
cryptohash >= 0.7 && < 0.12,
data-default >= 0.4 && < 0.6,
deepseq >= 1.3 && < 1.5,
directory >= 1.0 && < 1.3,
filepath >= 1.0 && < 1.5,
lrucache >= 1.1.1 && < 1.3,
mtl >= 1 && < 2.3,
network >= 2.6 && < 2.7,
network-uri >= 2.6 && < 2.7,
old-locale >= 1.0 && < 1.1,
old-time >= 1.0 && < 1.2,
pandoc >= 1.14 && < 1.15,
pandoc-citeproc >= 0.4 && < 0.8,
parsec >= 3.0 && < 3.2,
process >= 1.0 && < 1.3,
random >= 1.0 && < 1.2,
regex-base >= 0.93 && < 0.94,
regex-tdfa >= 1.1 && < 1.3,
tagsoup >= 0.13.1 && < 0.14,
text >= 0.11 && < 1.3,
time >= 1.1 && < 1.6,
time-locale-compat >= 0.1.0.0 && < 0.1.1.0
base >= 4 && < 5,
binary >= 0.5 && < 0.8,
blaze-html >= 0.5 && < 0.9,
blaze-markup >= 0.5.1 && < 0.8,
bytestring >= 0.9 && < 0.11,
cmdargs >= 0.10 && < 0.11,
containers >= 0.3 && < 0.6,
cryptohash >= 0.7 && < 0.12,
data-default >= 0.4 && < 0.6,
deepseq >= 1.3 && < 1.5,
directory >= 1.0 && < 1.3,
filepath >= 1.0 && < 1.5,
lrucache >= 1.1.1 && < 1.3,
mtl >= 1 && < 2.3,
network >= 2.6 && < 2.7,
network-uri >= 2.6 && < 2.7,
pandoc >= 1.14 && < 1.15,
pandoc-citeproc >= 0.4 && < 0.8,
parsec >= 3.0 && < 3.2,
process >= 1.0 && < 1.3,
random >= 1.0 && < 1.2,
regex-base >= 0.93 && < 0.94,
regex-tdfa >= 1.1 && < 1.3,
tagsoup >= 0.13.1 && < 0.14,
text >= 0.11 && < 1.3,
time >= 1.5 && < 1.6
If flag(previewServer)
Build-depends:
@ -228,35 +225,32 @@ Test-suite hakyll-tests
test-framework-hunit >= 0.3 && < 0.4,
test-framework-quickcheck2 >= 0.3 && < 0.4,
-- Copy pasted from hakyll dependencies:
base >= 4 && < 5,
binary >= 0.5 && < 0.8,
blaze-html >= 0.5 && < 0.9,
blaze-markup >= 0.5.1 && < 0.8,
bytestring >= 0.9 && < 0.11,
cmdargs >= 0.10 && < 0.11,
containers >= 0.3 && < 0.6,
cryptohash >= 0.7 && < 0.12,
data-default >= 0.4 && < 0.6,
deepseq >= 1.3 && < 1.5,
directory >= 1.0 && < 1.3,
filepath >= 1.0 && < 1.5,
lrucache >= 1.1.1 && < 1.3,
mtl >= 1 && < 2.3,
network >= 2.6 && < 2.7,
network-uri >= 2.6 && < 2.7,
old-locale >= 1.0 && < 1.1,
old-time >= 1.0 && < 1.2,
pandoc >= 1.14 && < 1.15,
pandoc-citeproc >= 0.4 && < 0.8,
parsec >= 3.0 && < 3.2,
process >= 1.0 && < 1.3,
random >= 1.0 && < 1.2,
regex-base >= 0.93 && < 0.94,
regex-tdfa >= 1.1 && < 1.3,
tagsoup >= 0.13.1 && < 0.14,
text >= 0.11 && < 1.3,
time >= 1.1 && < 1.6,
time-locale-compat >= 0.1.0.0 && < 0.1.1.0
base >= 4 && < 5,
binary >= 0.5 && < 0.8,
blaze-html >= 0.5 && < 0.9,
blaze-markup >= 0.5.1 && < 0.8,
bytestring >= 0.9 && < 0.11,
cmdargs >= 0.10 && < 0.11,
containers >= 0.3 && < 0.6,
cryptohash >= 0.7 && < 0.12,
data-default >= 0.4 && < 0.6,
deepseq >= 1.3 && < 1.5,
directory >= 1.0 && < 1.3,
filepath >= 1.0 && < 1.5,
lrucache >= 1.1.1 && < 1.3,
mtl >= 1 && < 2.3,
network >= 2.6 && < 2.7,
network-uri >= 2.6 && < 2.7,
pandoc >= 1.14 && < 1.15,
pandoc-citeproc >= 0.4 && < 0.8,
parsec >= 3.0 && < 3.2,
process >= 1.0 && < 1.3,
random >= 1.0 && < 1.2,
regex-base >= 0.93 && < 0.94,
regex-tdfa >= 1.1 && < 1.3,
tagsoup >= 0.13.1 && < 0.14,
text >= 0.11 && < 1.3,
time >= 1.5 && < 1.6
If flag(previewServer)
Build-depends:

View file

@ -29,15 +29,15 @@ module Hakyll.Web.Template.Context
--------------------------------------------------------------------------------
import Control.Applicative (Alternative (..), (<$>), pure)
import Control.Applicative (Alternative (..), pure, (<$>))
import Control.Monad (msum)
import Data.List (intercalate)
import qualified Data.Map as M
import Data.Monoid (Monoid (..))
import Data.Time.Clock (UTCTime (..))
import Data.Time.Format (formatTime, parseTime)
import System.FilePath (takeBaseName, splitDirectories)
import Data.Time.Locale.Compat (TimeLocale, defaultTimeLocale)
import Data.Time.Format (TimeLocale, defaultTimeLocale,
formatTime, parseTime)
import System.FilePath (splitDirectories, takeBaseName)
--------------------------------------------------------------------------------
@ -47,7 +47,7 @@ import Hakyll.Core.Identifier
import Hakyll.Core.Item
import Hakyll.Core.Metadata
import Hakyll.Core.Provider
import Hakyll.Core.Util.String (splitAll, needlePrefix)
import Hakyll.Core.Util.String (needlePrefix, splitAll)
import Hakyll.Web.Html

View file

@ -22,7 +22,7 @@ module Hakyll.Web.Template.List
import Control.Monad (liftM)
import Data.List (intersperse, sortBy)
import Data.Ord (comparing)
import Data.Time.Locale.Compat (defaultTimeLocale)
import Data.Time.Format (defaultTimeLocale)
--------------------------------------------------------------------------------