commit ghc-show-prettyprint for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-show-prettyprint for 
openSUSE:Factory checked in at 2017-09-15 22:12:31

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


Package is "ghc-show-prettyprint"

Fri Sep 15 22:12:31 2017 rev:4 rq:525377 version:0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-show-prettyprint/ghc-show-prettyprint.changes
2017-08-31 20:59:37.480767187 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new/ghc-show-prettyprint.changes
   2017-09-15 22:12:32.498110834 +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-show-prettyprint.spec ++
--- /var/tmp/diff_new_pack.vDOZMD/_old  2017-09-15 22:12:33.293998712 +0200
+++ /var/tmp/diff_new_pack.vDOZMD/_new  2017-09-15 22:12:33.293998712 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Robust prettyprinter for output of auto-generated Show 
instances
 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
 Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
@@ -32,7 +32,6 @@
 BuildRequires:  ghc-prettyprinter-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-trifecta-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-doctest-devel
 %endif
@@ -42,7 +41,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}
@@ -72,11 +71,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE.md
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog




commit ghc-show-prettyprint for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-show-prettyprint for 
openSUSE:Factory checked in at 2017-08-31 20:59:36

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


Package is "ghc-show-prettyprint"

Thu Aug 31 20:59:36 2017 rev:3 rq:513495 version:0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-show-prettyprint/ghc-show-prettyprint.changes
2017-06-22 10:38:59.401490746 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new/ghc-show-prettyprint.changes
   2017-08-31 20:59:37.480767187 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:44 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2 revision 1.
+
+---

Old:

  show-prettyprint-0.1.2.1.tar.gz

New:

  show-prettyprint-0.2.tar.gz
  show-prettyprint.cabal



Other differences:
--
++ ghc-show-prettyprint.spec ++
--- /var/tmp/diff_new_pack.YWOK1m/_old  2017-08-31 20:59:38.816579502 +0200
+++ /var/tmp/diff_new_pack.YWOK1m/_new  2017-08-31 20:59:38.844575569 +0200
@@ -19,15 +19,17 @@
 %global pkg_name show-prettyprint
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.2.1
+Version:0.2
 Release:0
 Summary:Robust prettyprinter for output of auto-generated Show 
instances
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-wl-pprint-devel
+BuildRequires:  ghc-prettyprinter-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-trifecta-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -52,6 +54,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -74,6 +77,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGELOG.md README.md
 
 %changelog

++ show-prettyprint-0.1.2.1.tar.gz -> show-prettyprint-0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/show-prettyprint-0.1.2.1/CHANGELOG.md 
new/show-prettyprint-0.2/CHANGELOG.md
--- old/show-prettyprint-0.1.2.1/CHANGELOG.md   1970-01-01 01:00:00.0 
+0100
+++ new/show-prettyprint-0.2/CHANGELOG.md   2017-06-01 17:17:24.0 
+0200
@@ -0,0 +1,5 @@
+# 0.2
+
+Prettyprint based on the `prettyprinter` library, instead of `ansi-wl-pprint`.
+To support the `Diagnostic` module, the Trifecta-generated `Doc` has to be
+rendered still, so we cannot drop the dependency on ansi-wl-pprint just yet.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/show-prettyprint-0.1.2.1/show-prettyprint.cabal 
new/show-prettyprint-0.2/show-prettyprint.cabal
--- old/show-prettyprint-0.1.2.1/show-prettyprint.cabal 2017-06-01 
15:26:58.0 +0200
+++ new/show-prettyprint-0.2/show-prettyprint.cabal 2017-06-01 
17:17:46.0 +0200
@@ -1,5 +1,5 @@
 name:show-prettyprint
-version: 0.1.2.1
+version: 0.2
 synopsis:Robust prettyprinter for output of auto-generated Show
  instances
 description: See README.md
@@ -12,6 +12,7 @@
 category:User Interfaces, Text
 build-type:  Simple
 extra-source-files:  README.md
+   , CHANGELOG.md
, .stylish-haskell.yaml
 cabal-version:   >=1.10
 
@@ -22,9 +23,9 @@
  , Text.Show.Prettyprint.Internal
   build-depends:   base >= 4.7 && < 5
  , trifecta >= 1.6
+ , prettyprinter < 1.1
 
- -- Transitive dependency of Trifecta, so let the
- -- version be sorted out by that
+ -- Transitive dep of Trifecta, figure it out via that one
  , ansi-wl-pprint
   ghc-options: -Wall
   default-language:Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/show-prettyprint-0.1.2.1/src/Text/Show/Prettyprint/Diagnostic.hs 
new/show-prettyprint-0.2/src/Text/Show/Prettyprint/Diagnostic.hs
--- old/show-prettyprint-0.1.2.1/src/Text/Show/Prettyprint/Diagnostic.hs
2016-11-14 10:51:47.0 +0100
+++ new/show-prettyprint-0.2/src/Text/Show/Prettyprint/Diagnostic.hs
2017-06-01 17:13:04.0 +0200

commit ghc-show-prettyprint for openSUSE:Factory

