Skip to content

Commit

Permalink
Freshen package a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Oct 17, 2011
1 parent e94d668 commit 56fcd2c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
9 changes: 9 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.*\.(?:aux|h[ip]|o|orig|out|pdf|prof|ps|rej)$
^(?:dist|\.DS_Store)$

syntax: glob
cabal-dev
*~
.*.swp
.\#*
\#*
42 changes: 16 additions & 26 deletions suffixtree.cabal
Original file line number Diff line number Diff line change
@@ -1,41 +1,31 @@
Name: suffixtree
Version: 0.2.2
Version: 0.2.2.1
Synopsis: Efficient, lazy suffix tree implementation
Description: An efficient, lazy suffix tree implementation.
Category: Data Structures, Data
License: BSD3
License-File: LICENSE
Author: Bryan O'Sullivan <bos@serpentine.com>
Maintainer: bos@serpentine.com
Homepage: http://www.serpentine.com/software/suffixtree/
Homepage: https://github.com/bos/suffixtree
Bug-Reports: https://github.com/bos/suffixtree/issues
Build-Type: Simple
Cabal-Version: >= 1.2
Extra-Source-Files: Makefile
examples/Makefile
Cabal-Version: >= 1.6
Extra-Source-Files: examples/Makefile
examples/Tiny.hs
examples/UniqueMatch.hs

Flag bytestring-in-base
Description: Is ByteString in the base or bytestring package?
Default: False

Flag split-base
Description: Has the base package been split up?
Default: True

Library
if flag(bytestring-in-base)
-- bytestring was in base-2.0 and 2.1.1
Build-Depends: base >= 2.0 && < 2.2
else
-- in base 1.0 and 3.0, bytestring is a separate package
Build-Depends: base < 2.0 || >= 3, bytestring >= 0.9
Build-Depends: base >= 3 && < 5,
bytestring,
containers
Exposed-Modules: Data.SuffixTree
GHC-Options: -Wall -funbox-strict-fields -fno-warn-incomplete-patterns

if flag(split-base)
Build-Depends: base >= 3.0, containers
else
Build-Depends: base < 3.0
source-repository head
type: git
location: https://github.com/bos/suffixtree

Build-Depends: QuickCheck
Exposed-Modules: Data.SuffixTree
GHC-Options: -Wall -O2 -funbox-strict-fields -fno-warn-incomplete-patterns
source-repository head
type: mercurial
location: https://bitbucket.org/bos/suffixtree

0 comments on commit 56fcd2c

Please sign in to comment.