]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - htsn-import.cabal
Add SportInfo support for NFLQBStartsXML.dtd.
[dead/htsn-import.git] / htsn-import.cabal
index 583938df6504d0293d297e52bf6764f559e152c5..f264e30154ba338b076a22987b441b4fba487419 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn-import
-version:        0.0.1
+version:        0.0.5
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -12,18 +12,23 @@ extra-source-files:
   doc/htsn-importrc.example
   doc/man1/htsn-import.1
   doc/README.dbschema
+  doc/README.development
   doc/README.schemagen
   doc/TODO
   makefile
-  test/xml/*.xml
-  test/xml/*.dtd
   schema/*.dtd
+  schemagen/AutoRacingResultsXML/*.xml
+  schemagen/Auto_Racing_Schedule_XML/*.xml
   schemagen/Heartbeat/*.xml
   schemagen/injuriesxml/*.xml
   schemagen/Injuries_Detail_XML/*.xml
   schemagen/newsxml/*.xml
   schemagen/Odds_XML/*.xml
+  schemagen/scoresxml/*.xml
   schemagen/weatherxml/*.xml
+  test/shell/*.test
+  test/xml/*.xml
+  test/xml/*.dtd
 synopsis:
   Import XML files from The Sports Network into an RDBMS.
 description:
@@ -70,25 +75,26 @@ description:
 
 executable htsn-import
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.6 && < 5,
     cmdargs                     >= 0.10.6,
-    configurator                == 0.2.*,
-    directory                   == 1.2.*,
-    filepath                    == 1.3.*,
-    hslogger                    == 1.2.*,
-    htsn-common                 == 0.0.1,
-    hxt                         == 9.3.*,
-    groundhog                   == 0.4.*,
-    groundhog-postgresql        == 0.4.*,
-    groundhog-sqlite            == 0.4.*,
-    groundhog-th                == 0.4.*,
-    MissingH                    == 1.2.*,
-    old-locale                  == 1.0.*,
-    tasty                       == 0.7.*,
-    tasty-hunit                 == 0.4.*,
-    time                        == 1.4.*,
-    transformers                == 0.3.*,
-    tuple                       == 0.2.*
+    configurator                >= 0.2,
+    directory                   >= 1.2,
+    filepath                    >= 1.3,
+    hslogger                    >= 1.2,
+    htsn-common                 >= 0.0.1,
+    hxt                         >= 9.3,
+    groundhog                   >= 0.5,
+    groundhog-postgresql        >= 0.5,
+    groundhog-sqlite            >= 0.5,
+    groundhog-th                >= 0.5,
+    MissingH                    >= 1.2,
+    old-locale                  >= 1,
+    split                       >= 0.2,
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    time                        >= 1.4,
+    transformers                >= 0.3,
+    tuple                       >= 0.2
 
   main-is:
     Main.hs
@@ -106,13 +112,19 @@ executable htsn-import
     TSN.Codegen
     TSN.Database
     TSN.DbImport
+    TSN.Parse
     TSN.Picklers
     TSN.XmlImport
+    TSN.XML.AutoRacingResults
+    TSN.XML.AutoRacingSchedule
+    TSN.XML.GameInfo
     TSN.XML.Heartbeat
     TSN.XML.Injuries
     TSN.XML.InjuriesDetail
     TSN.XML.News
     TSN.XML.Odds
+    TSN.XML.Scores
+    TSN.XML.SportInfo
     TSN.XML.Weather
     Xml
 
@@ -145,25 +157,26 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.6 && < 5,
     cmdargs                     >= 0.10.6,
-    configurator                == 0.2.*,
-    directory                   == 1.2.*,
-    filepath                    == 1.3.*,
-    hslogger                    == 1.2.*,
-    htsn-common                 == 0.0.1,
-    hxt                         == 9.3.*,
-    groundhog                   == 0.4.*,
-    groundhog-postgresql        == 0.4.*,
-    groundhog-sqlite            == 0.4.*,
-    groundhog-th                == 0.4.*,
-    MissingH                    == 1.2.*,
-    old-locale                  == 1.0.*,
-    tasty                       == 0.7.*,
-    tasty-hunit                 == 0.4.*,
-    time                        == 1.4.*,
-    transformers                == 0.3.*,
-    tuple                       == 0.2.*
+    configurator                >= 0.2,
+    directory                   >= 1.2,
+    filepath                    >= 1.3,
+    hslogger                    >= 1.2,
+    htsn-common                 >= 0.0.1,
+    hxt                         >= 9.3,
+    groundhog                   >= 0.5,
+    groundhog-postgresql        >= 0.5,
+    groundhog-sqlite            >= 0.5,
+    groundhog-th                >= 0.5,
+    MissingH                    >= 1.2,
+    old-locale                  >= 1,
+    split                       >= 0.2,
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    time                        >= 1.4,
+    transformers                >= 0.3,
+    tuple                       >= 0.2
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
@@ -185,9 +198,9 @@ test-suite doctests
   hs-source-dirs: test
   main-is: Doctests.hs
   build-depends:
-    base      == 4.*,
+    base      >= 4.6 && < 5,
     -- Additional test dependencies.
-    doctest   == 0.9.*
+    doctest   >= 0.9
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
@@ -216,26 +229,27 @@ test-suite shelltests
   main-is: ShellTests.hs
 
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.6 && < 5,
     cmdargs                     >= 0.10.6,
-    configurator                == 0.2.*,
-    directory                   == 1.2.*,
-    filepath                    == 1.3.*,
-    hslogger                    == 1.2.*,
-    htsn-common                 == 0.0.1,
-    hxt                         == 9.3.*,
-    groundhog                   == 0.4.*,
-    groundhog-postgresql        == 0.4.*,
-    groundhog-sqlite            == 0.4.*,
-    groundhog-th                == 0.4.*,
-    MissingH                    == 1.2.*,
-    old-locale                  == 1.0.*,
-    process                     == 1.1.*,
-    tasty                       == 0.7.*,
-    tasty-hunit                 == 0.4.*,
-    time                        == 1.4.*,
-    transformers                == 0.3.*,
-    tuple                       == 0.2.*
+    configurator                >= 0.2,
+    directory                   >= 1.2,
+    filepath                    >= 1.3,
+    hslogger                    >= 1.2,
+    htsn-common                 >= 0.0.1,
+    hxt                         >= 9.3,
+    groundhog                   >= 0.5,
+    groundhog-postgresql        >= 0.5,
+    groundhog-sqlite            >= 0.5,
+    groundhog-th                >= 0.5,
+    MissingH                    >= 1.2,
+    old-locale                  >= 1,
+    split                       >= 0.2,
+    process                     >= 1.1,
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    time                        >= 1.4,
+    transformers                >= 0.3,
+    tuple                       >= 0.2