[commit: packages/parallel] master: Modernize `parallel.cabal` to `cabal-version>=1.10` (d862c73)

git at git.haskell.org git at git.haskell.org
Sun Nov 3 09:54:22 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/parallel.git/commitdiff/d862c73cfa56669d6aa5416b4d59e6343768adee

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

commit d862c73cfa56669d6aa5416b4d59e6343768adee
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Nov 3 10:43:18 2013 +0100

    Modernize `parallel.cabal` to `cabal-version>=1.10`
    
    Note: this bumps the package version to 3.2.0.4 and updates the
    `build-depends` constraints to match the versions tested via the
    TravisCI build job.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

d862c73cfa56669d6aa5416b4d59e6343768adee
 parallel.cabal |   58 +++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 22 deletions(-)

diff --git a/parallel.cabal b/parallel.cabal
index 444a58f..75cf780 100644
--- a/parallel.cabal
+++ b/parallel.cabal
@@ -1,33 +1,47 @@
-name:		parallel
-version:        3.2.0.3
-license:	BSD3
-license-file:	LICENSE
-maintainer:	libraries at haskell.org
-synopsis:	Parallel programming library
+name:           parallel
+version:        3.2.0.4
+license:        BSD3
+license-file:   LICENSE
+maintainer:     libraries at haskell.org
+synopsis:       Parallel programming library
+category:       Control, Parallelism
+build-type:     Simple
+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, GHC==7.2.1, GHC==7.0.4, GHC==7.0.3, GHC==7.0.2, GHC==7.0.1
 description:
     This package provides a library for parallel programming.
-category:       Control
-build-type:     Simple
-cabal-version:  >=1.6
 
 source-repository head
     type:     git
     location: http://git.haskell.org/packages/parallel.git
 
-library {
-  exposed-modules:
+source-repository this
+    type:     git
+    location: http://git.haskell.org/packages/parallel.git
+    tag:      parallel-3.2.0.4-release
+
+library
+    default-language: Haskell2010
+    other-extensions:
+        BangPatterns
+        CPP
+        FlexibleInstances
+        MagicHash
+        UnboxedTuples
+
+    exposed-modules:
         Control.Seq
         Control.Parallel
         Control.Parallel.Strategies
-  extensions:	CPP BangPatterns
-  build-depends: base    >= 3 && < 5,
-                 deepseq >= 1.1 && < 1.4,
-                 containers >= 0.1 && < 0.6,
-                 array      >= 0.1 && < 0.6
-  ghc-options: -Wall
 
-  if impl(ghc >= 6.11) {
-    -- To improve parallel performance:
-    ghc-options: -feager-blackholing
-  }
-}
+    build-depends:
+        array      >= 0.3 && < 0.6,
+        base       >= 4.3 && < 4.8,
+        containers >= 0.4 && < 0.6,
+        deepseq    >= 1.1 && < 1.4
+
+    ghc-options: -Wall
+
+    if impl(ghc >= 6.11)
+        -- To improve parallel performance:
+        ghc-options: -feager-blackholing



More information about the ghc-commits mailing list