Commit a1f68394 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov

Bump version.

parent 715ce276
name: Cabal
version: 1.23.2.0
version: 1.25.0.0
copyright: 2003-2006, Isaac Jones
2005-2011, Duncan Coutts
license: BSD3
......
......@@ -105,7 +105,7 @@ installedComponentId ipi = case installedUnitId ipi of
SimpleUnitId cid -> cid
{-# DEPRECATED installedPackageId "Use installedUnitId instead" #-}
-- | Backwards compatibility with pre-Cabal 1.23.
-- | Backwards compatibility with Cabal pre-1.24.
installedPackageId :: InstalledPackageInfo -> UnitId
installedPackageId = installedUnitId
......
......@@ -217,7 +217,7 @@ class Package pkg => HasUnitId pkg where
installedUnitId :: pkg -> UnitId
{-# DEPRECATED installedPackageId "Use installedUnitId instead" #-}
-- | Compatibility wrapper for pre-Cabal 1.23.
-- | Compatibility wrapper for Cabal pre-1.24.
installedPackageId :: HasUnitId pkg => pkg -> UnitId
installedPackageId = installedUnitId
......
......@@ -260,7 +260,7 @@ deleteUnitId ipkgid original@(PackageIndex pids pnames) =
(\xs -> if List.null xs then Nothing else Just xs)
. List.deleteBy (\_ pkg -> installedUnitId pkg == ipkgid) undefined
-- | Backwards compatibility wrapper for pre-Cabal 1.23.
-- | Backwards compatibility wrapper for Cabal pre-1.24.
{-# DEPRECATED deleteInstalledPackageId "Use deleteUnitId instead" #-}
deleteInstalledPackageId :: HasUnitId a
=> UnitId -> PackageIndex a
......@@ -350,7 +350,7 @@ lookupUnitId :: PackageIndex a -> UnitId
-> Maybe a
lookupUnitId (PackageIndex pids _) pid = Map.lookup pid pids
-- | Backwards compatibility for pre Cabal-1.23.
-- | Backwards compatibility for Cabal pre-1.24.
{-# DEPRECATED lookupInstalledPackageId "Use lookupUnitId instead" #-}
lookupInstalledPackageId :: PackageIndex a -> UnitId
-> Maybe a
......
VERSION=1.23.2.0
VERSION=1.25.0.0
#KIND=devel
KIND=rc
......
-*-change-log-*-
1.23.x.x (current development version)
1.25.x.x (current development version)
* No changes yet.
1.24.0.0 Ryan Thomas <ryan@ryant.org> February 2016
* Support GHC 8.
* Deal with extra C sources from preprocessors (#238).
* Include cabal_macros.h when running c2hs (#2600).
......
% Cabal User Guide
**Version: 1.23.2.0**
**Version: 1.25.0.0**
Cabal is the standard package system for [Haskell] software. It helps
people to configure, build and install Haskell software and to
......
......@@ -51,7 +51,7 @@ import Data.Traversable (Traversable(traverse))
Types
-------------------------------------------------------------------------------}
-- | Component of a package
-- | Component of a package.
data Component =
ComponentLib
| ComponentExe String
......@@ -62,10 +62,10 @@ data Component =
instance Binary Component
-- | Dependency for a single component
-- | Dependency for a single component.
type ComponentDep a = (Component, a)
-- | Fine-grained dependencies for a package
-- | Fine-grained dependencies for a package.
--
-- Typically used as @ComponentDeps [Dependency]@, to represent the list of
-- dependencies for each named component within a package.
......@@ -116,13 +116,13 @@ filterDeps p = ComponentDeps . Map.filterWithKey p . unComponentDeps
fromLibraryDeps :: a -> ComponentDeps a
fromLibraryDeps = singleton ComponentLib
-- | ComponentDeps containing setup dependencies only
-- | ComponentDeps containing setup dependencies only.
fromSetupDeps :: a -> ComponentDeps a
fromSetupDeps = singleton ComponentSetup
-- | ComponentDeps for installed packages
-- | ComponentDeps for installed packages.
--
-- We assume that installed packages only record their library dependencies
-- We assume that installed packages only record their library dependencies.
fromInstalled :: a -> ComponentDeps a
fromInstalled = fromLibraryDeps
......@@ -133,7 +133,7 @@ fromInstalled = fromLibraryDeps
toList :: ComponentDeps a -> [ComponentDep a]
toList = Map.toList . unComponentDeps
-- | All dependencies of a package
-- | All dependencies of a package.
--
-- This is just a synonym for 'fold', but perhaps a use of 'flatDeps' is more
-- obvious than a use of 'fold', and moreover this avoids introducing lots of
......@@ -141,21 +141,21 @@ toList = Map.toList . unComponentDeps
flatDeps :: Monoid a => ComponentDeps a -> a
flatDeps = fold
-- | All dependencies except the setup dependencies
-- | All dependencies except the setup dependencies.
--
-- Prior to the introduction of setup dependencies (TODO: Version? 1.23) this
-- would have been _all_ dependencies
-- Prior to the introduction of setup dependencies in version 1.24 this
-- would have been _all_ dependencies.
nonSetupDeps :: Monoid a => ComponentDeps a -> a
nonSetupDeps = select (/= ComponentSetup)
-- | Library dependencies proper only
-- | Library dependencies proper only.
libraryDeps :: Monoid a => ComponentDeps a -> a
libraryDeps = select (== ComponentLib)
-- | Setup dependencies
-- | Setup dependencies.
setupDeps :: Monoid a => ComponentDeps a -> a
setupDeps = select (== ComponentSetup)
-- | Select dependencies satisfying a given predicate
-- | Select dependencies satisfying a given predicate.
select :: Monoid a => (Component -> Bool) -> ComponentDeps a -> a
select p = foldMap snd . filter (p . fst) . toList
......@@ -189,8 +189,8 @@ NETWORK_VER="2.6.2.1"; NETWORK_VER_REGEXP="2\.[0-6]\."
# >= 2.0 && < 2.7
NETWORK_URI_VER="2.6.0.3"; NETWORK_URI_VER_REGEXP="2\.6\."
# >= 2.6 && < 2.7
CABAL_VER="1.23.2.0"; CABAL_VER_REGEXP="1\.23\.[2-9]"
# >= 1.23.2 && < 1.24
CABAL_VER="1.25.0.0"; CABAL_VER_REGEXP="1\.25\.[0-9]"
# >= 1.25 && < 1.26
TRANS_VER="0.5.1.0"; TRANS_VER_REGEXP="0\.[45]\."
# >= 0.2.* && < 0.6
MTL_VER="2.2.1"; MTL_VER_REGEXP="[2]\."
......
Name: cabal-install
Version: 1.23.0.0
Version: 1.25.0.0
Synopsis: The command-line interface for Cabal and Hackage.
Description:
The \'cabal\' command-line program simplifies the process of managing
......@@ -213,7 +213,7 @@ executable cabal
base >= 4.5 && < 5,
binary >= 0.5 && < 0.9,
bytestring >= 0.9 && < 1,
Cabal >= 1.23.2 && < 1.24,
Cabal >= 1.25 && < 1.26,
containers >= 0.4 && < 0.6,
filepath >= 1.3 && < 1.5,
hashable >= 1.0 && < 2,
......
-*-change-log-*-
1.23.x.x (current development version)
1.25.x.x (current development version)
* No changes yet.
1.24.0.0 Ryan Thomas <ryan@ryant.org> February 2016
* If there are multiple remote repos, 'cabal update' now updates
them in parallel (#2503).
* New 'cabal upload' option '-P'/'--password-command' for reading
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment