commit ghc-megaparsec for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2020-11-06 23:45:39

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


Package is "ghc-megaparsec"

Fri Nov  6 23:45:39 2020 rev:11 rq:846482 version:9.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2020-09-27 11:48:58.987992164 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.11331/ghc-megaparsec.changes 
2020-11-06 23:46:39.471083980 +0100
@@ -1,0 +2,10 @@
+Fri Oct 30 13:44:20 UTC 2020 - psim...@suse.com
+
+- Update megaparsec to version 9.0.1.
+  ## Megaparsec 9.0.1
+
+  * Added [Safe
+
Haskell](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/safe_haskell.html)
+support.
+
+---

Old:

  megaparsec-9.0.0.tar.gz

New:

  megaparsec-9.0.1.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.WAPdel/_old  2020-11-06 23:46:40.011082942 +0100
+++ /var/tmp/diff_new_pack.WAPdel/_new  2020-11-06 23:46:40.015082934 +0100
@@ -18,7 +18,7 @@
 
 %global pkg_name megaparsec
 Name:   ghc-%{pkg_name}
-Version:9.0.0
+Version:9.0.1
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause

++ megaparsec-9.0.0.tar.gz -> megaparsec-9.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/CHANGELOG.md 
new/megaparsec-9.0.1/CHANGELOG.md
--- old/megaparsec-9.0.0/CHANGELOG.md   2001-09-09 03:46:40.0 +0200
+++ new/megaparsec-9.0.1/CHANGELOG.md   2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,9 @@
+## Megaparsec 9.0.1
+
+* Added [Safe
+  
Haskell](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/safe_haskell.html)
+  support.
+
 ## Megaparsec 9.0.0
 
 * Split the `Stream` type class. The methods `showTokens` and `tokensLength`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/Text/Megaparsec/Byte/Lexer.hs 
