packages feed

Webrexp-1.1: Webrexp.cabal

Name:       Webrexp
Version:    1.1
Synopsis:   Regexp-like engine to scrap web data
Build-Type: Simple
License:    BSD3
Cabal-Version: >= 1.8
Description: A web scrapping utility mixing CSS selector syntax and regular expressions
Category:    Utility
Author: Vincent Berthoux
Maintainer: Vincent Berthoux (twinside@gmail.com)

Flag optimize
    Description: turn on optimisation
    Default: False

Executable webrexp
  Main-Is: webrexpMain.hs
  Ghc-Options: -Wall

  if flag(optimize)
      Ghc-options:-O3

  Build-Depends: base >= 2.0 && < 5.0, mtl,
                 HTTP >= 4000.1.1 && < 4000.2,
                 parsec >= 3.1 && < 3.2,
                 transformers >= 0.2.2 && < 0.3,
                 network >= 2.3 && < 2.4,
                 directory >= 1.0,
                 bytestring >= 0.9.1.7 && < 1.0,
                 containers >= 0.4 && < 0.4.1,
                 array >= 0.3.0.2 && < 0.3.0.3,
                 regex-pcre-builtin >= 0.94,
                 HaXml >= 1.22.5 && < 1.23,
                 hxt >= 9.1.2 && < 9.2,
                 AttoJson >= 0.5.1 && < 1.0,
                 process >= 1.0.1.3 && < 1.1,
                 filepath >= 1.2.0 && < 1.3,
                 template-haskell
                 -- Webrexp


Library
  Ghc-Options: -Wall
  Exposed-Modules: Text.Webrexp,
                   Text.Webrexp.Parser,
                   Text.Webrexp.Eval,
                   Text.Webrexp.Exprtypes,
                   Text.Webrexp.GraphWalker,
                   Text.Webrexp.ResourcePath,
                   Text.Webrexp.Quote

  Other-Modules:
            Text.Webrexp.DirectoryNode
            Text.Webrexp.Eval.Action
            Text.Webrexp.Eval.ActionFunc
            Text.Webrexp.HaXmlNode
            Text.Webrexp.HxtNode
            Text.Webrexp.JsonNode
            Text.Webrexp.Log
            Text.Webrexp.ProjectByteString
            Text.Webrexp.Remote.MimeTypes
            Text.Webrexp.UnionNode
            Text.Webrexp.WebContext
            Text.Webrexp.WebRexpAutomata

  Build-Depends: base >= 2.0 && < 5.0, mtl,
                 HTTP >= 4000.1.1 && < 4000.2,
                 HaXml >= 1.22.5 && < 1.23,
                 hxt >= 9.1.2 && < 9.2,
                 parsec >= 3.1 && < 3.2,
                 transformers >= 0.2.2 && < 0.3,
                 network >= 2.3 && < 2.4,
                 directory >= 1.0,
                 bytestring >= 0.9.1.7 && < 1.0,
                 containers >= 0.4 && < 0.4.1,
                 array >= 0.3.0.2 && < 0.3.0.3,
                 regex-pcre-builtin >= 0.94,
                 AttoJson >= 0.5.1 && < 1.0,
                 process >= 1.0.1.3 && < 1.1,
                 filepath >= 1.2.0 && < 1.3,
                 template-haskell