From 3302827a718bd59d0e795e5391c0a5caab54fc3613b11123ee725c77c71a2ca1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 Sep 2020 09:48:09 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-pretty-simple revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=5 --- ghc-pretty-simple.changes | 22 ++++++++++++++++++++++ ghc-pretty-simple.spec | 5 +++-- pretty-simple-3.3.0.0.tar.gz | 3 --- pretty-simple-4.0.0.0.tar.gz | 3 +++ 4 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 pretty-simple-3.3.0.0.tar.gz create mode 100644 pretty-simple-4.0.0.0.tar.gz diff --git a/ghc-pretty-simple.changes b/ghc-pretty-simple.changes index 2f8bbe2..1e9a4dc 100644 --- a/ghc-pretty-simple.changes +++ b/ghc-pretty-simple.changes @@ -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 diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec index bb34c56..bf86393 100644 --- a/ghc-pretty-simple.spec +++ b/ghc-pretty-simple.spec @@ -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 diff --git a/pretty-simple-3.3.0.0.tar.gz b/pretty-simple-3.3.0.0.tar.gz deleted file mode 100644 index cfe7f9f..0000000 --- a/pretty-simple-3.3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d01637fcfb61911bdd7e85127d79a3e862634c05b5402a3ec64ce36b5149033d -size 41192 diff --git a/pretty-simple-4.0.0.0.tar.gz b/pretty-simple-4.0.0.0.tar.gz new file mode 100644 index 0000000..a72882a --- /dev/null +++ b/pretty-simple-4.0.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb +size 39887