new/megaparsec-9.0.1/Text/Megaparsec/Byte/Lexer.hs
--- old/megaparsec-9.0.0/Text/Megaparsec/Byte/Lexer.hs  2001-09-09 
03:46:40.0 +0200
+++ new/megaparsec-9.0.1/Text/Megaparsec/Byte/Lexer.hs  2001-09-09 
03:46:40.0 +0200
@@ -1,4 +1,5 @@
 {-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE TypeFamilies #-}
 
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/Text/Megaparsec/Byte.hs 
new/megaparsec-9.0.1/Text/Megaparsec/Byte.hs
--- old/megaparsec-9.0.0/Text/Megaparsec/Byte.hs2001-09-09 
03:46:40.0 +0200
+++ new/megaparsec-9.0.1/Text/Megaparsec/Byte.hs2001-09-09 
03:46:40.0 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE Safe #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE TypeFamilies #-}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/Text/Megaparsec/Char/Lexer.hs 
new/megaparsec-9.0.1/Text/Megaparsec/Char/Lexer.hs
--- old/megaparsec-9.0.0/Text/Megaparsec/Char/Lexer.hs  2001-09-09 
03:46:40.0 +0200
+++ new/megaparsec-9.0.1/Text/Megaparsec/Char/Lexer.hs  2001-09-09 
03:46:40.0 +0200
@@ -1,6 +1,7 @@
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE MultiWayIf #-}
 {-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE TypeFamilies #-}
 
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/Text/Megaparsec/Char.hs 
new/megaparsec-9.0.1/Text/Megaparsec/Char.hs
--- old/megaparsec-9.0.0/Text/Megaparsec/Char.hs2001-09-09 
03:46:40.0 +0200
+++ new/megaparsec-9.0.1/Text/Megaparsec/Char.hs2001-09-09 
03:46:40.0 +0200
@@ -1,5 +1,6 @@
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE Safe #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE TypeFamilies #-}
 
@@ -118,7 +119,7 @@
 
 -- | Like 'space1', but does not accept newlines and carriage returns.
 --
--- @since 8.0.0
+-- @since 9.0.0
 hspace1 :: (MonadParsec e s m, Token s ~ Char) => m ()
 hspace1 = void $ takeWhile1P (Just "white space") isHSpace
 {-# INLINE hspace1 #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-9.0.0/Text/Megaparsec/Class.hs 
new/megaparsec-9.0.1/Text/Megaparsec/Class.hs
--- old/megaparsec-9.0.0/Text/Megaparsec/Class.hs   2001-09-09 
03:46:40.0 +0200
+++ new/megaparsec-9.0.1/Text/Megaparsec/Class.hs   

commit ghc-megaparsec for openSUSE:Factory

2020-09-27 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2020-09-27 11:48:57

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


Package is "ghc-megaparsec"

Sun Sep 27 11:48:57 2020 rev:10 rq:835600 version:9.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2020-08-28 21:34:48.716707710 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.4249/ghc-megaparsec.changes  
2020-09-27 11:48:58.987992164 +0200
@@ -1,0 +2,9 @@
+Sat Sep 12 16:31:35 UTC 2020 - psim...@suse.com
+
+- Update megaparsec to version 9.0.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/megaparsec-9.0.0/src/CHANGELOG.md
+
+---

Old:

  megaparsec-8.0.0.tar.gz

New:

  megaparsec-9.0.0.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.d51EN1/_old  2020-09-27 11:48:59.607992831 +0200
+++ /var/tmp/diff_new_pack.d51EN1/_new  2020-09-27 11:48:59.611992836 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name megaparsec
 Name:   ghc-%{pkg_name}
-Version:8.0.0
+Version:9.0.0
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause

++ megaparsec-8.0.0.tar.gz -> megaparsec-9.0.0.tar.gz ++
 7012 lines of diff (skipped)




commit ghc-megaparsec for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2020-08-28 21:34:48

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


Package is "ghc-megaparsec"

Fri Aug 28 21:34:48 2020 rev:9 rq:829343 version:8.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2020-06-19 17:15:21.926520654 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.3399/ghc-megaparsec.changes  
2020-08-28 21:34:48.716707710 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:24 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.oPFOwm/_old  2020-08-28 21:34:49.284707979 +0200
+++ /var/tmp/diff_new_pack.oPFOwm/_new  2020-08-28 21:34:49.288707981 +0200
@@ -52,7 +52,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-megaparsec for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2020-06-19 17:15:13

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


Package is "ghc-megaparsec"

Fri Jun 19 17:15:13 2020 rev:8 rq:815129 version:8.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2019-12-27 13:55:05.116708077 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.3606/ghc-megaparsec.changes  
2020-06-19 17:15:21.926520654 +0200
@@ -2 +2 @@
-Fri Nov  8 16:14:11 UTC 2019 - Peter Simons 
+Tue Jun  9 09:26:20 UTC 2020 - psim...@suse.com
@@ -4 +4 @@
-- Drop obsolete group attributes.
+- Add megaparsec at version 8.0.0.
@@ -6,249 +5,0 @@

-Fri Nov  8 03:01:43 UTC 2019 - psim...@suse.com
-
-- Update megaparsec to version 8.0.0.
-  ## Megaparec 8.0.0
-
-  * The methods `failure` and `fancyFailure` of `MonadParsec` are now ordinary
-functions and live in `Text.Megaparsec`. They are defined in terms of the
-new `parseError` method of `MonadParsec`. This method allows us to signal
-parse errors at a given offset without manipulating parser state manually.
-
-  * Megaparsec now supports registration of “delayed” parse errors. On lower
-level we added a new field called `stateParseErrors` to the `State`
-record. The type also had to change from `State s` to `State s e`. This
-field contains the list of registered `ParseErrors` that do not end
-parsing immediately but still will cause failure in the end if the list is
-not empty. Users are expected to register parse errors using the three
-functions: `registerParseError`, `registerFailure`, and
-`registerFancyFailure`. These functions are analogous to those without the
-`register` prefix, except that they have “delayed” effect.
-
-  * Added the `tokensLength` method to the `Stream` type class to improve
-support for custom input streams.
-
-  * Added the `setErrorOffset` function to set offset of `ParseError`s.
-
-  * Changed type signatures of `reachOffset` and `reachOffsetNoLine` methods
-of the `Stream` type class. Instead of three-tuple `reachOffset` now
-returns two-tuple because `SourcePos` is already contained in the returned
-`PosState` record.
-
-  * Generalized `decimal`, `binary`, `octal`, and `hexadecimal` parsers in
-lexer modules so that they `Num` instead of just `Integral`.
-
-  * Dropped support for GHC 8.2.x and older.
-

-Thu May  2 02:00:53 UTC 2019 - psim...@suse.com
-
-- Update megaparsec to version 7.0.5.
-  ## Megaparsec 7.0.5
-
-  * Dropped support for GHC 7.10.
-
-  * Adapted the code to `MonadFail` changes in `base-4.13`.
-
-  * Separated the test suite into its own package. The reason is that we can
-avoid circular dependency on `hspec-megaparsec` and thus avoid keeping
-copies of its source files in our test suite, as we had to do before.
-Another benefit is that we can export some auxiliary functions in
-`megaparsec-tests` which can be used by other test suites, for example in
-the `parser-combinators-tests` package.
-
-Version of `megaparsec-tests` will be kept in sync with versions of
-`megaparsec` from now on.
-

-Fri Nov  9 03:01:15 UTC 2018 - psim...@suse.com
-
-- Update megaparsec to version 7.0.4.
-  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/megaparsec-7.0.4/src/CHANGELOG.md
-

-Thu Nov  1 03:02:28 UTC 2018 - psim...@suse.com
-
-- Update megaparsec to version 7.0.3.
-  ## Megaparsec 7.0.3
-
-  * Fixed the build with `mtl` older than `2.2.2`.
-

-Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com
-
-- Update megaparsec to version 7.0.2.
-  ## Megaparsec 7.0.2
-
-  * Fixed the property test for `char'` which was failing in the case when
-there is a character with different upper and title cases.
-
-  * More descriptive error messages when `elabel` or `ulabel` from
-`Text.Megaparsec.Error.Builder` are used with empty strings.
-
-  * Typos fixes in the docs.
-

-Wed Oct 10 19:24:09 UTC 2018 - psim...@suse.com
-
-- Update megaparsec to version 7.0.1.
-  ## Megaparsec 7.0.1
-
-  * Fixed a bug in `errorBundlePretty`. Previously the question sign `?` was
-erroneously inserted 

commit ghc-megaparsec for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2019-12-27 13:54:53

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


Package is "ghc-megaparsec"

Fri Dec 27 13:54:53 2019 rev:7 rq:759444 version:8.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2019-05-12 11:36:09.334354151 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.6675/ghc-megaparsec.changes  
2019-12-27 13:55:05.116708077 +0100
@@ -1,0 +2,41 @@
+Fri Nov  8 16:14:11 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Fri Nov  8 03:01:43 UTC 2019 - psim...@suse.com
+
+- Update megaparsec to version 8.0.0.
+  ## Megaparec 8.0.0
+
+  * The methods `failure` and `fancyFailure` of `MonadParsec` are now ordinary
+functions and live in `Text.Megaparsec`. They are defined in terms of the
+new `parseError` method of `MonadParsec`. This method allows us to signal
+parse errors at a given offset without manipulating parser state manually.
+
+  * Megaparsec now supports registration of “delayed” parse errors. On lower
+level we added a new field called `stateParseErrors` to the `State`
+record. The type also had to change from `State s` to `State s e`. This
+field contains the list of registered `ParseErrors` that do not end
+parsing immediately but still will cause failure in the end if the list is
+not empty. Users are expected to register parse errors using the three
+functions: `registerParseError`, `registerFailure`, and
+`registerFancyFailure`. These functions are analogous to those without the
+`register` prefix, except that they have “delayed” effect.
+
+  * Added the `tokensLength` method to the `Stream` type class to improve
+support for custom input streams.
+
+  * Added the `setErrorOffset` function to set offset of `ParseError`s.
+
+  * Changed type signatures of `reachOffset` and `reachOffsetNoLine` methods
+of the `Stream` type class. Instead of three-tuple `reachOffset` now
+returns two-tuple because `SourcePos` is already contained in the returned
+`PosState` record.
+
+  * Generalized `decimal`, `binary`, `octal`, and `hexadecimal` parsers in
+lexer modules so that they `Num` instead of just `Integral`.
+
+  * Dropped support for GHC 8.2.x and older.
+
+---

Old:

  megaparsec-7.0.5.tar.gz

New:

  megaparsec-8.0.0.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.ttOw5a/_old  2019-12-27 13:55:06.528708758 +0100
+++ /var/tmp/diff_new_pack.ttOw5a/_new  2019-12-27 13:55:06.532708760 +0100
@@ -18,11 +18,10 @@
 
 %global pkg_name megaparsec
 Name:   ghc-%{pkg_name}
-Version:7.0.5
+Version:8.0.0
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause
-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
 BuildRequires:  ghc-Cabal-devel
@@ -39,12 +38,11 @@
 
 %description
 This is an industrial-strength monadic parser combinator library.
-Megaparsec is a feature-rich package that strikes a nice balance between speed,
-flexibility, and quality of parse errors.
+Megaparsec is a feature-rich package that tries to find a nice balance between
+speed, flexibility, and quality of parse errors.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -72,6 +70,6 @@
 %license LICENSE.md
 
 %files devel -f %{name}-devel.files
-%doc AUTHORS.md CHANGELOG.md README.md
+%doc CHANGELOG.md README.md
 
 %changelog

++ megaparsec-7.0.5.tar.gz -> megaparsec-8.0.0.tar.gz ++
 2063 lines of diff (skipped)




commit ghc-megaparsec for openSUSE:Factory

2019-05-12 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2019-05-12 11:36:02

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


Package is "ghc-megaparsec"

Sun May 12 11:36:02 2019 rev:6 rq:701771 version:7.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2018-11-13 17:11:29.294749952 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.5148/ghc-megaparsec.changes  
2019-05-12 11:36:09.334354151 +0200
@@ -1,0 +2,20 @@
+Thu May  2 02:00:53 UTC 2019 - psim...@suse.com
+
+- Update megaparsec to version 7.0.5.
+  ## Megaparsec 7.0.5
+
+  * Dropped support for GHC 7.10.
+
+  * Adapted the code to `MonadFail` changes in `base-4.13`.
+
+  * Separated the test suite into its own package. The reason is that we can
+avoid circular dependency on `hspec-megaparsec` and thus avoid keeping
+copies of its source files in our test suite, as we had to do before.
+Another benefit is that we can export some auxiliary functions in
+`megaparsec-tests` which can be used by other test suites, for example in
+the `parser-combinators-tests` package.
+
+Version of `megaparsec-tests` will be kept in sync with versions of
+`megaparsec` from now on.
+
+---

Old:

  megaparsec-7.0.4.tar.gz

New:

  megaparsec-7.0.5.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.qz3xm2/_old  2019-05-12 11:36:11.038359138 +0200
+++ /var/tmp/diff_new_pack.qz3xm2/_new  2019-05-12 11:36:11.042359151 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-megaparsec
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,9 +17,8 @@
 
 
 %global pkg_name megaparsec
-%bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:7.0.4
+Version:7.0.5
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause
@@ -37,11 +36,6 @@
 BuildRequires:  ghc-scientific-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
-%if %{with tests}
-BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-hspec-devel
-BuildRequires:  ghc-hspec-expectations-devel
-%endif
 
 %description
 This is an industrial-strength monadic parser combinator library.
@@ -68,9 +62,6 @@
 %install
 %ghc_lib_install
 
-%check
-%cabal_test
-
 %post devel
 %ghc_pkg_recache
 

++ megaparsec-7.0.4.tar.gz -> megaparsec-7.0.5.tar.gz ++
 5956 lines of diff (skipped)




commit ghc-megaparsec for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2018-11-13 17:01:15

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


Package is "ghc-megaparsec"

Tue Nov 13 17:01:15 2018 rev:5 rq:648468 version:7.0.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2018-11-09 07:52:28.263845328 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2018-11-13 17:11:29.294749952 +0100
@@ -1,0 +2,9 @@
+Fri Nov  9 03:01:15 UTC 2018 - psim...@suse.com
+
+- Update megaparsec to version 7.0.4.
+  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/megaparsec-7.0.4/src/CHANGELOG.md
+
+---

Old:

  megaparsec-7.0.3.tar.gz

New:

  megaparsec-7.0.4.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.wUpFMd/_old  2018-11-13 17:11:30.790747994 +0100
+++ /var/tmp/diff_new_pack.wUpFMd/_new  2018-11-13 17:11:30.790747994 +0100
@@ -19,7 +19,7 @@
 %global pkg_name megaparsec
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:7.0.3
+Version:7.0.4
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause

++ megaparsec-7.0.3.tar.gz -> megaparsec-7.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-7.0.3/CHANGELOG.md 
new/megaparsec-7.0.4/CHANGELOG.md
--- old/megaparsec-7.0.3/CHANGELOG.md   2018-10-31 12:17:51.0 +0100
+++ new/megaparsec-7.0.4/CHANGELOG.md   1970-01-01 01:00:00.0 +0100
@@ -1,3 +1,7 @@
+## Megaparsec 7.0.4
+
+* Numerous documentation corrections.
+
 ## Megaparsec 7.0.3
 
 * Fixed the build with `mtl` older than `2.2.2`.
@@ -10,7 +14,7 @@
 * More descriptive error messages when `elabel` or `ulabel` from
   `Text.Megaparsec.Error.Builder` are used with empty strings.
 
-* Typos fixes in the docs.
+* Typo fixes in the docs.
 
 ## Megaparsec 7.0.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-7.0.3/README.md 
new/megaparsec-7.0.4/README.md
--- old/megaparsec-7.0.3/README.md  2018-10-31 12:17:51.0 +0100
+++ new/megaparsec-7.0.4/README.md  1970-01-01 01:00:00.0 +0100
@@ -40,65 +40,65 @@
 ### Core features
 
 The package is built around `MonadParsec`, an MTL-style monad transformer.
-All tools and features work with all instances of `MonadParsec`. You can
-achieve various effects combining monad transformers, i.e. building a
-monadic stack. Since the common monad transformers like `WriterT`, `StateT`,
-`ReaderT` and others are instances of the `MonadParsec` type class, you can
-wrap `ParsecT` *in* these monads, achieving, for example, backtracking
-state.
+Most features work with all instances of `MonadParsec`. One can achieve
+various effects combining monad transformers, i.e. building a monadic stack.
+Since the common monad transformers like `WriterT`, `StateT`, `ReaderT` and
+others are instances of the `MonadParsec` type class, one can also wrap
+`ParsecT` *in* these monads, achieving, for example, backtracking state.
 
 On the other hand `ParsecT` is an instance of many type classes as well. The
 most useful ones are `Monad`, `Applicative`, `Alternative`, and
 `MonadParsec`.
 
-Megaparsec includes all functionality that is available in Parsec plus
-features some combinators that are missing in other parsing libraries:
-
-* `failure` allows to fail reporting a parse error with unexpected and
-  expected items.
-* `fancyFailure` allows to fail reporting custom error messages.
-* `withRecovery` allows to recover from parse errors “on-the-fly” and
+Megaparsec includes all functionality that is typically available in
+Parsec-like libraries and also features some combinators that are quite
+unique to it:
+
+* `failure` allows us to report a parse error with unexpected and expected
+  items.
+* `fancyFailure` provides a way to report custom parse errors.
+* `withRecovery` can be used to recover from parse errors “on-the-fly” and
   continue parsing. Once parsing is finished, several parse errors may be
   reported or ignored altogether.
-* `observing` allows to “observe” parse errors without ending parsing (they
-  are returned in `Left`, while normal results are wrapped in `Right`).
+* `observing` makes it possible to “observe” parse errors without ending
+  parsing (they are returned in 

commit ghc-megaparsec for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2018-11-09 07:52:19

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


Package is "ghc-megaparsec"

Fri Nov  9 07:52:19 2018 rev:4 rq:646356 version:7.0.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2018-10-25 08:17:50.248031500 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2018-11-09 07:52:28.263845328 +0100
@@ -1,0 +2,22 @@
+Thu Nov  1 03:02:28 UTC 2018 - psim...@suse.com
+
+- Update megaparsec to version 7.0.3.
+  ## Megaparsec 7.0.3
+
+  * Fixed the build with `mtl` older than `2.2.2`.
+
+---
+Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com
+
+- Update megaparsec to version 7.0.2.
+  ## Megaparsec 7.0.2
+
+  * Fixed the property test for `char'` which was failing in the case when
+there is a character with different upper and title cases.
+
+  * More descriptive error messages when `elabel` or `ulabel` from
+`Text.Megaparsec.Error.Builder` are used with empty strings.
+
+  * Typos fixes in the docs.
+
+---

Old:

  megaparsec-7.0.1.tar.gz

New:

  megaparsec-7.0.3.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.4YWmgv/_old  2018-11-09 07:52:30.239843055 +0100
+++ /var/tmp/diff_new_pack.4YWmgv/_new  2018-11-09 07:52:30.267843023 +0100
@@ -19,7 +19,7 @@
 %global pkg_name megaparsec
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:7.0.1
+Version:7.0.3
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause

++ megaparsec-7.0.1.tar.gz -> megaparsec-7.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-7.0.1/CHANGELOG.md 
new/megaparsec-7.0.3/CHANGELOG.md
--- old/megaparsec-7.0.1/CHANGELOG.md   2018-09-15 11:08:53.0 +0200
+++ new/megaparsec-7.0.3/CHANGELOG.md   2018-10-31 12:17:51.0 +0100
@@ -1,3 +1,17 @@
+## Megaparsec 7.0.3
+
+* Fixed the build with `mtl` older than `2.2.2`.
+
+## Megaparsec 7.0.2
+
+* Fixed the property test for `char'` which was failing in the case when
+  there is a character with different upper and title cases.
+
+* More descriptive error messages when `elabel` or `ulabel` from
+  `Text.Megaparsec.Error.Builder` are used with empty strings.
+
+* Typos fixes in the docs.
+
 ## Megaparsec 7.0.1
 
 * Fixed a bug in `errorBundlePretty`. Previously the question sign `?` was
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/megaparsec-7.0.1/README.md 
new/megaparsec-7.0.3/README.md
--- old/megaparsec-7.0.1/README.md  2018-09-15 11:08:53.0 +0200
+++ new/megaparsec-7.0.3/README.md  2018-10-31 12:17:51.0 +0100
@@ -181,9 +181,10 @@
 
 ### Megaparsec vs Attoparsec
 
-[Attoparsec](https://github.com/bos/attoparsec) is another prominent Haskell
-library for parsing. Although the both libraries deal with parsing, it's
-usually easy to decide which you will need in particular project:
+[Attoparsec](https://hackage.haskell.org/package/attoparsec) is another
+prominent Haskell library for parsing. Although the both libraries deal with
+parsing, it's usually easy to decide which you will need in particular
+project:
 
 * *Attoparsec* is sometimes faster but not that feature-rich. It should be
   used when you want to process large amounts of data where performance
@@ -204,8 +205,9 @@
 
 ### Megaparsec vs Parsec
 
-Since Megaparsec is a fork of Parsec, we are bound to list the main
-differences between the two libraries:
+Since Megaparsec is a fork of
+[Parsec](https://hackage.haskell.org/package/parsec), we are bound to list
+the main differences between the two libraries:
 
 * Better error messages. We test our error messages using numerous
   QuickCheck (generative) tests. Good error messages are just as important
@@ -252,8 +254,9 @@
   `takeWhileP`, `takeWhile1P`, `takeP` like Attoparsec.
 
 If you want to see a detailed change log, `CHANGELOG.md` may be helpful.
-Also see [this original announcement](https://notehub.org/w7037) for another
-comparison.
+Also see [this original
+announcement](https://mail.haskell.org/pipermail/haskell-cafe/2015-September/121530.html)
+for another comparison.
 
 ### Megaparsec vs Trifecta
 
@@ -346,7 +349,7 @@
 * [Latest additions to 
Megaparsec](https://markkarpov.com/post/latest-additions-to-megaparsec.html)
 * [Announcing Megaparsec 

commit ghc-megaparsec for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2018-10-25 08:17:25

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


Package is "ghc-megaparsec"

Thu Oct 25 08:17:25 2018 rev:3 rq:642879 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2018-08-20 16:20:31.656916255 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2018-10-25 08:17:50.248031500 +0200
@@ -1,0 +2,153 @@
+Wed Oct 10 19:24:09 UTC 2018 - psim...@suse.com
+
+- Update megaparsec to version 7.0.1.
+  ## Megaparsec 7.0.1
+
+  * Fixed a bug in `errorBundlePretty`. Previously the question sign `?` was
+erroneously inserted before offending line in 2nd and later parse errors.
+
+  ## Megaparsec 7.0.0
+
+  ### General
+
+  * Dropped the `Text.Megaparsec.Perm` module. Use
+`Control.Applicative.Permutations` from `parser-combinators` instead.
+
+  * Dropped the `Text.Megaparsec.Expr` module. Use
+`Control.Monad.Combinators.Expr` from `parser-combinators` instead.
+
+  * The debugging function `dbg` has been moved from `Text.Megaparsec` to its
+own module `Text.Megaparsec.Debug`.
+
+  * Dropped support for GHC 7.8.
+
+  ### Combinators
+
+  * Moved some general combinators from `Text.Megaparsec.Char` and
+`Text.Megaparsec.Byte` to `Text.Megaparsec`, renaming some of them for
+clarity.
+
+Practical consequences:
+
+* Now there is the `single` combinator that is a generalization of `char`
+  for arbitrary streams. `Text.Megaparsec.Char` and `Text.Megaparsec.Byte`
+  still contain `char` as type-constrained versions of `single`.
+
+* Similarly, now there is the `chunk` combinator that is a generalization
+  of `string` for arbitrary streams. The `string` combinator is still
+  re-exported from `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` for
+  compatibility.
+
+* `satisfy` does not depend on type of token, and so it now lives in
+  `Text.Megaparsec`.
+
+* `anyChar` was renamed to `anySingle` and moved to `Text.Megaparsec`.
+
+* `notChar` was renamed to `anySingleBut` and moved to `Text.Megaparsec`.
+
+* `oneOf` and `noneOf` were moved to `Text.Megaparsec`.
+
+  * Simplified the type of the `token` primitive. It now takes just a matching
+function `Token s -> Maybe a` as the first argument and the collection of
+expected items `Set (ErrorItem (Token s))` as the second argument. This
+makes sense because the collection of expected items cannot depend on what
+we see in the input stream.
+
+  * The `label` primitive now doesn't prepend the phrase “the rest of” to the
+label when its inner parser produces hints after consuming input. In that
+case `label` has no effect.
+
+  * Fixed the `Text.Megaparsec.Char.Lexer.charLiteral` so it can accept longer
+escape sequences (max length is now 10).
+
+  * Added the `binDigitChar` functions in `Text.Megaparsec.Byte` and
+`Text.Megaparsec.Char`.
+
+  * Added the `binary` functions in `Text.Megaparsec.Byte.Lexer` and
+`Text.Megaparsec.Char.Lexer`.
+
+  * Improved case-insensitive character matching in the cases when e.g.
+`isLower` and `isUpper` both return `False`. Functions affected:
+`Text.Megaparsec.Char.char'`.
+
+  * Renamed `getPosition` to `getSourcePos`.
+
+  * Renamed `getTokensProcessed` to `getOffset`, `setTokensProcessed` to
+`setOffset`.
+
+  * Dropped `getTabWidth` and `setTabWidth` because tab width is irrelevant to
+parsing process now, it's only relevant for pretty-printing of parse
+errors, which is handled separately.
+
+  * Added and `withParsecT` in `Text.Megaparsec.Internal` to allow changing
+the type of the custom data component in parse errors.
+
+  ### Parser state and input stream
+
+  * Dropped stacks of source positions. Accordingly, the functions
+`pushPosition` and `popPosition` from `Text.Megaparsec` and
+`sourcePosStackPretty` from `Text.Megaparsec.Error` were removed. The
+reason for this simplification is that I could not find any code that uses
+the feature and it makes manipulation of source positions hairy.
+
+  * Introduced `PosState` for calculating `SourcePos` from offsets and getting
+offending line for displaying on pretty-printing of parse errors. It's now
+contained in both `State` and `ParseErrorBundle`.
+
+  * Dropped `positionAt1`, `positionAtN`, `advance1`, and `advanceN` methods
+from `Stream`. They are no longer necessary because `reachOffset` (and its
+specialized version `reachOffsetNoLine`) takes care of `SourcePos`
+calculation.
+
+  ### Parse errors
+
+  * `ParseError` now contains raw offset in input stream instead of
+  

commit ghc-megaparsec for openSUSE:Factory

2018-08-20 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2018-08-20 16:20:28

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


Package is "ghc-megaparsec"

Mon Aug 20 16:20:28 2018 rev:2 rq:630368 version:6.5.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2018-07-24 17:11:53.254487215 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2018-08-20 16:20:31.656916255 +0200
@@ -1,0 +2,5 @@
+Fri Aug 17 14:32:07 UTC 2018 - psim...@suse.com
+
+- Update Cabal build information to support GHC 8.6.x.
+
+---



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.xlKJDB/_old  2018-08-20 16:20:33.216918460 +0200
+++ /var/tmp/diff_new_pack.xlKJDB/_new  2018-08-20 16:20:33.216918460 +0200
@@ -26,7 +26,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/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-case-insensitive-devel

++ megaparsec.cabal ++
--- /var/tmp/diff_new_pack.xlKJDB/_old  2018-08-20 16:20:33.256918516 +0200
+++ /var/tmp/diff_new_pack.xlKJDB/_new  2018-08-20 16:20:33.256918516 +0200
@@ -1,6 +1,6 @@
 name: megaparsec
 version:  6.5.0
-x-revision: 2
+x-revision: 3
 cabal-version:1.18
 tested-with:  GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, 
GHC==8.4.1
 license:  BSD2
@@ -38,7 +38,7 @@
   build-depends:  base >= 4.7   && < 5.0
 , bytestring   >= 0.2   && < 0.11
 , case-insensitive >= 1.2 && < 1.3
-, containers   >= 0.5   && < 0.6
+, containers   >= 0.5   && < 0.7
 , deepseq  >= 1.3   && < 1.5
 , mtl  >= 2.0   && < 3.0
 , parser-combinators >= 0.4 && < 2.0
@@ -102,7 +102,7 @@
   build-depends:  QuickCheck   >= 2.7   && < 2.12
 , base >= 4.7   && < 5.0
 , bytestring   >= 0.2   && < 0.11
-, containers   >= 0.5   && < 0.6
+, containers   >= 0.5   && < 0.7
 , hspec>= 2.0   && < 3.0
 , hspec-expectations >= 0.5 && < 0.9
 , megaparsec




commit ghc-megaparsec for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2018-07-24 17:11:50

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


Package is "ghc-megaparsec"

Tue Jul 24 17:11:50 2018 rev:1 rq:623686 version:6.5.0

Changes:

New Changes file:

--- /dev/null   2018-07-14 11:19:38.193360615 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2018-07-24 17:11:53.254487215 +0200
@@ -0,0 +1,4 @@
+---
+Mon Jul  9 19:45:04 UTC 2018 - psim...@suse.com
+
+- Add megaparsec at version 6.5.0.

New:

  ghc-megaparsec.changes
  ghc-megaparsec.spec
  megaparsec-6.5.0.tar.gz
  megaparsec.cabal



Other differences:
--
++ ghc-megaparsec.spec ++
#
# spec file for package ghc-megaparsec
#
# Copyright (c) 2018 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 megaparsec
%bcond_with tests
Name:   ghc-%{pkg_name}
Version:6.5.0
Release:0
Summary:Monadic parser combinators
License:BSD-2-Clause
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/2.cabal#/%{pkg_name}.cabal
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-case-insensitive-devel
BuildRequires:  ghc-containers-devel
BuildRequires:  ghc-deepseq-devel
BuildRequires:  ghc-mtl-devel
BuildRequires:  ghc-parser-combinators-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-scientific-devel
BuildRequires:  ghc-text-devel
BuildRequires:  ghc-transformers-devel
%if %{with tests}
BuildRequires:  ghc-QuickCheck-devel
BuildRequires:  ghc-hspec-devel
BuildRequires:  ghc-hspec-expectations-devel
%endif

%description
This is an industrial-strength monadic parser combinator library.
Megaparsec is a feature-rich package that strikes a nice balance between speed,
flexibility, and quality of parse errors.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Haskell
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}
cp -p %{SOURCE1} %{pkg_name}.cabal

%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
%license LICENSE.md

%files devel -f %{name}-devel.files
%doc AUTHORS.md CHANGELOG.md README.md

%changelog
++ megaparsec.cabal ++
name: megaparsec
version:  6.5.0
x-revision: 2
cabal-version:1.18
tested-with:  GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, 
GHC==8.4.1
license:  BSD2
license-file: LICENSE.md
author:   Megaparsec contributors,
  Paolo Martini ,
  Daan Leijen 

maintainer:   Mark Karpov 
homepage: https://github.com/mrkkrp/megaparsec
bug-reports:  https://github.com/mrkkrp/megaparsec/issues
category: Parsing
synopsis: Monadic parser combinators
build-type:   Simple
description:

  This is an industrial-strength monadic parser combinator library.
  Megaparsec is a feature-rich package that strikes a nice balance between
  speed, flexibility, and quality of parse errors.

extra-doc-files:  AUTHORS.md
, CHANGELOG.md
, README.md

source-repository head
  type:   git
  location:   https://github.com/mrkkrp/megaparsec.git

flag dev
  description:Turn on development settings.
  

commit ghc-megaparsec for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2017-09-15 21:57:16

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


Package is "ghc-megaparsec"

Fri Sep 15 21:57:16 2017 rev:6 rq:524987 version:5.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2017-08-31 20:48:26.539003999 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2017-09-15 21:57:18.110948319 +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-megaparsec.spec ++
--- /var/tmp/diff_new_pack.7j2z3X/_old  2017-09-15 21:57:18.726861521 +0200
+++ /var/tmp/diff_new_pack.7j2z3X/_new  2017-09-15 21:57:18.730860957 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -37,7 +37,6 @@
 BuildRequires:  ghc-scientific-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-hspec-expectations-devel
@@ -49,7 +48,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}
@@ -77,11 +76,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE.md
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc AUTHORS.md CHANGELOG.md README.md
 
 %changelog




commit ghc-megaparsec for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2017-08-31 20:48:24

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


Package is "ghc-megaparsec"

Thu Aug 31 20:48:24 2017 rev:5 rq:513430 version:5.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2017-07-05 23:59:10.569996700 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2017-08-31 20:48:26.539003999 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:26 UTC 2017 - psim...@suse.com
+
+- Update to version 5.3.1.
+
+---

Old:

  megaparsec-5.2.0.tar.gz
  megaparsec.cabal

New:

  megaparsec-5.3.1.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.SmXjMD/_old  2017-08-31 20:48:27.350890037 +0200
+++ /var/tmp/diff_new_pack.SmXjMD/_new  2017-08-31 20:48:27.350890037 +0200
@@ -19,14 +19,13 @@
 %global pkg_name megaparsec
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:5.2.0
+Version:5.3.1
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-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-QuickCheck-devel
 BuildRequires:  ghc-bytestring-devel
@@ -61,7 +60,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ megaparsec-5.2.0.tar.gz -> megaparsec-5.3.1.tar.gz ++
 3055 lines of diff (skipped)




commit ghc-megaparsec for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2017-07-05 23:59:08

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


Package is "ghc-megaparsec"

Wed Jul  5 23:59:08 2017 rev:4 rq:506812 version:5.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2017-03-03 17:50:57.718653946 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2017-07-05 23:59:10.569996700 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 21:01:48 UTC 2017 - psim...@suse.com
+
+- Update to version 5.2.0 revision 1.
+
+---

New:

  megaparsec.cabal



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.25ppPx/_old  2017-07-05 23:59:11.693838384 +0200
+++ /var/tmp/diff_new_pack.25ppPx/_new  2017-07-05 23:59:11.697837821 +0200
@@ -26,6 +26,7 @@
 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-QuickCheck-devel
 BuildRequires:  ghc-bytestring-devel
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ megaparsec.cabal ++
--
-- Cabal config for Megaparsec.
--
-- Copyright © 2015–2017 Megaparsec contributors
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright notice,
--   this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright
--   notice, this list of conditions and the following disclaimer in the
--   documentation and/or other materials provided with the distribution.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY
-- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
-- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.

name: megaparsec
version:  5.2.0
x-revision: 1
cabal-version:>= 1.10
license:  BSD2
license-file: LICENSE.md
author:   Megaparsec contributors,
  Paolo Martini ,
  Daan Leijen 

maintainer:   Mark Karpov 
homepage: https://github.com/mrkkrp/megaparsec
bug-reports:  https://github.com/mrkkrp/megaparsec/issues
category: Parsing
synopsis: Monadic parser combinators
build-type:   Simple
description:

  This is industrial-strength monadic parser combinator library. Megaparsec
  is a fork of Parsec library originally written by Daan Leijen.

extra-doc-files:  AUTHORS.md
, CHANGELOG.md
, README.md

source-repository head
  type:   git
  location:   https://github.com/mrkkrp/megaparsec.git

flag dev
  description:Turn on development settings.
  manual: True
  default:False

library
  build-depends:  QuickCheck   >= 2.7   && < 2.10
, base >= 4.6   && < 5.0
, bytestring   >= 0.2   && < 0.11
, containers   >= 0.5   && < 0.6
, deepseq  >= 1.3   && < 1.5
, exceptions   >= 0.6   && < 0.9
, mtl  >= 2.0   && < 3.0
, scientific   >= 0.3.1 && < 0.4
, text >= 0.2   && < 1.3
, transformers >= 0.4   && < 0.6

  if !impl(ghc >= 8.0)
-- packages providing modules that moved into base-4.9.0.0
build-depends:fail == 4.9.*

commit ghc-megaparsec for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2017-03-03 17:50:56

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


Package is "ghc-megaparsec"

Fri Mar  3 17:50:56 2017 rev:3 rq:461656 version:5.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2016-11-10 13:24:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2017-03-03 17:50:57.718653946 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:12:09 UTC 2017 - psim...@suse.com
+
+- Update to version 5.2.0 with cabal2obs.
+
+---

Old:

  megaparsec-5.0.1.tar.gz

New:

  megaparsec-5.2.0.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.S9cjjf/_old  2017-03-03 17:50:58.382560179 +0100
+++ /var/tmp/diff_new_pack.S9cjjf/_new  2017-03-03 17:50:58.386559613 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-megaparsec
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -19,7 +19,7 @@
 %global pkg_name megaparsec
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:5.0.1
+Version:5.2.0
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause
@@ -27,6 +27,7 @@
 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-QuickCheck-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-deepseq-devel
@@ -38,11 +39,8 @@
 BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
-BuildRequires:  ghc-HUnit-devel
-BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-test-framework-devel
-BuildRequires:  ghc-test-framework-hunit-devel
-BuildRequires:  ghc-test-framework-quickcheck2-devel
+BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-hspec-expectations-devel
 %endif
 
 %description

++ megaparsec-5.0.1.tar.gz -> megaparsec-5.2.0.tar.gz ++
 9434 lines of diff (skipped)




commit ghc-megaparsec for openSUSE:Factory

2016-11-10 Thread h_root
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2016-11-10 13:24:56

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


Package is "ghc-megaparsec"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes
2016-11-02 12:35:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new/ghc-megaparsec.changes   
2016-11-10 13:24:58.0 +0100
@@ -1,0 +2,5 @@
+Thu Sep 15 07:09:20 UTC 2016 - psim...@suse.com
+
+- Update to version 5.0.1 revision 0 with cabal2obs.
+
+---

Old:

  megaparsec-4.4.0.tar.gz

New:

  megaparsec-5.0.1.tar.gz



Other differences:
--
++ ghc-megaparsec.spec ++
--- /var/tmp/diff_new_pack.X6ZztN/_old  2016-11-10 13:24:59.0 +0100
+++ /var/tmp/diff_new_pack.X6ZztN/_new  2016-11-10 13:24:59.0 +0100
@@ -19,20 +19,21 @@
 %global pkg_name megaparsec
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:4.4.0
+Version:5.0.1
 Release:0
 Summary:Monadic parser combinators
 License:BSD-2-Clause
-Group:  System/Libraries
+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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-fail-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-semigroups-devel
+BuildRequires:  ghc-scientific-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -43,7 +44,6 @@
 BuildRequires:  ghc-test-framework-hunit-devel
 BuildRequires:  ghc-test-framework-quickcheck2-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This is industrial-strength monadic parser combinator library.
@@ -63,20 +63,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ megaparsec-4.4.0.tar.gz -> megaparsec-5.0.1.tar.gz ++
 6693 lines of diff (skipped)