commit ghc-cabal-doctest for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2020-09-07 21:28:14

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3399 (New)


Package is "ghc-cabal-doctest"

Mon Sep  7 21:28:14 2020 rev:13 rq:832251 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2020-08-28 21:26:47.456479711 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3399/ghc-cabal-doctest.changes
2020-09-07 21:29:37.717222822 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:31 UTC 2020 - psim...@suse.com
+
+- Update cabal-doctest to version 1.0.8 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-cabal-doctest for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2020-08-28 21:26:47

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3399 (New)


Package is "ghc-cabal-doctest"

Fri Aug 28 21:26:47 2020 rev:12 rq:829203 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2020-06-19 17:09:37.497450687 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3399/ghc-cabal-doctest.changes
2020-08-28 21:26:47.456479711 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:14 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.hDGwYx/_old  2020-08-28 21:26:47.976479957 +0200
+++ /var/tmp/diff_new_pack.hDGwYx/_new  2020-08-28 21:26:47.976479957 +0200
@@ -24,7 +24,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -48,7 +48,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build

++ cabal-doctest.cabal ++
--- /var/tmp/diff_new_pack.hDGwYx/_old  2020-08-28 21:26:48.012479974 +0200
+++ /var/tmp/diff_new_pack.hDGwYx/_new  2020-08-28 21:26:48.012479974 +0200
@@ -1,6 +1,6 @@
 name:   cabal-doctest
 version:1.0.8
-x-revision: 1
+x-revision: 2
 synopsis:   A Setup.hs helper for doctests running
 description:
   Currently (beginning of 2017), there isn't @cabal doctest@
@@ -33,8 +33,8 @@
   other-modules:
   other-extensions:
   build-depends:
-  base   >=4.3  && <4.15
-, Cabal  >=1.10 && <3.3
+  base   >=4.3  && <4.16
+, Cabal  >=1.10 && <3.6
 , directory
 , filepath
 




commit ghc-cabal-doctest for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2020-06-19 17:09:34

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3606 (New)


Package is "ghc-cabal-doctest"

Fri Jun 19 17:09:34 2020 rev:11 rq:815050 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2020-05-11 13:35:14.844349549 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.3606/ghc-cabal-doctest.changes
2020-06-19 17:09:37.497450687 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:13:51 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.vYOvY7/_old  2020-06-19 17:09:38.165452428 +0200
+++ /var/tmp/diff_new_pack.vYOvY7/_new  2020-06-19 17:09:38.169452439 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cabal-doctest
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-cabal-doctest for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2020-05-11 13:34:08

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.2738 (New)


Package is "ghc-cabal-doctest"

Mon May 11 13:34:08 2020 rev:10 rq:801005 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2019-12-27 13:52:08.184606163 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.2738/ghc-cabal-doctest.changes
2020-05-11 13:35:14.844349549 +0200
@@ -1,0 +2,5 @@
+Thu May  7 08:08:20 UTC 2020 - Peter Simons 
+
+- Update Cabal file to get more accurate dependency information.
+
+---

New:

  cabal-doctest.cabal



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.zle12R/_old  2020-05-11 13:35:15.476350873 +0200
+++ /var/tmp/diff_new_pack.zle12R/_new  2020-05-11 13:35:15.480350882 +0200
@@ -24,6 +24,7 @@
 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-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ cabal-doctest.cabal ++
name:   cabal-doctest
version:1.0.8
x-revision: 1
synopsis:   A Setup.hs helper for doctests running
description:
  Currently (beginning of 2017), there isn't @cabal doctest@
  command. Yet, to properly work doctest needs plenty of configuration.
  This library provides the common bits for writing custom Setup.hs
  See  for the progress
  of @cabal doctest@, i.e. whether this library is obsolete.

homepage:   https://github.com/phadej/cabal-doctest
license:BSD3
license-file:   LICENSE
author: Oleg Grenrus 
maintainer: Oleg Grenrus 
copyright:  (c) 2017 Oleg Grenrus
category:   Distribution
build-type: Simple
cabal-version:  >=1.10
extra-source-files:
  ChangeLog.md
  README.md

tested-with:GHC ==8.10.1 || >=7.4 && <8.10 || ==7.2.2 || ==7.0.4

source-repository head
  type: git
  location: https://github.com/phadej/cabal-doctest

library
  exposed-modules:  Distribution.Extra.Doctest
  other-modules:
  other-extensions:
  build-depends:
  base   >=4.3  && <4.15
