packages feed

DPM-0.3.0.0: DPM.cabal

Name:           DPM
-- keep in sync with src/DPM/UI/Commandline/Main.hs
Version:        0.3.0.0
License:        GPL
License-File:   LICENSE
Copyright:      (c) 2009-2011 Stefan Wehr
Category:       Development
Author:         Stefan Wehr <mail@stefanwehr.de>
Maintainer:     Stefan Wehr <mail@stefanwehr.de>
Bug-Reports:    mailto:mail@stefanwehr.de
Synopsis:       Darcs Patch Manager
Description:

  The Darcs Patch Manager (/DPM/ for short) is a tool that simplifies working
  with the revision control system darcs (<http://darcs.net>). It is most
  effective when used in an environment where developers do not push their
  patches directly to the main repository but where patches undergo a
  reviewing process before they are actually applied. See the documentation
  of the module "DPM.Tutorial" for a short tutorial.

Stability:      Beta
Cabal-Version:  >= 1.8
Build-Type:     Simple
Tested-with:    GHC==6.12.1, GHC==6.12.3, GHC==7.0.4

flag test
  description:          Enable the test configuration: Build the test
                        executable, reduce build time.
  default:              False

Library
  Exposed-Modules:
    DPM.UI.Commandline.Commands
    DPM.UI.Commandline.CDPM_Monad
    DPM.UI.Commandline.Main
    DPM.UI.Commandline.Interaction
    DPM.UI.Commandline.ANSIColors
    DPM.Core.Darcs
    DPM.Core.DataTypes
    DPM.Core.Model
    DPM.Core.Storage
    DPM.Core.TestDarcs
    DPM.Core.Utils
    DPM.Core.DPM_Monad
    DPM.Core.Conflicts
    DPM.Core.Email
    DPM.Core.ShortID
    DPM.Core.PatchBundleParser
    DPM.Core.ReverseDependencies
    DPM.Core.Lexer
    DPM.Core.QueryParser
    DPM.Tutorial
  Build-Depends: darcs >=2.5 && <2.6
               , bytestring >= 0.9
               , time
               , old-locale
               , convertible
               , filepath >= 1.1
               , base >= 4 && < 5
               , containers
               , array
               , split
               , mtl
               , syb
               , regex-posix
               , process
               , directory
               , pretty
               , unix
               , HTF == 0.8.*
               , HSH >= 2
               , HTTP == 4000.1.*
               , network == 2.3.*
               , array == 0.3.*
  Build-Tools: alex, happy
  Ghc-Options: -Werror -fwarn-incomplete-patterns -fwarn-tabs
               -fwarn-missing-fields -fwarn-incomplete-record-updates
               -fwarn-duplicate-exports -fwarn-warnings-deprecations
               -fwarn-deprecated-flags -funbox-strict-fields -O2
  Hs-Source-Dirs:  src

Executable dpm-tests
  Main-Is:        AllTests.hs
  Hs-Source-Dirs: src-progs
  Build-Depends:  base >= 4 && < 5, DPM, bytestring >= 0.9, HTF == 0.8.*, array == 0.3.*
  if flag(test)
    Buildable:    True
  else
    Buildable:    False

Executable dpm
  Main-Is:        CommandlineMain.hs
  Hs-Source-Dirs: src-progs
  Build-Depends:  base >= 4 && < 5, DPM

Source-Repository head
  Type:           darcs
  Location:       http://www.stefanwehr.de/darcs/DPM