Hello community,

here is the log from the commit of package ghc-ansi-wl-pprint for 
openSUSE:Factory checked in at 2019-02-17 12:20:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-ansi-wl-pprint (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-ansi-wl-pprint.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-ansi-wl-pprint"

Sun Feb 17 12:20:50 2019 rev:7 rq:674875 version:0.6.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-ansi-wl-pprint/ghc-ansi-wl-pprint.changes    
2018-10-25 08:22:18.939912146 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-ansi-wl-pprint.new.28833/ghc-ansi-wl-pprint.changes
 2019-02-17 12:20:50.844208706 +0100
@@ -1,0 +2,5 @@
+Thu Feb 14 08:15:41 UTC 2019 - Peter Simons <[email protected]>
+
+- Update Cabal file to support ansi-terminal version 0.9.x.
+
+-------------------------------------------------------------------

New:
----
  ansi-wl-pprint.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-ansi-wl-pprint.spec ++++++
--- /var/tmp/diff_new_pack.P2PRmG/_old  2019-02-17 12:20:51.300208580 +0100
+++ /var/tmp/diff_new_pack.P2PRmG/_new  2019-02-17 12:20:51.300208580 +0100
@@ -25,6 +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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
 BuildRequires:  ghc-rpm-macros
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ ansi-wl-pprint.cabal ++++++
name:                ansi-wl-pprint
version:             0.6.8.2
x-revision: 1
cabal-version:       >= 1.10
category:            User Interfaces, Text
synopsis:            The Wadler/Leijen Pretty Printer for colored ANSI terminal 
output
description:         {

This is a pretty printing library based on Wadler's paper ["A Prettier 
Printer"](https://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf). 
It has been enhanced with support for ANSI terminal colored output using the 
[ansi-terminal](https://hackage.haskell.org/package/ansi-terminal) package.

}
license:             BSD3
license-file:        LICENSE
extra-source-files:  README.md Changelog.md
author:              Daan Leijen, Max Bolingbroke
maintainer:          Edward Kmett <[email protected]>
bug-reports:         http://github.com/ekmett/ansi-wl-pprint/issues
homepage:            http://github.com/ekmett/ansi-wl-pprint
build-type:          Simple
tested-with:         GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, 
GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.3

source-repository head
  type: git
  location: https://github.com/ekmett/ansi-wl-pprint.git

flag Example
  description:    Build the example application
  default:        False
  manual:         True

library
  default-language: Haskell2010
  hs-source-dirs: .
  exposed-modules: Text.PrettyPrint.ANSI.Leijen
                 , Text.PrettyPrint.ANSI.Leijen.Internal
  ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-matches

  -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
  if impl(ghc >= 8.0)
    ghc-options: -Wcompat -Wnoncanonical-monad-instances 
-Wnoncanonical-monadfail-instances
  else
    -- see also notes in Text.PrettyPrint.ANSI.Leijen
    build-depends: semigroups >= 0.1 && < 0.19

  build-depends: ansi-terminal >= 0.4.0 && < 0.10
  build-depends: base >= 4.5 && < 5

executable ansi-wl-pprint-example
  default-language: Haskell2010
  hs-source-dirs: src-exe
  main-is: Example.hs

  if flag(example)
    build-depends: ansi-wl-pprint
    -- dependencies whose constraints are inherited via lib:ansi-wl-pprint
    build-depends: base, ansi-terminal
  else
    buildable: False

Reply via email to