, Cabal  >=1.10 && <3.3
, directory
, filepath

  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:  -Wall

  if !impl(ghc >=7.2)
-- Work around a pattern-match coverage checking bug in GHC 7.0
ghc-options: -fno-warn-overlapping-patterns



commit ghc-cabal-doctest for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2019-12-27 13:52:05

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.6675 (New)


Package is "ghc-cabal-doctest"

Fri Dec 27 13:52:05 2019 rev:9 rq:759355 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2019-10-18 14:33:53.112168802 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.6675/ghc-cabal-doctest.changes
2019-12-27 13:52:08.184606163 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:22 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.q4VUfb/_old  2019-12-27 13:52:08.936606697 +0100
+++ /var/tmp/diff_new_pack.q4VUfb/_new  2019-12-27 13:52:08.940606700 +0100
@@ -22,7 +22,6 @@
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -39,7 +38,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-cabal-doctest for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2019-10-18 14:33:51

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.2352 (New)


Package is "ghc-cabal-doctest"

Fri Oct 18 14:33:51 2019 rev:8 rq:737195 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2019-08-29 17:20:22.267338933 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.2352/ghc-cabal-doctest.changes
2019-10-18 14:33:53.112168802 +0200
@@ -1,0 +2,9 @@
+Thu Oct  3 02:02:03 UTC 2019 - psim...@suse.com
+
+- Update cabal-doctest to version 1.0.8.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/cabal-doctest-1.0.8/src/ChangeLog.md
+
+---

Old:

  cabal-doctest-1.0.7.tar.gz

New:

  cabal-doctest-1.0.8.tar.gz



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.2T8Mbv/_old  2019-10-18 14:33:53.648167405 +0200
+++ /var/tmp/diff_new_pack.2T8Mbv/_new  2019-10-18 14:33:53.652167395 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name cabal-doctest
 Name:   ghc-%{pkg_name}
-Version:1.0.7
+Version:1.0.8
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause

++ cabal-doctest-1.0.7.tar.gz -> cabal-doctest-1.0.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.7/ChangeLog.md 
new/cabal-doctest-1.0.8/ChangeLog.md
--- old/cabal-doctest-1.0.7/ChangeLog.md2001-09-09 03:46:40.0 
+0200
+++ new/cabal-doctest-1.0.8/ChangeLog.md2001-09-09 03:46:40.0 
+0200
@@ -1,4 +1,9 @@
-# 1.0.7 -- 2019-??-??
+# 1.0.8 -- 2019-10-02
+
+* Pass `-package-env=-` when compiler supports it
+* Amend examples to `unsetEnv "GHC_ENVIRONMENT"`
+
+# 1.0.7 -- 2019-08-26
 
 * Make `Distribution.Extra.Doctest` `-Wall`-clean
 * Support GHC-8.8, base-4.13, and Cabal-3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.7/README.md 
new/cabal-doctest-1.0.8/README.md
--- old/cabal-doctest-1.0.7/README.md   2001-09-09 03:46:40.0 +0200
+++ new/cabal-doctest-1.0.8/README.md   2001-09-09 03:46:40.0 +0200
@@ -49,16 +49,24 @@
 
 import Build_doctests (flags, pkgs, module_sources)
 import Data.Foldable (traverse_)
+import System.Environment.Compat (unsetEnv)
 import Test.DocTest (doctest)
 
 main :: IO ()
 main = do
 traverse_ putStrLn args -- optionally print arguments
+unsetEnv "GHC_ENVIRONMENT" -- see 'Notes'; you may not need this
 doctest args
   where
 args = flags ++ pkgs ++ module_sources
 ```
 
+(The `System.Environment.Compat` module is from the `base-compat`
+package. That's already in the transitive closure of `doctest`'s
+dependencies. `System.Environment.unsetEnv` was added with GHC 7.8 so,
+if you don't need to support versions of GHC older than 7.8, you can
+use `System.Environment` from `base` instead.)
+
 Example with multiple .cabal components
 ---
 
@@ -86,6 +94,7 @@
 
 import Build_doctests (Component (..), components)
 import Data.Foldable (for_)
+import System.Environment.Compat (unsetEnv)
 import Test.DocTest (doctest)
 
 main :: IO ()
@@ -94,6 +103,7 @@
 putStrLn ""
 let args = flags ++ pkgs ++ sources
 for_ args putStrLn
+unsetEnv "GHC_ENVIRONMENT"
 doctest args
 ```
 
@@ -114,10 +124,12 @@
(flags,pkgs,module_sources,
 flags_exe_my_exe, pkgs_exe_my_exe, module_sources_exe_my_exe)
 import Data.Foldable (traverse_)
+import System.Environment.Compat (unsetEnv)
 import Test.DocTest
 
 main :: IO ()
 main = do
+unsetEnv "GHC_ENVRIONMENT"
 -- doctests for library
 traverse_ putStrLn libArgs
 doctest libArgs
@@ -221,6 +233,20 @@
 :: Language.Haskell.TH.Syntax.Name -> Language.Haskell.TH.Lib.ExpQ
 ```
 
+* From version 2, Stack sets the `GHC_ENVRIONMENT` variable, and GHC
+  (as invoked by `doctest`) will pick that up. This is undesirable:
+  `cabal-doctest` passes all the necessary information on the command
+  line already, and can lead to ambiguous module errors as GHC will
+  load the environment in addition to what `cabal-doctest` instructs
+  it to.
+
+  Hence, `cabal-doctest` tells GHC to ignore package environments
+  altogether on the command 

commit ghc-cabal-doctest for openSUSE:Factory

2019-08-29 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2019-08-29 17:20:20

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.7948 (New)


Package is "ghc-cabal-doctest"

Thu Aug 29 17:20:20 2019 rev:7 rq:726807 version:1.0.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2018-10-25 08:21:19.191938964 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new.7948/ghc-cabal-doctest.changes
2019-08-29 17:20:22.267338933 +0200
@@ -1,0 +2,9 @@
+Tue Aug 27 02:02:00 UTC 2019 - psim...@suse.com
+
+- Update cabal-doctest to version 1.0.7.
+  # 1.0.7 -- 2019-??-??
+
+  * Make `Distribution.Extra.Doctest` `-Wall`-clean
+  * Support GHC-8.8, base-4.13, and Cabal-3.0
+
+---

Old:

  cabal-doctest-1.0.6.tar.gz
  cabal-doctest.cabal

New:

  cabal-doctest-1.0.7.tar.gz



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.AnlU5x/_old  2019-08-29 17:20:22.727338856 +0200
+++ /var/tmp/diff_new_pack.AnlU5x/_new  2019-08-29 17:20:22.727338856 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cabal-doctest
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,14 +18,13 @@
 
 %global pkg_name cabal-doctest
 Name:   ghc-%{pkg_name}
-Version:1.0.6
+Version:1.0.7
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -51,7 +50,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ cabal-doctest-1.0.6.tar.gz -> cabal-doctest-1.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.6/ChangeLog.md 
new/cabal-doctest-1.0.7/ChangeLog.md
--- old/cabal-doctest-1.0.6/ChangeLog.md2018-01-28 16:56:55.0 
+0100
+++ new/cabal-doctest-1.0.7/ChangeLog.md2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,8 @@
+# 1.0.7 -- 2019-??-??
+
+* Make `Distribution.Extra.Doctest` `-Wall`-clean
+* Support GHC-8.8, base-4.13, and Cabal-3.0
+
 # 1.0.6 -- 2018-01-28
 
 * Hook `haddock` build too. Fixes issue when `haddock` fails, as
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.6/README.md 
new/cabal-doctest-1.0.7/README.md
--- old/cabal-doctest-1.0.6/README.md   2018-01-28 16:56:55.0 +0100
+++ new/cabal-doctest-1.0.7/README.md   2001-09-09 03:46:40.0 +0200
@@ -192,7 +192,7 @@
   `defaultMainAutoconfWithDoctests` function to make custom `Setup.hs` script.
 
 * If you use the default `.` in `hs-source-dirs`, then running `doctests`
-  might fail with weird errors (ambigious module errors). Workaround is
+  might fail with weird errors (ambiguous module errors). Workaround is
   to move sources under `src/` or some non-top-level directory.
 
 * `extensions:` field isn't supported. Upgrade your `.cabal` file to use at 
least
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.6/cabal-doctest.cabal 
new/cabal-doctest-1.0.7/cabal-doctest.cabal
--- old/cabal-doctest-1.0.6/cabal-doctest.cabal 2018-01-28 16:56:55.0 
+0100
+++ new/cabal-doctest-1.0.7/cabal-doctest.cabal 2001-09-09 03:46:40.0 
+0200
@@ -1,5 +1,5 @@
 name:cabal-doctest
-version: 1.0.6
+version: 1.0.7
 synopsis:A Setup.hs helper for doctests running
 description:
   Currently (beginning of 2017), there isn't @cabal doctest@
@@ -27,7 +27,10 @@
   GHC==7.8.4,
   GHC==7.10.3,
   GHC==8.0.2,
-  GHC==8.2.2
+  GHC==8.2.2,
+  GHC==8.4.4,
+  GHC==8.6.5,
+  GHC==8.8.1
 
 source-repository head
   type: git
@@ -38,9 +41,13 @@
   other-modules:
   other-extensions:
   build-depends:
-base >=4.3 && <4.11,
-Cabal >= 1.10 && <2.1,
+base >=4.3 && <4.14,
+Cabal >= 1.10 && <3.1,
 

commit ghc-cabal-doctest for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2018-10-25 08:21:11

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Thu Oct 25 08:21:11 2018 rev:6 rq:643197 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2018-07-24 17:15:34.486774318 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2018-10-25 08:21:19.191938964 +0200
@@ -1,0 +2,5 @@
+Fri Oct 19 13:13:25 UTC 2018 - Peter Simons 
+
+- Update Cabal build instructions to support ghc-8.6.1.
+
+---



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.RJLbR3/_old  2018-10-25 08:21:19.715938729 +0200
+++ /var/tmp/diff_new_pack.RJLbR3/_new  2018-10-25 08:21:19.719938727 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 Group:  Development/Libraries/Haskell
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel

++ cabal-doctest.cabal ++
--- /var/tmp/diff_new_pack.RJLbR3/_old  2018-10-25 08:21:19.747938715 +0200
+++ /var/tmp/diff_new_pack.RJLbR3/_new  2018-10-25 08:21:19.747938715 +0200
@@ -1,6 +1,6 @@
 name:cabal-doctest
 version: 1.0.6
-x-revision:  1
+x-revision:  2
 synopsis:A Setup.hs helper for doctests running
 description:
   Currently (beginning of 2017), there isn't @cabal doctest@
@@ -29,7 +29,8 @@
   GHC==7.10.3,
   GHC==8.0.2,
   GHC==8.2.2,
-  GHC==8.4.1
+  GHC==8.4.3,
+  GHC==8.6.1
 
 source-repository head
   type: git
@@ -40,8 +41,8 @@
   other-modules:
   other-extensions:
   build-depends:
-base >=4.3 && <4.12,
-Cabal >= 1.10 && <2.3,
+base >=4.3 && <4.13,
+Cabal >= 1.10 && <2.5,
 filepath,
 directory
   hs-source-dirs:  src




commit ghc-cabal-doctest for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2018-07-24 17:15:27

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Tue Jul 24 17:15:27 2018 rev:5 rq:623736 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2018-05-30 12:24:57.327012294 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2018-07-24 17:15:34.486774318 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:17 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -36 +41,0 @@
-



Other differences:
--



commit ghc-cabal-doctest for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2018-05-30 12:03:26

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Wed May 30 12:03:26 2018 rev:4 rq:607761 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2017-09-15 21:25:10.458581578 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2018-05-30 12:24:57.327012294 +0200
@@ -1,0 +2,16 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update cabal-doctest to version 1.0.6 revision 1.
+  * Hook `haddock` build too. Fixes issue when `haddock` fails, as
+`Build_doctests` isn't generated.
+
+  * Add a hack so `Build_doctests` module is automatically added to
+to `other-modules` and `autogen-modules` when compiled with Cabal-2.0.
+Thanks to that, we don't get warnings because of `-Wmissing-home-modules`.
+
+  * Add support for doctests in executables and (with `Cabal-2.0` or later)
+internal libraries. Refer to the `README` for more details.
+
+  * Add an explicit `Prelude` import to `Build_doctests`
+
+---

Old:

  cabal-doctest-1.0.2.tar.gz

New:

  cabal-doctest-1.0.6.tar.gz
  cabal-doctest.cabal



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.vtyfmj/_old  2018-05-30 12:24:58.658969242 +0200
+++ /var/tmp/diff_new_pack.vtyfmj/_new  2018-05-30 12:24:58.658969242 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cabal-doctest
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,13 +18,14 @@
 
 %global pkg_name cabal-doctest
 Name:   ghc-%{pkg_name}
-Version:1.0.2
+Version:1.0.6
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 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-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -50,6 +51,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -64,7 +66,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md README.md

++ cabal-doctest-1.0.2.tar.gz -> cabal-doctest-1.0.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.2/ChangeLog.md 
new/cabal-doctest-1.0.6/ChangeLog.md
--- old/cabal-doctest-1.0.2/ChangeLog.md2017-05-16 15:13:14.0 
+0200
+++ new/cabal-doctest-1.0.6/ChangeLog.md2018-01-28 16:56:55.0 
+0100
@@ -1,3 +1,23 @@
+# 1.0.6 -- 2018-01-28
+
+* Hook `haddock` build too. Fixes issue when `haddock` fails, as
+  `Build_doctests` isn't generated.
+
+# 1.0.5 -- 2018-01-26
+
+* Add a hack so `Build_doctests` module is automatically added to
+  to `other-modules` and `autogen-modules` when compiled with Cabal-2.0.
+  Thanks to that, we don't get warnings because of `-Wmissing-home-modules`.
+
+# 1.0.4 -- 2017-12-05
+
+* Add support for doctests in executables and (with `Cabal-2.0` or later)
+  internal libraries. Refer to the `README` for more details.
+
+# 1.0.3 -- 2017-11-02
+
+* Add an explicit `Prelude` import to `Build_doctests`
+
 # 1.0.2 -- 2017-05-16
 
 * Add `defaultMainAutoconfWithDoctests` and `addDoctestsUserHook`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1.0.2/README.md 
new/cabal-doctest-1.0.6/README.md
--- old/cabal-doctest-1.0.2/README.md   2017-05-16 15:13:14.0 +0200
+++ new/cabal-doctest-1.0.6/README.md   2018-01-28 16:56:55.0 +0100
@@ -5,11 +5,13 @@
 
 A `Setup.hs` helper for running `doctests`.
 
-Example Usage
--
+Simple example
+--
 
-See [https://github.com/phadej/cabal-doctest/tree/master/example] for an
-example package. (Note that the example requires `Cabal-1.24` or later, but
+For most use cases—a `.cabal` file with a single library containing

commit ghc-cabal-doctest for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2017-09-15 21:25:09

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Fri Sep 15 21:25:09 2017 rev:3 rq:524246 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2017-06-04 01:57:03.823640475 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2017-09-15 21:25:10.458581578 +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:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.a3ecCN/_old  2017-09-15 21:25:11.510433321 +0200
+++ /var/tmp/diff_new_pack.a3ecCN/_new  2017-09-15 21:25:11.514432757 +0200
@@ -22,14 +22,13 @@
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Currently (beginning of 2017), there isn't 'cabal doctest' command.
@@ -40,7 +39,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -65,11 +64,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-cabal-doctest for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2017-06-04 01:57:02

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Sun Jun  4 01:57:02 2017 rev:2 rq:499689 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cabal-doctest/ghc-cabal-doctest.changes  
2017-02-11 01:42:59.529694740 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2017-06-04 01:57:03.823640475 +0200
@@ -1,0 +2,10 @@
+Mon May 22 08:08:53 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.2 with cabal2obs.
+
+---
+Thu May 18 09:52:24 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.1 with cabal2obs.
+
+---

Old:

  cabal-doctest-1.tar.gz

New:

  cabal-doctest-1.0.2.tar.gz



Other differences:
--
++ ghc-cabal-doctest.spec ++
--- /var/tmp/diff_new_pack.GcOSpl/_old  2017-06-04 01:57:04.311571542 +0200
+++ /var/tmp/diff_new_pack.GcOSpl/_new  2017-06-04 01:57:04.311571542 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name cabal-doctest
 Name:   ghc-%{pkg_name}
-Version:1
+Version:1.0.2
 Release:0
 Summary:A Setup.hs helper for doctests running
 License:BSD-3-Clause

++ cabal-doctest-1.tar.gz -> cabal-doctest-1.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1/ChangeLog.md 
new/cabal-doctest-1.0.2/ChangeLog.md
--- old/cabal-doctest-1/ChangeLog.md2017-01-31 18:30:27.0 +0100
+++ new/cabal-doctest-1.0.2/ChangeLog.md2017-05-16 15:13:14.0 
+0200
@@ -1,3 +1,20 @@
+# 1.0.2 -- 2017-05-16
+
+* Add `defaultMainAutoconfWithDoctests` and `addDoctestsUserHook`.
+
+* Add support for `.hsc` and other preprocessed files
+  ([#8](https://github.com/phadej/cabal-doctest/issues/8))
+
+* Add support for `x-doctest-source-dirs` and `x-doctest-modules`.
+
+# 1.0.1 -- 2017-05-05
+
+* Add support for `x-doctest-options` cabal-file field
+
+* Proper support for GHC-8.2.1 & Cabal-2.0.0.0
+
+* Add support to `default-extensions` in library.
+
 # 1  -- 2017-01-31
 
 * First version. Released on an unsuspecting world.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-doctest-1/README.md 
new/cabal-doctest-1.0.2/README.md
--- old/cabal-doctest-1/README.md   2017-01-31 18:30:27.0 +0100
+++ new/cabal-doctest-1.0.2/README.md   2017-05-16 15:13:14.0 +0200
@@ -1,12 +1,17 @@
 cabal-doctest
--
+=
 
 
[![Hackage](https://img.shields.io/hackage/v/cabal-doctest.svg)](https://hackage.haskell.org/package/cabal-doctest)
 [![Build 
Status](https://travis-ci.org/phadej/cabal-doctest.svg?branch=master)](https://travis-ci.org/phadej/cabal-doctest)
 
 A `Setup.hs` helper for running `doctests`.
 
 Example Usage
-=
+-
+
+See [https://github.com/phadej/cabal-doctest/tree/master/example] for an
+example package. (Note that the example requires `Cabal-1.24` or later, but
+you can relax this bound safely, although running doctests won't be supported
+on versions of `Cabal` older than 1.24.)
 
 To use this library in your `Setup.hs`, you should specify a `custom-setup`
 section in your `.cabal` file. For example:
@@ -15,9 +20,13 @@
 custom-setup
  setup-depends:
base >= 4 && <5,
+   Cabal,
cabal-doctest >= 1 && <1.1
 ```
 
