Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-cabal-doctest for openSUSE:Factory checked in at 2026-11-06 19:48:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old) and /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3759290 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-cabal-doctest" Fri Nov 6 19:48:21 2026 rev:23 rq:1395513 version:1.0.13 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes 2026-06-10 15:58:44.354607049 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3759290/ghc-cabal-doctest.changes 2026-11-06 19:54:29.822440491 +0100 @@ -1,0 +2,9 @@ +Fri Sep 18 12:42:02 UTC 2026 - Peter Simons <[email protected]> + +- Update cabal-doctest to version 1.0.13. + # 1.0.13 -- 2026-09-18 + + * Support GHC 9.14. + * Support Cabal 3.18. + +------------------------------------------------------------------- Old: ---- cabal-doctest-1.0.12.tar.gz cabal-doctest.cabal New: ---- cabal-doctest-1.0.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-cabal-doctest.spec ++++++ --- /var/tmp/diff_new_pack.luEqZh/_old 2026-11-06 19:54:31.314502965 +0100 +++ /var/tmp/diff_new_pack.luEqZh/_new 2026-11-06 19:54:31.323503342 +0100 @@ -19,13 +19,12 @@ %global pkg_name cabal-doctest %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 1.0.12 +Version: 1.0.13 Release: 0 Summary: A Setup.hs helper for running doctests License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-prof BuildRequires: ghc-base-devel @@ -70,7 +69,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ cabal-doctest-1.0.12.tar.gz -> cabal-doctest-1.0.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-doctest-1.0.12/cabal-doctest.cabal new/cabal-doctest-1.0.13/cabal-doctest.cabal --- old/cabal-doctest-1.0.12/cabal-doctest.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/cabal-doctest-1.0.13/cabal-doctest.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: cabal-doctest -version: 1.0.12 +version: 1.0.13 -- x-revision: 0 synopsis: A Setup.hs helper for running doctests description: @@ -21,6 +21,8 @@ README.md tested-with: + GHC == 9.14.1 + GHC == 9.12.4 GHC == 9.10.3 GHC == 9.8.4 GHC == 9.6.7 @@ -53,7 +55,7 @@ -- In any case, revisions may set tighter bounds afterwards, if exceptional -- circumstances would warrant that. base >=4.9 && <5 - , Cabal >=1.24 && <3.16 + , Cabal >=1.24 && <3.19 , directory >=1.3 && <2 , filepath >=1.4 && <2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-doctest-1.0.12/changelog.md new/cabal-doctest-1.0.13/changelog.md --- old/cabal-doctest-1.0.12/changelog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/cabal-doctest-1.0.13/changelog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,8 @@ +# 1.0.13 -- 2026-09-18 + +* Support GHC 9.14. +* Support Cabal 3.18. + # 1.0.12 -- 2025-11-19 * Fix documentation mistake regarding `Build_doctests` module name. [cabal-doctest#90][] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-doctest-1.0.12/src/Distribution/Extra/Doctest.hs new/cabal-doctest-1.0.13/src/Distribution/Extra/Doctest.hs --- old/cabal-doctest-1.0.12/src/Distribution/Extra/Doctest.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/cabal-doctest-1.0.13/src/Distribution/Extra/Doctest.hs 2001-09-09 03:46:40.000000000 +0200 @@ -138,6 +138,19 @@ (getSymbolicPath) #endif +#if MIN_VERSION_Cabal(3,17,0) +import Distribution.Verbosity + (mkVerbosity, defaultVerbosityHandles, VerbosityFlags) +#endif + +#if MIN_VERSION_Cabal(2,4,0) +import Distribution.Simple.Flag (Flag) +#else +import Distribution.Simple.Setup (Flag) +#endif + +import Distribution.Verbosity (Verbosity) + #if MIN_VERSION_Cabal(3,14,0) -- https://github.com/haskell/cabal/issues/10559 import Distribution.Simple.Compiler @@ -217,6 +230,21 @@ mkVersion ds = Version ds [] #endif +-- Taken from Cabal: https://github.com/haskell/cabal/blob/edb808a0b8be67885876f998a3e89c0cd5e1c3f4/changelog.d/pr-11077 +mkVerbosityCompat + :: +#if MIN_VERSION_Cabal(3,17,0) + Flag VerbosityFlags +#else + Flag Verbosity +#endif + -> Verbosity +mkVerbosityCompat v = +#if MIN_VERSION_Cabal(3,17,0) + mkVerbosity defaultVerbosityHandles $ +#endif + fromFlag v + ------------------------------------------------------------------------------- -- Mains ------------------------------------------------------------------------------- @@ -333,7 +361,7 @@ :: TestSuiteName -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO () generateBuildModule testSuiteName flags pkg lbi = do - let verbosity = fromFlag (buildVerbosity flags) + let verbosity = mkVerbosityCompat (buildVerbosity flags) let distPref = fromFlag (buildDistPref flags) -- Package DBs & environments
