Accepting request 835956 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/835956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pretty-simple?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-09-27 09:49:06 +00:00 committed by Git OBS Bridge
commit 800c8baa12
4 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Sep 15 02:37:00 UTC 2020 - psimons@suse.com
- Update pretty-simple to version 4.0.0.0.
## 4.0.0.0
* Expand `OutputOptions`:
* Compactness, including grouping of parentheses.
[#72](https://github.com/cdepillabout/pretty-simple/pull/72)
* Page width, affecting when lines are grouped if compact output is enabled.
[#72](https://github.com/cdepillabout/pretty-simple/pull/72)
* Indent whole expression. Useful when using `pretty-simple` for one part
of a larger output.
[#71](https://github.com/cdepillabout/pretty-simple/pull/71)
* Use `Style` type for easier configuration of colour, boldness etc.
[#73](https://github.com/cdepillabout/pretty-simple/pull/73)
* Significant internal rewrite of printing code, to make use of the [prettyprinter](https://hackage.haskell.org/package/prettyprinter)
library. The internal function `layoutString` can be used to integrate with
other `prettyprinter` backends, such as [prettyprinter-lucid](https://hackage.haskell.org/package/prettyprinter-lucid)
for HTML output.
[#67](https://github.com/cdepillabout/pretty-simple/pull/67)
-------------------------------------------------------------------
Tue Aug 18 10:45:46 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -19,17 +19,18 @@
%global pkg_name pretty-simple
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 3.3.0.0
Version: 4.0.0.0
Release: 0
Summary: Pretty printer for data types with a 'Show' instance
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-cabal-doctest-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-prettyprinter-ansi-terminal-devel
BuildRequires: ghc-prettyprinter-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-transformers-devel

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d01637fcfb61911bdd7e85127d79a3e862634c05b5402a3ec64ce36b5149033d
size 41192

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb
size 39887