[commit: packages/hpc] master: Refactor & modernize `hpc.cabal` to `cabal-version>=1.10` (854075e)

git at git.haskell.org git at git.haskell.org
Thu Oct 24 08:51:38 UTC 2013


Repository : ssh://git@git.haskell.org/hpc

On branch  : master
Link       : http://git.haskell.org/packages/hpc.git/commitdiff/854075e2f4903fc2a5acdf938e43da84db07dc09

>---------------------------------------------------------------

commit 854075e2f4903fc2a5acdf938e43da84db07dc09
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Oct 24 10:42:01 2013 +0200

    Refactor & modernize `hpc.cabal` to `cabal-version>=1.10`
    
    The `build-depends` have been updated to match the library version
    ranges shipped with the GHC versions for which compilation currently
    succeeds.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

854075e2f4903fc2a5acdf938e43da84db07dc09
 hpc.cabal |   30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/hpc.cabal b/hpc.cabal
index 40f59de..2304e58 100644
--- a/hpc.cabal
+++ b/hpc.cabal
@@ -5,26 +5,40 @@ license:      BSD3
 license-file: LICENSE
 author:       Andy Gill
 maintainer:   libraries at haskell.org
-bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=Code%20Coverage
+bug-reports:  http://ghc.haskell.org/trac/ghc/newticket?component=Code%20Coverage
 category:     Control
 synopsis:     Code Coverage Library for Haskell
 build-type:   Simple
-Cabal-Version: >= 1.6
+cabal-version:>=1.10
+tested-with:  GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1, GHC==7.2.2
+description:
+    This package provides the code coverage library for Haskell.
+    .
+    See <http://www.haskell.org/haskellwiki/Haskell_program_coverage> for more
+    information.
 
 source-repository head
     type:     git
     location: http://git.haskell.org/packages/hpc.git
 
+source-repository this
+    type:     git
+    location: http://git.haskell.org/packages/hpc.git
+    tag:      hpc-0.6.0.1-release
+
 Library
+    default-language: Haskell98
+    other-extensions: CPP
+
     exposed-modules:
         Trace.Hpc.Util
         Trace.Hpc.Mix
         Trace.Hpc.Tix
         Trace.Hpc.Reflect
-    extensions: CPP
-    Build-Depends: base       >= 4.5 && < 5,
-                   directory  >= 1   && < 1.3,
-                   time                 < 1.5,
-                   containers >= 0.1 && < 0.6
-    ghc-options: -Wall
 
+    Build-Depends:
+        base       >= 4.4.1 && < 4.8,
+        containers >= 0.4.1 && < 0.6,
+        directory  >= 1.1   && < 1.3,
+        time       >= 1.2   && < 1.5
+    ghc-options: -Wall



More information about the ghc-commits mailing list