[commit: ghc] master: First pass at cleaning up ghci.cabal (d8c8902)

git at git.haskell.org git at git.haskell.org
Sat Dec 19 19:11:43 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d8c890263cea273bac6d3cffa7525d8ba49acb5d/ghc

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

commit d8c890263cea273bac6d3cffa7525d8ba49acb5d
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Dec 19 19:35:31 2015 +0100

    First pass at cleaning up ghci.cabal
    
    This prepares the meta-data of the new `ghci` package for Hackage


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

d8c890263cea273bac6d3cffa7525d8ba49acb5d
 libraries/ghci/GHCi/CreateBCO.hs          |  1 -
 libraries/{ghc-boot => ghci}/changelog.md |  2 +-
 libraries/ghci/ghci.cabal                 | 99 +++++++++++++++++++------------
 3 files changed, 63 insertions(+), 39 deletions(-)

diff --git a/libraries/ghci/GHCi/CreateBCO.hs b/libraries/ghci/GHCi/CreateBCO.hs
index 026e3ea..6a9b79a 100644
--- a/libraries/ghci/GHCi/CreateBCO.hs
+++ b/libraries/ghci/GHCi/CreateBCO.hs
@@ -2,7 +2,6 @@
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE BangPatterns #-}
-{-# LANGUAGE CPP #-}
 {-# LANGUAGE MagicHash #-}
 {-# LANGUAGE UnboxedTuples #-}
 {-# LANGUAGE RecordWildCards #-}
diff --git a/libraries/ghc-boot/changelog.md b/libraries/ghci/changelog.md
similarity index 68%
copy from libraries/ghc-boot/changelog.md
copy to libraries/ghci/changelog.md
index e0b4d69..3775eda 100644
--- a/libraries/ghc-boot/changelog.md
+++ b/libraries/ghci/changelog.md
@@ -1,4 +1,4 @@
-## 0.0.0.0  *Feb 2016*
+## 8.0.1  *Feb 2016*
 
   * Bundled with GHC 8.0.1
 
diff --git a/libraries/ghci/ghci.cabal b/libraries/ghci/ghci.cabal
index 9e2f045..39eb7da 100644
--- a/libraries/ghci/ghci.cabal
+++ b/libraries/ghci/ghci.cabal
@@ -1,41 +1,66 @@
-Name: ghci
-Version: 0.0
-Copyright: XXX
-License: BSD3
--- XXX License-File: LICENSE
-Author: XXX
-Maintainer: XXX
-Synopsis: XXX
-Description:
+name:           ghci
+version:        0
+license:        BSD3
+license-file:   LICENSE
+category:       GHC
+maintainer:     ghc-devs at haskell.org
+bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
+synopsis:       XXX
+description:
         XXX
-Category: Development
-build-type: Simple
-cabal-version: >=1.10
+cabal-version:  >=1.10
+build-type:     Simple
+extra-source-files: changelog.md
 
-Library
-    Default-Language: Haskell2010
-    Exposed-Modules: GHCi.Message,
-                     GHCi.ResolvedBCO,
-                     GHCi.RemoteTypes,
-                     GHCi.ObjLink,
-                     GHCi.CreateBCO,
-                     GHCi.FFI,
-                     GHCi.InfoTable,
-                     GHCi.Run,
-                     GHCi.Signals,
-                     GHCi.TH,
-                     GHCi.TH.Binary,
-                     SizedSeq
-    Build-Depends: base       >= 4   && < 5,
-                   binary     >= 0.7 && < 0.9,
-                   bytestring >= 0.10 && < 0.11,
-                   containers >= 0.5 && < 0.6,
-                   deepseq    >= 1.4 && < 1.5,
-                   filepath   >= 1.4 && < 1.5,
-                   ghc-boot,
-                   array      >= 0.5 && < 0.6,
-                   template-haskell >= 2.11 && < 2.12,
-                   transformers >= 0.4 && < 0.6
+source-repository head
+    type:     git
+    location: http://git.haskell.org/ghc.git
+    subdir:   libraries/ghci
+
+library
+    default-language: Haskell2010
+    other-extensions:
+        BangPatterns
+        CPP
+        DeriveGeneric
+        ExistentialQuantification
+        FlexibleInstances
+        GADTs
+        GeneralizedNewtypeDeriving
+        InstanceSigs
+        MagicHash
+        MultiParamTypeClasses
+        RecordWildCards
+        ScopedTypeVariables
+        StandaloneDeriving
+        TupleSections
+        UnboxedTuples
+
+    exposed-modules:
+        GHCi.Message,
+        GHCi.ResolvedBCO,
+        GHCi.RemoteTypes,
+        GHCi.ObjLink,
+        GHCi.CreateBCO,
+        GHCi.FFI,
+        GHCi.InfoTable,
+        GHCi.Run,
+        GHCi.Signals,
+        GHCi.TH,
+        GHCi.TH.Binary,
+        SizedSeq
+
+    Build-Depends:
+        array            == 0.5.*,
+        base             == 4.9.*,
+        binary           == 0.8.*,
+        bytestring       == 0.10.*,
+        containers       == 0.5.*,
+        deepseq          == 1.4.*,
+        filepath         == 1.4.*,
+        ghc-boot         == 0.0.*,
+        template-haskell == 2.11.*,
+        transformers     == 0.5.*
 
     if !os(windows)
-       Build-Depends: unix >= 2.7 && < 2.8
+        Build-Depends: unix == 2.7.*



More information about the ghc-commits mailing list