Cabal revisions of HDBC-2.2.4
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-Name: HDBC-Version: 2.2.4-License: LGPL-Maintainer: John Goerzen <jgoerzen@complete.org>-Author: John Goerzen-Copyright: Copyright (c) 2005-2010 John Goerzen-license-file: COPYRIGHT-extra-source-files: COPYING-homepage: http://software.complete.org/hdbc-Category: Database-synopsis: Haskell Database Connectivity-Description: HDBC provides an abstraction layer between Haskell programs and SQL- relational databases. This lets you write database code once, in- Haskell, and have it work with any number of backend SQL databases- (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)-Stability: Stable-Build-Type: Simple--Cabal-Version: >=1.2.3--flag splitBase- description: Choose the new smaller, split-up base package.-flag buildtests- description: Build the executable to run unit tests- default: False--flag time_gte_113- description: time > 1.1.3 has defined some more instances so omit them here--library- if flag(splitBase)- Build-Depends: base>=3 && <5, old-time, time>=1.1.2.4 && <=1.1.4, bytestring, containers, old-locale- if flag(time_gte_113)- Build-Depends: time>=1.1.3- CPP-OPTIONS: -DTIME_GT_113- else- Build-Depends: time<1.1.3- else- Build-Depends: base<3- Build-Depends: mtl, convertible >= 1.0.1, utf8-string-- -- Hack for cabal-install weirdness. cabal-install forces base 3,- -- though it works fine for Setup.lhs manually. Fix.- if impl(ghc >= 6.9)- build-depends: base >= 4-- GHC-Options: -O2 -Wall -fno-warn-orphans-- Exposed-Modules: Database.HDBC, Database.HDBC.Types, Database.HDBC.DriverUtils,- Database.HDBC.ColTypes, Database.HDBC.Statement, Database.HDBC.SqlValue- Other-Modules: Database.HDBC.Utils, Database.HDBC.Locale- Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses,- FlexibleContexts, TypeSynonymInstances, TypeOperators, RankNTypes,- FlexibleInstances- -Executable runtests- if flag(buildtests)- Buildable: True- Build-Depends: HUnit, QuickCheck, testpack-- if flag(splitBase)- Build-Depends: base>=3 && <5, old-time, time>=1.1.2.4 && <=1.1.4, bytestring, containers, old-locale- if flag(time_gte_113)- Build-Depends: time>=1.1.3- CPP-OPTIONS: -DTIME_GT_113- else- Build-Depends: time<1.1.3- else- Build-Depends: base<3- Build-Depends: mtl, convertible >= 1.0.1, utf8-string-- -- Hack for cabal-install weirdness. cabal-install forces base 3,- -- though it works fine for Setup.lhs manually. Fix.- if impl(ghc >= 6.9)- build-depends: base >= 4- else- Buildable: False- Main-Is: runtests.hs- Other-Modules: TestSqlValue- TestInfrastructure- Hs-Source-Dirs: ., testsrc- GHC-Options: -O2- Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses,- FlexibleContexts, TypeSynonymInstances, TypeOperators,- RankNTypes, FlexibleInstances- +Name: HDBC +Version: 2.2.4 +x-revision: 1 +License: LGPL +Maintainer: John Goerzen <jgoerzen@complete.org> +Author: John Goerzen +Copyright: Copyright (c) 2005-2010 John Goerzen +license-file: COPYRIGHT +extra-source-files: COPYING +homepage: http://software.complete.org/hdbc +Category: Database +synopsis: Haskell Database Connectivity +Description: HDBC provides an abstraction layer between Haskell programs and SQL + relational databases. This lets you write database code once, in + Haskell, and have it work with any number of backend SQL databases + (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) +Stability: Stable +Build-Type: Simple + +Cabal-Version: >=1.2.3 + +flag splitBase + description: Choose the new smaller, split-up base package. + +flag buildtests + description: Build the executable to run unit tests + default: False + manual: True + +flag time_gte_113 + description: time > 1.1.3 has defined some more instances so omit them here + +library + if flag(splitBase) + Build-Depends: base>=3 && <4.5, old-time < 1.2, time>=1.1.2.4 && <=1.1.4, bytestring < 0.11, containers < 0.6, old-locale < 1.1 + + if flag(time_gte_113) + Build-Depends: time>=1.1.3 + CPP-OPTIONS: -DTIME_GT_113 + else + Build-Depends: time<1.1.3 + else + Build-Depends: base<3 + + Build-Depends: mtl < 2.3, convertible >= 1.0.1 && < 1.1, utf8-string < 1.1 + + -- Hack for cabal-install weirdness. cabal-install forces base 3, + -- though it works fine for Setup.lhs manually. Fix. + if impl(ghc >= 6.9) + build-depends: base >= 4 + + GHC-Options: -O2 -Wall -fno-warn-orphans + + Exposed-Modules: Database.HDBC, Database.HDBC.Types, Database.HDBC.DriverUtils, + Database.HDBC.ColTypes, Database.HDBC.Statement, Database.HDBC.SqlValue + Other-Modules: Database.HDBC.Utils, Database.HDBC.Locale + Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses, + FlexibleContexts, TypeSynonymInstances, TypeOperators, RankNTypes, + FlexibleInstances + +Executable runtests + if flag(buildtests) + Buildable: True + Build-Depends: HUnit, QuickCheck, testpack + + if flag(splitBase) + Build-Depends: base>=3 && <5, old-time, time>=1.1.2.4 && <=1.1.4, bytestring, containers, old-locale + if flag(time_gte_113) + Build-Depends: time>=1.1.3 + CPP-OPTIONS: -DTIME_GT_113 + else + Build-Depends: time<1.1.3 + else + Build-Depends: base<3 + Build-Depends: mtl, convertible >= 1.0.1, utf8-string + + -- Hack for cabal-install weirdness. cabal-install forces base 3, + -- though it works fine for Setup.lhs manually. Fix. + if impl(ghc >= 6.9) + build-depends: base >= 4 + else + Buildable: False + Main-Is: runtests.hs + Other-Modules: TestSqlValue + TestInfrastructure + Hs-Source-Dirs: ., testsrc + GHC-Options: -O2 + Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses, + FlexibleContexts, TypeSynonymInstances, TypeOperators, + RankNTypes, FlexibleInstances +