2017-06-22 Thread root
Hello community,

here is the log from the commit of package ghc-show-prettyprint for 
openSUSE:Factory checked in at 2017-06-22 10:38:56

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


Package is "ghc-show-prettyprint"

Thu Jun 22 10:38:56 2017 rev:2 rq:504101 version:0.1.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-show-prettyprint/ghc-show-prettyprint.changes
2017-04-11 09:48:10.395568258 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new/ghc-show-prettyprint.changes
   2017-06-22 10:38:59.401490746 +0200
@@ -1,0 +2,5 @@
+Thu Jun  8 11:08:18 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.2.1.
+
+---

Old:

  show-prettyprint-0.1.2.tar.gz

New:

  show-prettyprint-0.1.2.1.tar.gz



Other differences:
--
++ ghc-show-prettyprint.spec ++
--- /var/tmp/diff_new_pack.JAhk47/_old  2017-06-22 10:39:00.153384741 +0200
+++ /var/tmp/diff_new_pack.JAhk47/_new  2017-06-22 10:39:00.157384177 +0200
@@ -19,7 +19,7 @@
 %global pkg_name show-prettyprint
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.2
+Version:0.1.2.1
 Release:0
 Summary:Robust prettyprinter for output of auto-generated Show 
instances
 License:BSD-3-Clause

++ show-prettyprint-0.1.2.tar.gz -> show-prettyprint-0.1.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/show-prettyprint-0.1.2/README.md 
new/show-prettyprint-0.1.2.1/README.md
--- old/show-prettyprint-0.1.2/README.md2016-11-14 17:12:04.0 
+0100
+++ new/show-prettyprint-0.1.2.1/README.md  2017-06-01 15:21:44.0 
+0200
@@ -37,3 +37,20 @@
,-1.2e34)
  ,r2 = 123}))]
 ```
+
+Related packages
+
+
+There is a similar package on Hackage called *[pretty-show][1]*, which takes a
+more flexible approach to prettyprinting show-formatted strings. This has its
+advantages and disadvantages.
+
+| prettyprint-show (this)| [pretty-show][1] 
(alternative)
+- | -- | 
-
+Use case  | fire and forget, debugging | flexible, working with 
the output
+API   | One core value (rest: convenience) | Multiple combinable values
+Extensibility | low, not intended  | decent, e.g. HTML 
rendering
+Robustness| high: only cares about parentheses, bugs in bad output can be 
hacked around | medium: relies on output that follows Haskell's lexical 
structure
+
+
+[1]: http://hackage.haskell.org/package/pretty-show
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/show-prettyprint-0.1.2/show-prettyprint.cabal 
new/show-prettyprint-0.1.2.1/show-prettyprint.cabal
--- old/show-prettyprint-0.1.2/show-prettyprint.cabal   2016-11-14 
17:12:04.0 +0100
+++ new/show-prettyprint-0.1.2.1/show-prettyprint.cabal 2017-06-01 
15:26:58.0 +0200
@@ -1,5 +1,5 @@
 name:show-prettyprint
-version: 0.1.2
+version: 0.1.2.1
 synopsis:Robust prettyprinter for output of auto-generated Show
  instances
 description: See README.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/show-prettyprint-0.1.2/test/Doctest/Main.hs 
new/show-prettyprint-0.1.2.1/test/Doctest/Main.hs
--- old/show-prettyprint-0.1.2/test/Doctest/Main.hs 2016-11-12 
13:14:27.0 +0100
+++ new/show-prettyprint-0.1.2.1/test/Doctest/Main.hs   2017-06-01 
15:28:36.0 +0200
@@ -3,4 +3,4 @@
 import Test.DocTest
 
 main :: IO ()
-main = doctest ["src"]
+main = doctest ["src", "-ignore-package prettyprinter-compat-ansi-wl-pprint"]




commit ghc-show-prettyprint for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package ghc-show-prettyprint for 
openSUSE:Factory checked in at 2017-04-11 09:48:09

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


Package is "ghc-show-prettyprint"

Tue Apr 11 09:48:09 2017 rev:1 rq:486501 version:0.1.2

Changes:

New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new/ghc-show-prettyprint.changes
   2017-04-11 09:48:10.395568258 +0200
@@ -0,0 +1,5 @@
+---
+Sun Feb 12 09:46:06 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.2 with cabal2obs.
+

New:

  ghc-show-prettyprint.changes
  ghc-show-prettyprint.spec
  show-prettyprint-0.1.2.tar.gz



Other differences:
--
++ ghc-show-prettyprint.spec ++
#
# spec file for package ghc-show-prettyprint
#
# 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 show-prettyprint
%bcond_with tests
Name:   ghc-%{pkg_name}
Version:0.1.2
Release:0
Summary:Robust prettyprinter for output of auto-generated Show instances
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-ansi-wl-pprint-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-trifecta-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires:  ghc-doctest-devel
%endif

%description
Robust prettyprinter for output of auto-generated Show instances.

%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

%check
%cabal_test

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

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

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

%changelog