Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5f7a224d7fd28cf9219600b5e99a9a045b81b72d

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

commit 5f7a224d7fd28cf9219600b5e99a9a045b81b72d
Author: Duncan Coutts <[email protected]>
Date:   Wed Jan 14 00:35:49 2009 +0000

    Don't display the category in cabal list output
    It is probably not sufficiently useful to justify the space it takes.

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

 cabal-install/Distribution/Client/List.hs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cabal-install/Distribution/Client/List.hs 
b/cabal-install/Distribution/Client/List.hs
index 33051f3..72fec7d 100644
--- a/cabal-install/Distribution/Client/List.hs
+++ b/cabal-install/Distribution/Client/List.hs
@@ -93,7 +93,6 @@ data PackageDisplayInfo = PackageDisplayInfo {
     installedVersions :: [Version],
     availableVersions :: [Version],
     homepage          :: String,
-    category          :: String,
     synopsis          :: String,
     license           :: License
   }
@@ -113,7 +112,6 @@ showPackageInfo pkg =
          [] -> text "[ Not installed ]"
          vs -> disp (maximum vs)
      , maybeShow (homepage pkg) "Homepage:" text
-     , maybeShow (category pkg) "Category:" text
      , maybeShow (synopsis pkg) "Synopsis:" reflowParas
      , text "License: " <+> text (show (license pkg))
      ])
@@ -147,8 +145,6 @@ mergePackageInfo installed available =
     availableVersions = map (pkgVersion . packageId) available,
     homepage          = combine Available.homepage latestAvailableDesc
                                 Installed.homepage latestInstalled,
-    category          = combine Available.category latestAvailableDesc
-                                Installed.category latestInstalled,
     synopsis          = combine Available.synopsis latestAvailableDesc
                                 Installed.description latestInstalled,
     license           = combine Available.license  latestAvailableDesc



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to