commit cabal-plan for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package cabal-plan for openSUSE:Factory 
checked in at 2020-10-23 15:13:16

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


Package is "cabal-plan"

Fri Oct 23 15:13:16 2020 rev:3 rq:842734 version:0.7.2.0

Changes:

--- /work/SRC/openSUSE:Factory/cabal-plan/cabal-plan.changes2020-09-15 
16:20:16.170136052 +0200
+++ /work/SRC/openSUSE:Factory/.cabal-plan.new.3463/cabal-plan.changes  
2020-10-23 15:13:21.290105504 +0200
@@ -1,0 +2,9 @@
+Mon Oct 19 02:00:56 UTC 2020 - psim...@suse.com
+
+- Update cabal-plan to version 0.7.2.0.
+  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-plan-0.7.2.0/src/ChangeLog.md
+
+---

Old:

  cabal-plan-0.7.1.0.tar.gz

New:

  cabal-plan-0.7.2.0.tar.gz



Other differences:
--
++ cabal-plan.spec ++
--- /var/tmp/diff_new_pack.hctOkE/_old  2020-10-23 15:13:22.342106011 +0200
+++ /var/tmp/diff_new_pack.hctOkE/_new  2020-10-23 15:13:22.346106013 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name cabal-plan
 Name:   %{pkg_name}
-Version:0.7.1.0
+Version:0.7.2.0
 Release:0
 Summary:Library and utility for processing cabal's plan.json file
 License:GPL-2.0-or-later

++ cabal-plan-0.7.1.0.tar.gz -> cabal-plan-0.7.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.1.0/ChangeLog.md 
new/cabal-plan-0.7.2.0/ChangeLog.md
--- old/cabal-plan-0.7.1.0/ChangeLog.md 2001-09-09 03:46:40.0 +0200
+++ new/cabal-plan-0.7.2.0/ChangeLog.md 2001-09-09 03:46:40.0 +0200
@@ -1,11 +1,26 @@
 # Revision history for `cabal-plan`
 
+## 0.7.2.0
+
+### `exe:cabal-plan` Executable
+
+* Use `cabal-install-parsers` to find and parse `~/cabal/config`
+* Fix ascii/unicode output in `tred`
+* Add flags to hide setup and executable components in dot command
+* Update dependencies (support `base16-bytestring-1.0.0.0`)
+
+### Library
+
+* Update dependencies (support `base16-bytestring-1.0.0.0`)
+
 ## 0.7.1.0
 
 ### `exe:cabal-plan` Executable
 
 * Add `--ascii` / `--unicode` flags to control output character set
 * Add `dot-png` command as a version of `dot` command with different defaults
+* Use `cabal-install-parsers`,
+  this makes `license-report` work with non-default configurations
 
 ## 0.7.0.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.1.0/cabal-plan.cabal 
new/cabal-plan-0.7.2.0/cabal-plan.cabal
--- old/cabal-plan-0.7.1.0/cabal-plan.cabal 2001-09-09 03:46:40.0 
+0200
+++ new/cabal-plan-0.7.2.0/cabal-plan.cabal 2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,6 @@
 cabal-version:   2.2
 name:cabal-plan
