[commit: packages/filepath] master: Refactor & update `filepath.cabal` to `cabal-version>=1.10` (0e2e799)

git at git.haskell.org git at git.haskell.org
Fri Oct 18 09:49:23 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/0e2e7997d41e71300b90c72470d0143f59fb9b8f

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

commit 0e2e7997d41e71300b90c72470d0143f59fb9b8f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Oct 18 11:26:33 2013 +0200

    Refactor & update `filepath.cabal` to `cabal-version>=1.10`
    
    As of this commit, `filepath` compiles cleanly with
    GHC 6.10/6.12/7.0/7.2/7.4/7.6/HEAD.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

0e2e7997d41e71300b90c72470d0143f59fb9b8f
 filepath.cabal |   25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/filepath.cabal b/filepath.cabal
index 508f32e..23955f5 100644
--- a/filepath.cabal
+++ b/filepath.cabal
@@ -4,23 +4,38 @@ Version:        1.3.0.2
 License:        BSD3
 license-file:   LICENSE
 Author:         Neil Mitchell
-bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
+Maintainer:     libraries at haskell.org
+bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=filepath
 Homepage:       http://www-users.cs.york.ac.uk/~ndm/filepath/
 Category:       System
 build-type:     Simple
 Synopsis:       Library for manipulating FilePaths in a cross platform way.
-cabal-version:  >=1.6
-Extra-Source-Files: System/FilePath/Internal.hs
+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, GHC==6.12.3
+
+Extra-Source-Files:
+    System/FilePath/Internal.hs
 
 Library
+    default-language: Haskell98
+    other-extensions:
+        CPP
+    if impl(GHC>=7.2)
+        other-extensions: Safe
+
     Exposed-modules:
         System.FilePath
         System.FilePath.Posix
         System.FilePath.Windows
-    Extensions: CPP
-    Build-Depends:  base >= 4.5 && < 5
+
+    Build-Depends:
+        base >= 4 && < 4.8
 
 source-repository head
     type:     git
     location: http://git.haskell.org/packages/filepath.git
 
+source-repository this
+    type:     git
+    location: http://git.haskell.org/packages/filepath.git
+    tag:      filepath-1.3.0.2-release



More information about the ghc-commits mailing list