Skip to content

Commit 971f083

Browse files
committed
Bump Cabal versions from 2.5 -> 3.0
1 parent d24ec56 commit 971f083

12 files changed

+19
-19
lines changed

Cabal/Cabal.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
cabal-version: >=1.10
12
name: Cabal
2-
version: 2.5.0.0
3+
version: 3.0.0.0
34
copyright: 2003-2018, Cabal Development Team (see AUTHORS file)
45
license: BSD3
56
license-file: LICENSE
@@ -16,7 +17,6 @@ description:
1617
The Haskell Cabal is part of a larger infrastructure for distributing,
1718
organizing, and cataloging Haskell libraries and tools.
1819
category: Distribution
19-
cabal-version: >=1.10
2020
build-type: Simple
2121
-- If we use a new Cabal feature, this needs to be changed to Custom so
2222
-- we can bootstrap.

Cabal/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2.6.0.0 (current development version)
1+
# 3.0.0.0 (current development version)
22
* TODO
33
* Introduce set notation for `^>=` and `==` operators.
44
* 'check' reports warnings for various ghc-\*-options fields separately

Cabal/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=2.5.0.0
1+
VERSION=3.0.0.0
22

33
#KIND=devel
44
KIND=rc

Cabal/doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
sys.path.insert(0, os.path.abspath('.'))
1414
import cabaldomain
1515

16-
version = "2.5.0.0"
16+
version = "3.0.0.0"
1717

1818
extensions = ['sphinx.ext.extlinks', 'sphinx.ext.todo']
1919

cabal-install/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ NETWORK_URI_VER="2.6.1.0"; NETWORK_URI_VER_REGEXP="2\.6\.(0\.[2-9]|[1-9])"
224224
# >= 2.6.0.2 && < 2.7
225225
NETWORK_VER="2.7.0.0"; NETWORK_VER_REGEXP="2\.[0-7]\."
226226
# >= 2.0 && < 2.7
227-
CABAL_VER="2.5.0.0"; CABAL_VER_REGEXP="2\.5\.[0-9]"
227+
CABAL_VER="3.0.0.0"; CABAL_VER_REGEXP="3\.0\.[0-9]"
228228
# >= 2.5 && < 2.6
229229
TRANS_VER="0.5.5.0"; TRANS_VER_REGEXP="0\.[45]\."
230230
# >= 0.2.* && < 0.6

cabal-install/cabal-install.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Cabal-Version: >= 1.10
44
-- To update this file, edit 'cabal-install.cabal.pp' and run
55
-- 'make cabal-install-prod' in the project's root folder.
66
Name: cabal-install
7-
Version: 2.5.0.0
7+
Version: 3.0.0.0
88
Synopsis: The command-line interface for Cabal and Hackage.
99
Description:
1010
The \'cabal\' command-line program simplifies the process of managing
@@ -311,7 +311,7 @@ executable cabal
311311
base16-bytestring >= 0.1.1 && < 0.2,
312312
binary >= 0.7.3 && < 0.9,
313313
bytestring >= 0.10.6.0 && < 0.11,
314-
Cabal == 2.5.*,
314+
Cabal == 3.0.*,
315315
containers >= 0.5.6.2 && < 0.7,
316316
cryptohash-sha256 >= 0.11 && < 0.12,
317317
deepseq >= 1.4.1.1 && < 1.5,

cabal-install/cabal-install.cabal.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
-- To update this file, edit 'cabal-install.cabal.pp' and run
1111
-- 'make cabal-install-prod' in the project's root folder.
1212
Name: cabal-install
13-
Version: 2.5.0.0
13+
Version: 3.0.0.0
1414
#
1515
# NOTE: when updating build-depends, don't forget to update version regexps in bootstrap.sh.
1616
#
@@ -22,7 +22,7 @@
2222
base16-bytestring >= 0.1.1 && < 0.2,
2323
binary >= 0.7.3 && < 0.9,
2424
bytestring >= 0.10.6.0 && < 0.11,
25-
Cabal == 2.5.*,
25+
Cabal == 3.0.*,
2626
containers >= 0.5.6.2 && < 0.7,
2727
cryptohash-sha256 >= 0.11 && < 0.12,
2828
deepseq >= 1.4.1.1 && < 1.5,
@@ -472,7 +472,7 @@
472472
473473
cpp-options: -DMONOLITHIC
474474
build-depends:
475-
Cabal == 2.5.*,
475+
Cabal == 3.0.*,
476476
cabal-install-solver-dsl,
477477
QuickCheck >= 2.8.2,
478478
array,

cabal-testsuite/cabal-testsuite.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cabal-testsuite
2-
version: 2.5.0.0
2+
version: 3.0.0.0
33
copyright: 2003-2018, Cabal Development Team (see AUTHORS file)
44
license: BSD3
55
license-file: LICENSE
@@ -64,7 +64,7 @@ executable cabal-tests
6464
build-depends:
6565
async,
6666
base,
67-
Cabal == 2.5.0.0,
67+
Cabal == 3.0.0.0,
6868
clock,
6969
filepath,
7070
process,
@@ -81,5 +81,5 @@ custom-setup
8181
-- lib:Cabal dependency, and some stable lib:Cabal version for its
8282
-- custom-setup's one (due to 'setupMaxCabalVersionConstraint' in
8383
-- 'D.C.ProjectPlanning').
84-
setup-depends: Cabal == 2.5.0.0,
84+
setup-depends: Cabal == 3.0.0.0,
8585
base

solver-benchmarks/solver-benchmarks.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: solver-benchmarks
2-
version: 2.5.0.0
2+
version: 3.0.0.0
33
copyright: 2003-2017, Cabal Development Team (see AUTHORS file)
44
license: BSD3
55
license-file: LICENSE

travis-common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
set -e
22

33
HACKAGE_REPO_TOOL_VERSION="0.1.1.1"
4-
CABAL_VERSION="2.5.0.0"
5-
CABAL_INSTALL_VERSION="2.5.0.0"
4+
CABAL_VERSION="3.0.0.0"
5+
CABAL_INSTALL_VERSION="3.0.0.0"
66

77
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
88
ARCH="x86_64-linux"

travis-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deploy() {
88
(cd cabal-website && git checkout --track -b gh-pages origin/gh-pages)
99
rm -rf cabal-website/doc
1010
mkdir -p cabal-website/doc/html
11-
mv dist-newstyle/build/`uname -m`-$TRAVIS_OS_NAME/ghc-$GHCVER/Cabal-2.5.0.0/doc/html/Cabal \
11+
mv dist-newstyle/build/`uname -m`-$TRAVIS_OS_NAME/ghc-$GHCVER/Cabal-3.0.0.0/doc/html/Cabal \
1212
cabal-website/doc/html/Cabal
1313
(cd cabal-website && git add --all .)
1414
(cd cabal-website && \

validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CABALINSTALLTESTS=${CABALINSTALLTESTS-true}
4646
CABALSUITETESTS=${CABALSUITETESTS-true}
4747
CABAL_LIB_ONLY=${CABAL_LIB_ONLY-false}
4848

49-
CABAL_VERSION="2.5.0.0"
49+
CABAL_VERSION="3.0.0.0"
5050
if [ "$(uname)" = "Linux" ]; then
5151
ARCH="x86_64-linux"
5252
else

0 commit comments

Comments
 (0)