[commit: packages/terminfo] ghc-head: Modernize `terminfo.cabal` to `cabal-version: >=1.10` format (dd0a84c)

git at git.haskell.org git at git.haskell.org
Wed Jan 15 08:23:35 UTC 2014


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

On branch  : ghc-head
Link       : http://git.haskell.org/packages/terminfo.git/commitdiff/dd0a84c90475a5a7ddc84e250ada6f549a69b114

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

commit dd0a84c90475a5a7ddc84e250ada6f549a69b114
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Nov 1 11:13:55 2013 +0100

    Modernize `terminfo.cabal` to `cabal-version: >=1.10` format
    
    This makes `terminfo` dependent on a compiler supporting
    Haskell2010 (e.g. GHC 7.0.1 or later). Supporting & testing GHC versions
    prior to 7.x is rather tedious.


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

dd0a84c90475a5a7ddc84e250ada6f549a69b114
 terminfo.cabal |   25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/terminfo.cabal b/terminfo.cabal
index 9fecf21..be4cea7 100644
--- a/terminfo.cabal
+++ b/terminfo.cabal
@@ -1,5 +1,5 @@
 Name:           terminfo
-Cabal-Version:  >=1.4
+Cabal-Version:  >=1.10
 Version:        0.3.2.7
 Category:       User Interfaces
 License:        BSD3
@@ -10,21 +10,28 @@ Maintainer:     Judah Jacobson <judah.jacobson at gmail.com>
 Category:       User Interfaces
 Synopsis:       Haskell bindings to the terminfo library.
 Description:    This library provides an interface to the terminfo database (via bindings to the
-                curses library).  Terminfo allows POSIX systems to interact with a variety of terminals 
-                using a standard set of capabilities.  
-Homepage:       http://code.haskell.org/terminfo
+                curses library).  <http://en.wikipedia.org/wiki/Terminfo Terminfo> allows POSIX
+                systems to interact with a variety of terminals using a standard set of capabilities.
+Homepage:       https://github.com/judah/terminfo
+Bug-Reports:    https://github.com/judah/terminfo/issues
 Stability:      Experimental
 Build-type:     Configure
 
 extra-source-files: configure.ac configure terminfo.buildinfo.in
 extra-tmp-files: config.log config.status autom4te.cache terminfo.buildinfo
 
+Source-Repository head
+    type:     git
+    location: https://github.com/judah/terminfo.git
+
 Library
-    Build-depends:  base >= 4.0 && < 5
-    Extensions:     CPP, ForeignFunctionInterface, DeriveDataTypeable,
-                    EmptyDataDecls, ScopedTypeVariables, FlexibleInstances
-    ghc-options:    -Wall
-    Exposed-Modules:
+    default-language: Haskell2010
+    other-extensions: CPP, DeriveDataTypeable, FlexibleInstances, ScopedTypeVariables
+    if impl(ghc>=7.3)
+      other-extensions: Safe, Trustworthy
+    build-depends:    base >= 4.3 && < 4.8
+    ghc-options:      -Wall
+    exposed-modules:
                     System.Console.Terminfo
                     System.Console.Terminfo.Base
                     System.Console.Terminfo.Cursor



More information about the ghc-commits mailing list