X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=time-w3c.git;a=blobdiff_plain;f=time-w3c.cabal;h=04b18c09ccb9ddd9a042025a71b6d49ed8e0058c;hp=96a224a364c7f8cf952edfad6a3506f306b74c37;hb=38104a4f63ab920e4d6f01a144058458d3666543;hpb=6d5883f6e0a22b39d1e5614afd8ba6595e46a464 diff --git a/time-w3c.cabal b/time-w3c.cabal index 96a224a..04b18c0 100644 --- a/time-w3c.cabal +++ b/time-w3c.cabal @@ -1,9 +1,13 @@ Name: time-w3c -Version: 0.1 +Version: 0.1.0.1 Synopsis: Parse, format and convert W3C Date and Time +Description: + This package provides functionalities to parse and format W3C + Date and Time. The package can also be used to convert it + from/to 'Data.Time.Calendar.Day' and + 'Data.Time.LocalTime.ZonedTime'. --- A longer description of the package. --- Description: + See: License: PublicDomain License-file: COPYING @@ -11,23 +15,65 @@ Author: PHO Maintainer: PHO Stability: Experimental Homepage: http://cielonegro.org/W3CDateTime.html +Bug-Reports: http://static.cielonegro.org/ditz/time-w3c/ Category: Web Build-type: Simple -Cabal-version: >=1.2 -Extra-source-files: +Cabal-version: >= 1.6 +Extra-Source-Files: + COPYING + NEWS + +Source-Repository head + Type: git + Location: git://git.cielonegro.org/time-w3c.git + +Flag build-test-suite + Description: Build the tst suite. + Default: False Library Exposed-modules: - Data.Time.W3CDateTime - Data.Time.W3CDateTime.Types + Data.Time.W3C + Data.Time.W3C.Format + Data.Time.W3C.Parser + Data.Time.W3C.Parser.Parsec + Data.Time.W3C.Types Build-depends: - base >= 4 && < 5, - convertible >= 1.0, - time >= 1.1 + base == 4.3.*, + convertible == 1.0.*, + parsec == 3.1.*, + time == 1.2.* + + Extensions: + DeriveDataTypeable + FlexibleContexts + MultiParamTypeClasses + + GHC-Options: + -Wall + +Executable W3CDateTimeUnitTest + Main-Is: + W3CDateTimeUnitTest.hs + + if flag(build-test-suite) + Buildable: True + Build-Depends: HUnit >= 1.2 && < 2 + else + Buildable: False + + Hs-Source-Dirs: + ., tests + + Other-Modules: + ConversionTest + FormatterTest + ParsecParserTest Extensions: DeriveDataTypeable + FlexibleContexts MultiParamTypeClasses GHC-Options: