[Git][haskell-team/DHG_packages][master] ormolu: Upgrading from 0.7.2.0 to 0.8.0.0

Clint Adams (@clint) gitlab at salsa.debian.org
Fri Feb 27 01:51:05 GMT 2026



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
c27e919e by Clint Adams at 2026-02-26T20:50:13-05:00
ormolu: Upgrading from 0.7.2.0 to 0.8.0.0

- - - - -


4 changed files:

- p/haskell-ormolu/debian/changelog
- p/haskell-ormolu/debian/control
- + p/haskell-ormolu/debian/patches/older-deps
- + p/haskell-ormolu/debian/patches/series


Changes:

=====================================
p/haskell-ormolu/debian/changelog
=====================================
@@ -1,8 +1,13 @@
-haskell-ormolu (0.7.2.0-2) UNRELEASED; urgency=medium
+haskell-ormolu (0.8.0.0-1) unstable; urgency=medium
 
+  [ Scott Talbert ]
   * Build using dh-haskell
 
- -- Scott Talbert <swt at techie.net>  Sun, 09 Nov 2025 21:11:10 -0500
+  [ Clint Adams ]
+  * New upstream version.
+  * Patch to build with older Cabal-syntax.  closes: #1127986.
+
+ -- Clint Adams <clint at debian.org>  Thu, 26 Feb 2026 20:35:55 -0500
 
 haskell-ormolu (0.7.2.0-1) unstable; urgency=medium
 


=====================================
p/haskell-ormolu/debian/control
=====================================
@@ -9,21 +9,24 @@ Build-Depends: debhelper-compat (= 13),
  ghc,
  ghc-prof,
  libghc-diff-dev (>= 0.4),
- libghc-diff-dev (<< 1.0),
+ libghc-diff-dev (<< 2),
  libghc-diff-prof,
  libghc-memotrie-dev (>= 0.6),
  libghc-memotrie-dev (<< 0.7),
  libghc-memotrie-prof,
  libghc-ansi-terminal-dev (>= 0.10),
- libghc-ansi-terminal-dev (<< 1.1),
+ libghc-ansi-terminal-dev (<< 1.2),
  libghc-ansi-terminal-prof,
+ libghc-choice-dev (>= 0.2.4.1),
+ libghc-choice-dev (<< 0.3),
+ libghc-choice-prof,
  libghc-file-embed-dev (>= 0.0.15),
  libghc-file-embed-dev (<< 0.1),
  libghc-file-embed-prof,
- libghc-ghc-lib-parser-dev (>= 9.6),
- libghc-ghc-lib-parser-dev (<< 9.7),
+ libghc-ghc-lib-parser-dev (>= 9.12),
+ libghc-ghc-lib-parser-dev (<< 9.13),
  libghc-ghc-lib-parser-prof,
- libghc-megaparsec-dev (>= 9.0),
+ libghc-megaparsec-dev (>= 9),
  libghc-megaparsec-prof,
  libghc-syb-dev (>= 0.7),
  libghc-syb-dev (<< 0.8),
@@ -34,31 +37,37 @@ Build-Depends: debhelper-compat (= 13),
  libghc-th-env-dev (>= 0.1.1),
  libghc-th-env-dev (<< 0.2),
  libghc-th-env-prof,
- libghc-quickcheck2-dev (>= 2.14),
- libghc-quickcheck2-prof,
- libghc-hspec-dev (>= 2.0),
- libghc-hspec-dev (<< 3.0),
- libghc-hspec-prof,
- libghc-hspec-megaparsec-dev (>= 2.2),
- libghc-hspec-megaparsec-prof,
- libghc-path-dev (>= 0.6),
- libghc-path-dev (<< 0.10),
- libghc-path-prof,
- libghc-path-io-dev (>= 1.4.2),
- libghc-path-io-dev (<< 2.0),
- libghc-path-io-prof,
- libghc-temporary-dev (>= 1.3),
- libghc-temporary-dev (<< 1.4),
- libghc-temporary-prof,
+ libghc-unliftio-dev (>= 0.2.10),
+ libghc-unliftio-dev (<< 0.3),
+ libghc-unliftio-prof,
+ libghc-quickcheck2-dev (>= 2.14) <!nocheck>,
+ libghc-quickcheck2-prof <!nocheck>,
+ libghc-hspec-dev (>= 2) <!nocheck>,
+ libghc-hspec-dev (<< 3) <!nocheck>,
+ libghc-hspec-prof <!nocheck>,
+ libghc-hspec-megaparsec-dev (>= 2.2) <!nocheck>,
+ libghc-hspec-megaparsec-prof <!nocheck>,
+ libghc-megaparsec-dev (>= 9) <!nocheck>,
+ libghc-megaparsec-prof <!nocheck>,
+ libghc-path-dev (>= 0.6) <!nocheck>,
+ libghc-path-dev (<< 0.10) <!nocheck>,
+ libghc-path-prof <!nocheck>,
+ libghc-path-io-dev (>= 1.4.2) <!nocheck>,
+ libghc-path-io-dev (<< 2) <!nocheck>,
+ libghc-path-io-prof <!nocheck>,
+ libghc-temporary-dev (>= 1.3) <!nocheck>,
+ libghc-temporary-dev (<< 1.4) <!nocheck>,
+ libghc-temporary-prof <!nocheck>,
 Build-Depends-Indep: ghc-doc,
  libghc-diff-doc,
  libghc-memotrie-doc,
  libghc-ansi-terminal-doc,
+ libghc-choice-doc,
  libghc-file-embed-doc,
  libghc-ghc-lib-parser-doc,
  libghc-megaparsec-doc,
  libghc-syb-doc,
-Standards-Version: 4.7.0
+Standards-Version: 4.7.3
 Homepage: https://github.com/tweag/ormolu
 Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-ormolu
 Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-ormolu]


=====================================
p/haskell-ormolu/debian/patches/older-deps
=====================================
@@ -0,0 +1,52 @@
+--- a/ormolu.cabal
++++ b/ormolu.cabal
+@@ -95,7 +95,7 @@ library
+   other-modules: GHC.DynFlags
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     Diff >=0.4 && <2,
+     MemoTrie >=0.6 && <0.7,
+     ansi-terminal >=0.10 && <1.2,
+@@ -133,7 +133,7 @@ executable ormolu
+   autogen-modules: Paths_ormolu
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     base >=4.12 && <5,
+     containers >=0.5 && <0.8,
+     directory ^>=1.3,
+@@ -184,7 +184,7 @@ test-suite tests
+ 
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     QuickCheck >=2.14,
+     base >=4.14 && <5,
+     choice >=0.2.4.1 && <0.3,
+--- a/src/Ormolu/Utils/Cabal.hs
++++ b/src/Ormolu/Utils/Cabal.hs
+@@ -189,17 +189,17 @@ getExtensionAndDepsMap cabalFile Generic
+     extractFromLibrary Library {..} =
+       extractFromBuildInfo (ModuleName.toFilePath <$> exposedModules) libBuildInfo
+     extractFromExecutable Executable {..} =
+-      extractFromBuildInfo [getSymbolicPath modulePath] buildInfo
++      extractFromBuildInfo [modulePath] buildInfo
+     extractFromTestSuite TestSuite {..} =
+       extractFromBuildInfo mainPath testBuildInfo
+       where
+         mainPath = case testInterface of
+-          TestSuiteExeV10 _ p -> [getSymbolicPath p]
++          TestSuiteExeV10 _ p -> [p]
+           TestSuiteLibV09 _ p -> [ModuleName.toFilePath p]
+           TestSuiteUnsupported {} -> []
+     extractFromBenchmark Benchmark {..} =
+       extractFromBuildInfo mainPath benchmarkBuildInfo
+       where
+         mainPath = case benchmarkInterface of
+-          BenchmarkExeV10 _ p -> [getSymbolicPath p]
++          BenchmarkExeV10 _ p -> [p]
+           BenchmarkUnsupported {} -> []


=====================================
p/haskell-ormolu/debian/patches/series
=====================================
@@ -0,0 +1 @@
+older-deps



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/c27e919e8b98a301cfd5f384a1f477e4aa2d2fcf

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/c27e919e8b98a301cfd5f384a1f477e4aa2d2fcf
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260227/5f11903e/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list