packages feed

hledger-chart 0.13 → 0.14

raw patch · 2 files changed

+12/−11 lines, 2 filesdep ~hledgerdep ~hledger-lib

Dependency ranges changed: hledger, hledger-lib

Files

Hledger/Chart/Main.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-| hledger-web - a hledger add-on providing rudimentary pie chart generation.-Copyright (c) 2007-2010 Simon Michael <simon@joyful.com>+Copyright (c) 2007-2011 Simon Michael <simon@joyful.com> Released under GPL version 3 or later. -} @@ -17,15 +17,13 @@ import Safe (readDef) import System.Console.GetOpt import System.Exit (exitFailure)-#if __GLASGOW_HASKELL__ <= 610-import Prelude hiding (putStr, putStrLn)-import System.IO.UTF8 (putStr, putStrLn)-#endif  import Hledger.Cli.Options import Hledger.Cli.Utils (withJournalDo) import Hledger.Cli.Version (progversionstr, binaryfilename) import Hledger.Data+import Prelude hiding (putStr, putStrLn)+import Hledger.Data.UTF8 (putStr, putStrLn)   progname_chart = progname_cli ++ "-chart"@@ -131,7 +129,7 @@  -- | Convert all quantities of MixedAccount to a single commodity amountValue :: MixedAmount -> Double-amountValue = quantity . convertMixedAmountTo unknown+amountValue = quantity . convertMixedAmountToSimilarCommodity unknown  -- | Generate a tree of account names together with their balances. --   The balance of account is decremented by the balance of its subaccounts
hledger-chart.cabal view
@@ -1,8 +1,11 @@ name:           hledger-chart-version: 0.13+version: 0.14 category:       Finance-synopsis:       A hledger add-on command to generate pie charts.-description:    This generates simple pie chart images showing relative account balances.+synopsis:       A pie chart generator for the hledger accounting tool.+description:+                hledger is a haskell port and friendly fork of John Wiegley's ledger accounting tool.+                This package generates simple pie chart graphics showing relative account balances.+ license:        GPL license-file:   LICENSE author:         Simon Michael <simon@joyful.com>@@ -28,8 +31,8 @@   other-modules:                   Hledger.Chart.Main   build-depends:-                  hledger == 0.13-                 ,hledger-lib == 0.13+                  hledger == 0.14+                 ,hledger-lib == 0.14                  -- ,HUnit                  ,base >= 3 && < 5                  -- ,containers