debian/0000755000000000000000000000000012257615761007202 5ustar debian/rules0000755000000000000000000000015512257615356010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/control0000644000000000000000000000670212257615761010612 0ustar Source: haskell-hledger-lib Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Clint Adams Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof , libghc-cmdargs-dev (>> 0.10) , libghc-cmdargs-dev (<< 0.11) , libghc-cmdargs-prof , libghc-csv-dev , libghc-csv-prof , libghc-data-pprint-dev (>= 0.2.3) , libghc-data-pprint-dev (<< 0.3) , libghc-data-pprint-prof , libghc-hunit-dev , libghc-hunit-prof , libghc-mtl-dev , libghc-mtl-prof , libghc-parsec3-dev , libghc-parsec3-prof , libghc-pretty-show-dev , libghc-pretty-show-prof , libghc-regex-tdfa-dev , libghc-regex-tdfa-prof , libghc-regexpr-dev (>> 0.5.1) , libghc-regexpr-prof , libghc-safe-dev (>> 0.2) , libghc-safe-prof , libghc-split-dev (>> 0.1) , libghc-split-dev (<< 0.3) , libghc-split-prof , libghc-transformers-dev (>> 0.2) , libghc-transformers-dev (<< 0.4) , libghc-transformers-prof , libghc-utf8-string-dev (>> 0.3.5) , libghc-utf8-string-dev (<< 0.4) , libghc-utf8-string-prof Build-Depends-Indep: ghc-doc , libghc-cmdargs-doc , libghc-csv-doc , libghc-data-pprint-doc , libghc-hunit-doc , libghc-mtl-doc , libghc-parsec3-doc , libghc-pretty-show-doc , libghc-regex-tdfa-doc , libghc-regexpr-doc , libghc-safe-doc , libghc-transformers-doc , libghc-split-doc , libghc-utf8-string-doc Standards-Version: 3.9.5 Homepage: http://hackage.haskell.org/package/hledger-lib Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hledger-lib Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hledger-lib Package: libghc-hledger-lib-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: core data types, parsers and utilities for the hledger accounting tool${haskell:ShortBlurb} hledger is a haskell port and friendly fork of John Wiegley's ledger accounting tool. This package provides core data types, parsers and utilities used by the hledger tools. It also aims to be a useful library for building h/ledger-compatible tools or unrelated financial apps in Haskell. . ${haskell:Blurb} Package: libghc-hledger-lib-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: core data types, parsers and utilities for hledger${haskell:ShortBlurb} hledger is a haskell port and friendly fork of John Wiegley's ledger accounting tool. This package provides core data types, parsers and utilities used by the hledger tools. It also aims to be a useful library for building h/ledger-compatible tools or unrelated financial apps in Haskell. . ${haskell:Blurb} Package: libghc-hledger-lib-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: core data types, parsers and utilities for hledger${haskell:ShortBlurb} hledger is a haskell port and friendly fork of John Wiegley's ledger accounting tool. This package provides core data types, parsers and utilities used by the hledger tools. It also aims to be a useful library for building h/ledger-compatible tools or unrelated financial apps in Haskell. . ${haskell:Blurb} debian/copyright0000644000000000000000000000103112257615356011130 0ustar This package was debianized by Clint Adams on Thu, 26 May 2011 14:19:49 -0000 It was downloaded from http://hackage.haskell.org/package/hledger-lib Upstream Author: Simon Michael Copyright: Author: Simon Michael License: GNU GPL v3 or later See `/usr/share/common-licenses/GPL-3'. The file Hledger/Data/UTF8.hs is Copyright (C) 2010 John MacFarlane and is licensed under the GNU GPL v2 or later. See `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000012257615564010632 5ustar debian/patches/series0000644000000000000000000000001312257615505012034 0ustar regex-tdfa debian/patches/regex-tdfa0000644000000000000000000000331212257615564012602 0ustar From 7f2ffe2e45e689a6f028f9dc23bee5dafa24f867 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 28 Dec 2013 13:31:58 -0500 Subject: [PATCH] Use regex-tdfa instead of regex-compat-tdfa --- hledger-lib/Hledger/Utils.hs | 6 +++--- hledger-lib/hledger-lib.cabal | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/Hledger/Utils.hs +++ b/Hledger/Utils.hs @@ -51,7 +51,7 @@ import Test.HUnit import Text.ParserCombinators.Parsec import Text.Printf -import Text.Regex +import Text.Regex.TDFA import Text.RegexPR import Text.Show.Pretty -- import qualified Data.Map as Map @@ -246,10 +246,10 @@ -- regex-compat (regex-posix) functions that perform better than regexpr. regexMatchesRegexCompat :: String -> String -> Bool -regexMatchesRegexCompat r = isJust . matchRegex (mkRegex r) +regexMatchesRegexCompat = flip (=~) regexMatchesCIRegexCompat :: String -> String -> Bool -regexMatchesCIRegexCompat r = isJust . matchRegex (mkRegexWithOpts r True False) +regexMatchesCIRegexCompat r = match (makeRegexOpts defaultCompOpt { multiline = True, caseSensitive = False, newSyntax = True } defaultExecOpt r) -- lists --- a/hledger-lib.cabal +++ b/hledger-lib.cabal @@ -68,7 +68,7 @@ ,old-time ,parsec ,pretty-show - ,regex-compat-tdfa == 0.95.* + ,regex-tdfa ,regexpr >= 0.5.1 ,safe >= 0.2 ,split >= 0.1 && < 0.3 @@ -100,7 +100,7 @@ , old-time , parsec , pretty-show - , regex-compat-tdfa + , regex-tdfa , regexpr , safe , split debian/changelog0000644000000000000000000000541112257615416011052 0ustar haskell-hledger-lib (0.22-1) unstable; urgency=medium [ Joachim Breitner ] * Adjust watch file to new hackage layout [ Clint Adams ] * New upstream version. -- Clint Adams Sat, 28 Dec 2013 13:40:01 -0500 haskell-hledger-lib (0.21.3-1) unstable; urgency=low * New upstream version. -- Clint Adams Fri, 02 Aug 2013 23:25:59 -0400 haskell-hledger-lib (0.20-3) unstable; urgency=low * Move Haskell blurb to the end of the description, reduces the impact of #708703 -- Joachim Breitner Sat, 25 May 2013 23:52:23 +0200 haskell-hledger-lib (0.20-2) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:55 +0200 haskell-hledger-lib (0.20-1) experimental; urgency=low * New upstream version. -- Clint Adams Wed, 01 May 2013 17:24:34 -0400 haskell-hledger-lib (0.19.3-1) experimental; urgency=low * New upstream version. -- Clint Adams Sun, 25 Nov 2012 21:35:22 -0500 haskell-hledger-lib (0.19-1) experimental; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Bump standards version, no change [ Clint Adams ] * New upstream version. -- Clint Adams Mon, 29 Oct 2012 12:09:17 -0400 haskell-hledger-lib (0.18.1-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 30 Jun 2012 06:21:26 -0400 haskell-hledger-lib (0.18-1) unstable; urgency=low * New upstream version. * Bump to Standards-Version 3.9.3. -- Clint Adams Tue, 29 May 2012 19:56:41 -0400 haskell-hledger-lib (0.17-1) unstable; urgency=low * New upstream version. -- Clint Adams Fri, 10 Feb 2012 12:12:14 -0500 haskell-hledger-lib (0.16.1-2) unstable; urgency=low * Increase upper bound on cmdargs. -- Clint Adams Wed, 04 Jan 2012 12:11:07 -0500 haskell-hledger-lib (0.16.1-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 08 Oct 2011 11:18:33 -0400 haskell-hledger-lib (0.16-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 01 Oct 2011 13:22:15 -0400 haskell-hledger-lib (0.15.2-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 17 Sep 2011 09:43:02 -0400 haskell-hledger-lib (0.15-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 03 Sep 2011 10:44:22 -0400 haskell-hledger-lib (0.14-1) unstable; urgency=low * Initial release. -- Clint Adams Mon, 23 May 2011 17:15:06 -0400 debian/compat0000644000000000000000000000000212257615356010400 0ustar 9 debian/source/0000755000000000000000000000000012257615356010502 5ustar debian/source/format0000644000000000000000000000001412257615356011710 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020112257615356010224 0ustar version=3 http://hackage.haskell.org/package/hledger-lib/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))