-version: 0.7.1.0
+version: 0.7.2.0
 
 synopsis:Library and utility for processing cabal's plan.json file
 description: {
@@ -84,7 +84,7 @@
  , text  ^>= 1.2.2
  , directory ^>= 1.2.0 || ^>= 1.3.0
  , filepath  ^>= 1.3.0 || ^>= 1.4.0
- , base16-bytestring ^>= 0.1.1
+ , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0.0
 
   hs-source-dirs:  src
 
@@ -128,7 +128,8 @@
  , vector ^>= 0.12.0.1
 
 if flag(license-report)
-  build-depends: Cabal^>= 2.2.0.1 || ^>= 2.4.0.1 || ^>= 3.0.0.0 || 
^>=3.2.0.0
+  build-depends: Cabal^>=3.2.0.0
+   , cabal-install-parsers ^>=0.3.0.1 || ^>=0.4
, tar  ^>= 0.5.1.0
, zlib ^>= 0.6.2
, filepath ^>= 1.4.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.1.0/src/Cabal/Plan.hs 
new/cabal-plan-0.7.2.0/src/Cabal/Plan.hs
--- old/cabal-plan-0.7.1.0/src/Cabal/Plan.hs2001-09-09 03:46:40.0 
+0200
+++ new/cabal-plan-0.7.2.0/src/Cabal/Plan.hs2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP#-}
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE OverloadedStrings  #-}
 {-# LANGUAGE RecordWildCards#-}
@@ -579,10 +580,16 @@
 -- @since 0.3.0.0
 parseSha256 :: Text -> Maybe Sha256
 parseSha256 t
+#if MIN_VERSION_base16_bytestring(1,0,0)
+  = case B16.decode (T.encodeUtf8 t) of
+  Right s | B.length s == 32 -> Just (Sha256 s)
+  

commit cabal-plan for openSUSE:Factory

2020-09-15 Thread root
Hello community,

here is the log from the commit of package cabal-plan for openSUSE:Factory 
checked in at 2020-09-15 16:20:09

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


Package is "cabal-plan"

Tue Sep 15 16:20:09 2020 rev:2 rq:833301 version:0.7.1.0

Changes:

--- /work/SRC/openSUSE:Factory/cabal-plan/cabal-plan.changes2020-09-07 
21:23:09.893044887 +0200
+++ /work/SRC/openSUSE:Factory/.cabal-plan.new.4249/cabal-plan.changes  
2020-09-15 16:20:16.170136052 +0200
@@ -1,0 +2,9 @@
+Wed Sep  9 02:00:42 UTC 2020 - psim...@suse.com
+
+- Update cabal-plan to version 0.7.1.0.
+  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-plan-0.7.1.0/src/ChangeLog.md
+
+---

Old:

  cabal-plan-0.7.0.0.tar.gz
  cabal-plan.cabal

New:

  cabal-plan-0.7.1.0.tar.gz



Other differences:
--
++ cabal-plan.spec ++
--- /var/tmp/diff_new_pack.c5g5Kr/_old  2020-09-15 16:20:17.878137687 +0200
+++ /var/tmp/diff_new_pack.c5g5Kr/_new  2020-09-15 16:20:17.882137691 +0200
@@ -18,13 +18,12 @@
 
 %global pkg_name cabal-plan
 Name:   %{pkg_name}
-Version:0.7.0.0
+Version:0.7.1.0
 Release:0
 Summary:Library and utility for processing cabal's plan.json file
 License:GPL-2.0-or-later
 URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{name}-%{version}/revision/2.cabal#/%{name}.cabal
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
@@ -99,8 +98,6 @@
 
 %prep
 %autosetup
-find . -type f -exec chmod -x {} +
-cp -p %{SOURCE1} %{name}.cabal
 
 %build
 %ghc_lib_build

++ cabal-plan-0.7.0.0.tar.gz -> cabal-plan-0.7.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.0.0/ChangeLog.md 
new/cabal-plan-0.7.1.0/ChangeLog.md
--- old/cabal-plan-0.7.0.0/ChangeLog.md 2001-09-09 03:46:40.0 +0200
+++ new/cabal-plan-0.7.1.0/ChangeLog.md 2001-09-09 03:46:40.0 +0200
@@ -1,8 +1,15 @@
 # Revision history for `cabal-plan`
 
+## 0.7.1.0
+
+### `exe:cabal-plan` Executable
+
+* Add `--ascii` / `--unicode` flags to control output character set
+* Add `dot-png` command as a version of `dot` command with different defaults
+
 ## 0.7.0.0
 
-### `lib:cabal-plan` Libraru
+### `lib:cabal-plan` Library
 
 * Support `local+noindex` style repositories: New `Repo` constructor: 
`RepoLocalNoIndex`.
 * Support newer versions of dependencies (GHC-8.10, aeson-1.5, optics-core-0.3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.0.0/cabal-plan.cabal 
new/cabal-plan-0.7.1.0/cabal-plan.cabal
--- old/cabal-plan-0.7.0.0/cabal-plan.cabal 2001-09-09 03:46:40.0 
+0200
+++ new/cabal-plan-0.7.1.0/cabal-plan.cabal 2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,6 @@
 cabal-version:   2.2
 name:cabal-plan
-version: 0.7.0.0
+version: 0.7.1.0
 
 synopsis:Library and utility for processing cabal's plan.json file
 description: {
@@ -38,8 +38,8 @@
 build-type:  Simple
 
 tested-with:
-  GHC==8.10.1
-  GHC==8.8.3,
+  GHC==8.10.2,
+  GHC==8.8.4,
   GHC==8.6.5,
   GHC==8.4.4,
   GHC==8.2.2,
@@ -97,7 +97,9 @@
   hs-source-dirs: src-exe
   main-is: cabal-plan.hs
   other-modules: Paths_cabal_plan LicenseReport Flag ProcessLazyByteString
+  other-modules: CText
   autogen-modules: Paths_cabal_plan
+  ghc-options: -Wall
 
   if flag(exe)
 -- dependencies w/ inherited version ranges via 'cabal-plan' library
@@ -112,15 +114,15 @@
 -- dependencies which require version bounds
 build-depends: mtl^>= 2.2.2
  , async  ^>= 2.2.2
- , ansi-terminal  ^>=0.10
+ , ansi-terminal  ^>=0.10 || ^>=0.11
  , base-compat^>=0.11
  , optics-core^>= 0.2 || ^>= 0.3
- , optparse-applicative ^>= 0.15.0.0
+ , optparse-applicative ^>= 0.15.0.0 || ^>=0.16.0.0
  , parsec ^>= 3.1.13
  , process^>= 1.4.3.0 || ^>=1.6.3.0
  , semialign  ^>= 1.1
  , singleton-bool ^>= 0.1.5
- , these  ^>= 1
+ , these  ^>= 1 || ^>=1.1