+/Note:/ `Cabal` dependency is needed because of
+[Cabal/GH-4288](https://github.com/haskell/cabal/issues/4288) bug.
+
 You'll also need to specify `build-type: Custom` at the top of the `.cabal`
 file. Now put this into your `Setup.hs` file:
 
@@ -38,7 +47,7 @@
 
 import Build_doctests (flags, pkgs, module_sources)
 import Data.Foldable (traverse_)
-import Test.Doctest (doctest)
+import Test.DocTest (doctest)
 
 main :: IO ()
 main = do
@@ -48,8 +57,30 @@
 args = flags ++ pkgs ++ module_sources
 ```
 
+Additional configuration
+
+
+The `cabal-doctest` based `Setup.hs` supports few extensions fields
+in `pkg.cabal` files to customise the `doctest` runner behaviour, without
+customising the default `doctest.hs`.
+
+```
+test-suite doctests:
+  if impl(ghc >= 8.0)
+x-doctest-options: -fdiagnostics-color=never
+  x-doctest-source-dirs: test
+  x-doctest-modules: Servant.Utils.LinksSpec
+
+  ...
+ ```
+
+* `x-doctest-options` Additional arguments passed into `doctest` command.
+* `x-doctest-modules` Additional modules to `doctest`. May be useful if you
+  have `doctest` 

commit ghc-cabal-doctest for openSUSE:Factory

2017-02-10 Thread root
Hello community,

here is the log from the commit of package ghc-cabal-doctest for 
openSUSE:Factory checked in at 2017-02-11 01:42:59

Comparing /work/SRC/openSUSE:Factory/ghc-cabal-doctest (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new (New)


Package is "ghc-cabal-doctest"

Changes:

New Changes file:

--- /dev/null   2017-01-26 09:49:33.150892021 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cabal-doctest.new/ghc-cabal-doctest.changes 
2017-02-11 01:42:59.529694740 +0100
@@ -0,0 +1,5 @@
+---
+Sun Feb  5 19:32:28 UTC 2017 - psim...@suse.com
+
+- Update to version 1 with cabal2obs.
+

New:

  cabal-doctest-1.tar.gz
  ghc-cabal-doctest.changes
  ghc-cabal-doctest.spec



Other differences:
--
++ ghc-cabal-doctest.spec ++
#
# spec file for package ghc-cabal-doctest
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name cabal-doctest
Name:   ghc-%{pkg_name}
Version:1
Release:0
Summary:A Setup.hs helper for doctests running
License:BSD-3-Clause
Group:  Development/Languages/Other
Url:https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-directory-devel
BuildRequires:  ghc-filepath-devel
BuildRequires:  ghc-rpm-macros
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
Currently (beginning of 2017), there isn't 'cabal doctest' command.
Yet, to properly work doctest needs plenty of configuration. This library
provides the common bits for writing custom Setup.hs See
 for the progress of
'cabal doctest', i.e. whether this library is obsolete.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Other
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}

%build
%ghc_lib_build

%install
%ghc_lib_install

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc ChangeLog.md README.md

%changelog