commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2020-11-05 21:55:13 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new.11331 (New) Package is "doctest" Thu Nov 5 21:55:13 2020 rev:3 rq:846139 version:2.4.1 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2020-09-25 16:36:43.028166370 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new.11331/doctest.changes 2020-11-05 21:56:04.968027307 +0100 @@ -1,0 +2,7 @@ +Wed Nov 4 18:51:51 UTC 2020 - Martin Hauke + +- Update to version 2.4.1 + * Support for unit tests with Open MPI as a new extension header. + * Added default printers for enums. + +--- Old: doctest-2.4.0.tar.gz New: doctest-2.4.1.tar.gz Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.Yjj2Qv/_old 2020-11-05 21:56:05.540026021 +0100 +++ /var/tmp/diff_new_pack.Yjj2Qv/_new 2020-11-05 21:56:05.544026012 +0100 @@ -17,7 +17,7 @@ Name: doctest -Version:2.4.0 +Version:2.4.1 Release:0 Summary:Single-header testing framework License:MIT ++ doctest-2.4.0.tar.gz -> doctest-2.4.1.tar.gz ++ 2961 lines of diff (skipped)
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2020-09-25 16:35:32 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new.4249 (New) Package is "doctest" Fri Sep 25 16:35:32 2020 rev:2 rq:837208 version:2.4.0 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2020-09-24 16:14:17.892901870 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new.4249/doctest.changes 2020-09-25 16:36:43.028166370 +0200 @@ -1,0 +2,5 @@ +Thu Sep 24 15:00:37 UTC 2020 - Martin Hauke + +- Enable arm builds. The package builds fine on aarch64 systems. + +--- Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.J7us4F/_old 2020-09-25 16:36:44.828167968 +0200 +++ /var/tmp/diff_new_pack.J7us4F/_new 2020-09-25 16:36:44.832167972 +0200 @@ -26,7 +26,6 @@ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig -ExcludeArch:%arm %description C++98/C++11 single-header testing framework for unit tests and TDD.
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-09-15 21:10:57 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) Package is "doctest" Fri Sep 15 21:10:57 2017 rev:6 rq:523915 version:0.11.4 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-08-31 20:49:52.510936276 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-09-15 21:10:59.090404478 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.WINBK3/_old 2017-09-15 21:11:00.542200634 +0200 +++ /var/tmp/diff_new_pack.WINBK3/_new 2017-09-15 21:11:00.546200072 +0200 @@ -23,8 +23,8 @@ Release:0 Summary:Test interactive Haskell examples License:MIT -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{name} +Group: Development/Libraries/Haskell +URL:https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: chrpath BuildRequires: ghc-Cabal-devel @@ -39,7 +39,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel BuildRequires: ghc-transformers-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -66,7 +65,7 @@ %package -n ghc-%{name}-devel Summary:Haskell %{name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -95,17 +94,14 @@ %ghc_pkg_recache %files -%defattr(-,root,root,-) %doc LICENSE %doc doctest.cabal example %{_bindir}/%{name} %files -n ghc-%{name} -f ghc-%{name}.files -%defattr(-,root,root,-) %doc LICENSE %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files -%defattr(-,root,root,-) %doc doctest.cabal example %changelog
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-08-31 20:49:52 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) Package is "doctest" Thu Aug 31 20:49:52 2017 rev:5 rq:513183 version:0.11.4 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-07-05 23:57:53.852803823 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-08-31 20:49:52.510936276 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:54 UTC 2017 - psim...@suse.com + +- Update to version 0.11.4. + +--- Old: doctest-0.11.3.tar.gz New: doctest-0.11.4.tar.gz Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.rJN2lc/_old 2017-08-31 20:49:53.290826803 +0200 +++ /var/tmp/diff_new_pack.rJN2lc/_new 2017-08-31 20:49:53.298825680 +0200 @@ -19,7 +19,7 @@ %global pkg_name doctest %bcond_with tests Name: %{pkg_name} -Version:0.11.3 +Version:0.11.4 Release:0 Summary:Test interactive Haskell examples License:MIT ++ doctest-0.11.3.tar.gz -> doctest-0.11.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.3/doctest.cabal new/doctest-0.11.4/doctest.cabal --- old/doctest-0.11.3/doctest.cabal2017-06-15 10:12:28.0 +0200 +++ new/doctest-0.11.4/doctest.cabal2017-07-23 06:03:31.0 +0200 @@ -1,5 +1,5 @@ name: doctest -version: 0.11.3 +version: 0.11.4 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.3/src/Options.hs new/doctest-0.11.4/src/Options.hs --- old/doctest-0.11.3/src/Options.hs 2017-06-15 10:12:28.0 +0200 +++ new/doctest-0.11.4/src/Options.hs 2017-07-23 06:03:31.0 +0200 @@ -1,4 +1,5 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE DeriveFunctor #-} module Options ( Result(..) , Run(..) @@ -24,12 +25,13 @@ usage :: String usage = unlines [ "Usage:" - , " doctest [ --no-magic | GHC OPTION | MODULE ]..." + , " doctest [ --fast | --no-magic | GHC OPTION | MODULE ]..." , " doctest --help" , " doctest --version" , " doctest --info" , "" , "Options:" + , " --fast disable :reload between example groups" , " --help display this help and exit" , " --version output version information and exit" , " --info output machine-readable version information and exit" @@ -55,8 +57,8 @@ , ("ghc", ghc) ]) ++ "\n]\n" -data Result = Output String | Result Run - deriving (Eq, Show) +data Result a = Output String | Result a + deriving (Eq, Show, Functor) type Warning = String @@ -64,20 +66,26 @@ runWarnings :: [Warning] , runOptions :: [String] , runMagicMode :: Bool +, runFastMode :: Bool } deriving (Eq, Show) -parseOptions :: [String] -> Result +parseOptions :: [String] -> Result Run parseOptions args | "--help" `elem` args = Output usage | "--info" `elem` args = Output info | "--version" `elem` args = Output versionInfo - | otherwise = case stripOptGhc <$> stripNoMagic args of - (magicMode, (warning, xs)) -> Result (Run (maybeToList warning) xs magicMode) + | otherwise = case fmap stripOptGhc . stripFast <$> stripNoMagic args of + (magicMode, (fastMode, (warning, xs))) -> +Result (Run (maybeToList warning) xs magicMode fastMode) stripNoMagic :: [String] -> (Bool, [String]) -stripNoMagic args = (noMagic `notElem` args, filter (/= noMagic) args) - where -noMagic = "--no-magic" +stripNoMagic = stripFlag False "--no-magic" + +stripFast :: [String] -> (Bool, [String]) +stripFast = stripFlag True "--fast" + +stripFlag :: Bool -> String -> [String] -> (Bool, [String]) +stripFlag enableIt flag args = ((flag `elem` args) == enableIt, filter (/= flag) args) stripOptGhc :: [String] -> (Maybe Warning, [String]) stripOptGhc = go diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.3/src/Run.hs new/doctest-0.11.4/src/Run.hs --- old/doctest-0.11.3/src/Run.hs 2017-06-15 10:12:28.0 +0200 +++ new/doctest-0.11.4/src/Run.hs 2017-07-23 06:03:31.0 +0200 @@ -2,7 +2,7 @@ module Run ( doctest #ifdef TEST -, doctest_ +, doctestWithFastMode , Summary , expandDirs #endif @@ -43,7 +43,7 @@ doctest :: [String] -> IO () doctest args0 = case parseOptions args0 of
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-07-05 23:57:52 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) Package is "doctest" Wed Jul 5 23:57:52 2017 rev:4 rq:506794 version:0.11.3 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-06-04 01:51:19.332310685 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-07-05 23:57:53.852803823 +0200 @@ -1,0 +2,5 @@ +Mon Jun 19 21:01:47 UTC 2017 - psim...@suse.com + +- Update to version 0.11.3. + +--- Old: doctest-0.11.2.tar.gz New: doctest-0.11.3.tar.gz Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.c9MFih/_old 2017-07-05 23:57:54.512710862 +0200 +++ /var/tmp/diff_new_pack.c9MFih/_new 2017-07-05 23:57:54.516710300 +0200 @@ -19,7 +19,7 @@ %global pkg_name doctest %bcond_with tests Name: %{pkg_name} -Version:0.11.2 +Version:0.11.3 Release:0 Summary:Test interactive Haskell examples License:MIT ++ doctest-0.11.2.tar.gz -> doctest-0.11.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.2/doctest.cabal new/doctest-0.11.3/doctest.cabal --- old/doctest-0.11.2/doctest.cabal2017-04-18 07:39:08.0 +0200 +++ new/doctest-0.11.3/doctest.cabal2017-06-15 10:12:28.0 +0200 @@ -1,5 +1,5 @@ name: doctest -version: 0.11.2 +version: 0.11.3 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python @@ -37,7 +37,7 @@ , GhcUtil , Interpreter , Location -, Help +, Options , PackageDBs , Parse , Paths_doctest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.2/src/Help.hs new/doctest-0.11.3/src/Help.hs --- old/doctest-0.11.2/src/Help.hs 2017-04-18 07:39:08.0 +0200 +++ new/doctest-0.11.3/src/Help.hs 1970-01-01 01:00:00.0 +0100 @@ -1,27 +0,0 @@ -module Help ( - usage -, printVersion -) where - -import Paths_doctest (version) -import Data.Version (showVersion) -import Config as GHC -import Interpreter (ghc) - -usage :: String -usage = unlines [ - "Usage:" -, " doctest [ GHC OPTION | MODULE ]..." -, " doctest --help" -, " doctest --version" -, "" -, "Options:" -, " --help display this help and exit" -, " --version output version information and exit" -] - -printVersion :: IO () -printVersion = do - putStrLn ("doctest version " ++ showVersion version) - putStrLn ("using version " ++ GHC.cProjectVersion ++ " of the GHC API") - putStrLn ("using " ++ ghc) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.2/src/Options.hs new/doctest-0.11.3/src/Options.hs --- old/doctest-0.11.2/src/Options.hs 1970-01-01 01:00:00.0 +0100 +++ new/doctest-0.11.3/src/Options.hs 2017-06-15 10:12:28.0 +0200 @@ -0,0 +1,90 @@ +{-# LANGUAGE CPP #-} +module Options ( + Result(..) +, Run(..) +, parseOptions +#ifdef TEST +, usage +, info +, versionInfo +#endif +) where + +import Prelude () +import Prelude.Compat + +import Data.List.Compat +import Data.Maybe + +import qualified Paths_doctest +import Data.Version (showVersion) +import Config as GHC +import Interpreter (ghc) + +usage :: String +usage = unlines [ +"Usage:" + , " doctest [ --no-magic | GHC OPTION | MODULE ]..." + , " doctest --help" + , " doctest --version" + , " doctest --info" + , "" + , "Options:" + , " --help display this help and exit" + , " --version output version information and exit" + , " --info output machine-readable version information and exit" + ] + +version :: String +version = showVersion Paths_doctest.version + +ghcVersion :: String +ghcVersion = GHC.cProjectVersion + +versionInfo :: String +versionInfo = unlines [ +"doctest version " ++ version + , "using version " ++ ghcVersion ++ " of the GHC API" + , "using " ++ ghc + ] + +info :: String +info = "[ " ++ (intercalate "\n, " . map show $ [ +("version", version) + , ("ghc_version", ghcVersion) + , ("ghc", ghc) + ]) ++ "\n]\n" + +data Result = Output String | Result Run + deriving (Eq, Show) + +type Warning = String + +data Run =
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-06-04 01:51:18 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) Package is "doctest" Sun Jun 4 01:51:18 2017 rev:3 rq:494129 version:0.11.2 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-04-13 10:44:34.705598956 +0200 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-06-04 01:51:19.332310685 +0200 @@ -1,0 +2,5 @@ +Mon Apr 24 12:26:27 UTC 2017 - psim...@suse.com + +- Update to version 0.11.2 with cabal2obs. + +--- Old: doctest-0.11.1.tar.gz New: doctest-0.11.2.tar.gz Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.eyrr6J/_old 2017-06-04 01:51:19.848237791 +0200 +++ /var/tmp/diff_new_pack.eyrr6J/_new 2017-06-04 01:51:19.848237791 +0200 @@ -19,7 +19,7 @@ %global pkg_name doctest %bcond_with tests Name: %{pkg_name} -Version:0.11.1 +Version:0.11.2 Release:0 Summary:Test interactive Haskell examples License:MIT @@ -44,6 +44,7 @@ BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-mockery-devel BuildRequires: ghc-setenv-devel BuildRequires: ghc-silently-devel BuildRequires: ghc-stringbuilder-devel ++ doctest-0.11.1.tar.gz -> doctest-0.11.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.1/doctest.cabal new/doctest-0.11.2/doctest.cabal --- old/doctest-0.11.1/doctest.cabal2017-01-25 04:45:41.0 +0100 +++ new/doctest-0.11.2/doctest.cabal2017-04-18 07:39:08.0 +0200 @@ -1,5 +1,5 @@ name: doctest -version: 0.11.1 +version: 0.11.2 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python @@ -51,7 +51,7 @@ build-depends: base == 4.* , base-compat >= 0.7.0 -, ghc >= 7.0 && < 8.2 +, ghc >= 7.0 && < 8.4 , syb >= 0.3 , code-page >= 0.1 , deepseq @@ -105,6 +105,7 @@ , silently >= 1.2.4 , setenv , with-location +, mockery test-suite doctests main-is: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.1/src/GhcUtil.hs new/doctest-0.11.2/src/GhcUtil.hs --- old/doctest-0.11.1/src/GhcUtil.hs 2017-01-25 04:45:41.0 +0100 +++ new/doctest-0.11.2/src/GhcUtil.hs 2017-04-18 07:39:08.0 +0200 @@ -20,7 +20,7 @@ import Data.IORef (writeIORef) #elif __GLASGOW_HASKELL__ < 707 import StaticFlags (saveStaticFlagGlobals, restoreStaticFlagGlobals) -#else +#elif __GLASGOW_HASKELL__ < 801 import StaticFlags (discardStaticFlags) #endif @@ -58,8 +58,10 @@ handleStaticFlags :: [String] -> IO [Located String] #if __GLASGOW_HASKELL__ < 707 handleStaticFlags flags = fst `fmap` parseStaticFlags (map noLoc flags) -#else +#elif __GLASGOW_HASKELL__ < 801 handleStaticFlags flags = return $ map noLoc $ discardStaticFlags flags +#else +handleStaticFlags flags = return $ map noLoc $ flags #endif handleDynamicFlags :: GhcMonad m => [Located String] -> m [String] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.1/src/Runner/Example.hs new/doctest-0.11.2/src/Runner/Example.hs --- old/doctest-0.11.1/src/Runner/Example.hs2017-01-25 04:45:41.0 +0100 +++ new/doctest-0.11.2/src/Runner/Example.hs2017-04-18 07:39:08.0 +0200 @@ -27,13 +27,12 @@ chunksMatch _ _ = False matches :: ExpectedResult -> [String] -> Bool +matches (ExpectedLine x : xs) (y : ys) = x `chunksMatch` y && xs `matches` ys +matches (WildCardLine : xs) ys | xs `matches` ys = True +matches zs@(WildCardLine : _) (_ : ys) = zs `matches` ys matches [] [] = True matches [] _ = False matches _ [] = False -matches (ExpectedLine x : xs) (y:ys) = -x `chunksMatch` y && xs `matches` ys -matches zs@(WildCardLine : xs) (_:ys) = -xs `matches` ys || zs `matches` ys formatNotEqual :: ExpectedResult -> [String] -> [String]
commit doctest for openSUSE:Factory
Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-04-13 10:44:33 Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) Package is "doctest" Thu Apr 13 10:44:33 2017 rev:2 rq:455447 version:0.11.1 Changes: --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-02-03 17:35:54.447933419 +0100 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-04-13 10:44:34.705598956 +0200 @@ -1,0 +2,5 @@ +Thu Jan 26 16:22:07 UTC 2017 - psim...@suse.com + +- Update to version 0.11.1 with cabal2obs. + +--- Old: doctest-0.11.0.tar.gz New: doctest-0.11.1.tar.gz Other differences: -- ++ doctest.spec ++ --- /var/tmp/diff_new_pack.uwZWr9/_old 2017-04-13 10:44:35.393501675 +0200 +++ /var/tmp/diff_new_pack.uwZWr9/_new 2017-04-13 10:44:35.397501109 +0200 @@ -1,7 +1,7 @@ # # spec file for package doctest # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name doctest %bcond_with tests Name: %{pkg_name} -Version:0.11.0 +Version:0.11.1 Release:0 Summary:Test interactive Haskell examples License:MIT @@ -29,6 +29,7 @@ BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-compat-devel +BuildRequires: ghc-code-page-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel @@ -76,20 +77,16 @@ %prep %setup -q - %build %ghc_lib_build - %install %ghc_lib_install -%ghc_fix_dynamic_rpath %{pkg_name} - +%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test - %post -n ghc-%{name}-devel %ghc_pkg_recache ++ doctest-0.11.0.tar.gz -> doctest-0.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/LICENSE new/doctest-0.11.1/LICENSE --- old/doctest-0.11.0/LICENSE 2016-03-30 18:47:36.0 +0200 +++ new/doctest-0.11.1/LICENSE 2017-01-25 04:45:41.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2009-2015 Simon Hengel+Copyright (c) 2009-2017 Simon Hengel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/doctest.cabal new/doctest-0.11.1/doctest.cabal --- old/doctest-0.11.0/doctest.cabal2016-03-30 18:47:36.0 +0200 +++ new/doctest-0.11.1/doctest.cabal2017-01-25 04:45:41.0 +0100 @@ -1,5 +1,5 @@ name: doctest -version: 0.11.0 +version: 0.11.1 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python @@ -12,7 +12,7 @@ homepage: https://github.com/sol/doctest#readme license: MIT license-file: LICENSE -copyright:(c) 2009-2015 Simon Hengel +copyright:(c) 2009-2017 Simon Hengel author: Simon Hengel maintainer: Simon Hengel build-type: Simple @@ -50,9 +50,10 @@ , Language.Haskell.GhciWrapper build-depends: base == 4.* -, base-compat >= 0.4.2 +, base-compat >= 0.7.0 , ghc >= 7.0 && < 8.2 , syb >= 0.3 +, code-page >= 0.1 , deepseq , directory , filepath @@ -88,6 +89,7 @@ base , ghc , syb +, code-page , deepseq , directory , filepath diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/src/Run.hs new/doctest-0.11.1/src/Run.hs --- old/doctest-0.11.0/src/Run.hs 2016-03-30 18:47:36.0 +0200 +++ new/doctest-0.11.1/src/Run.hs 2017-01-25 04:45:41.0 +0100 @@ -19,6 +19,7 @@ import System.Exit (exitFailure, exitSuccess) import System.FilePath ((), takeExtension) import System.IO +import System.IO.CodePage (withCP65001) import qualified Control.Exception as E import Panic @@ -144,5 +145,5 @@ -- get examples from Haddock comments modules <- getDocTests args - Interpreter.withInterpreter args $ \repl -> do +