Hello community,
here is the log from the commit of package ghc-megaparsec for
openSUSE:Leap:15.2 checked in at 2020-02-19 18:39:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-megaparsec (Old)
and /work/SRC/openSUSE:Leap:15.2/.ghc-megaparsec.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-megaparsec"
Wed Feb 19 18:39:58 2020 rev:11 rq:771372 version:8.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-megaparsec/ghc-megaparsec.changes
2020-01-15 15:02:18.945806677 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.ghc-megaparsec.new.26092/ghc-megaparsec.changes
2020-02-19 18:39:59.270100199 +0100
@@ -1,0 +2,61 @@
+Fri Nov 8 16:14:11 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Fri Nov 8 03:01:43 UTC 2019 - [email protected]
+
+- 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 - [email protected]
+
+- 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-8.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-megaparsec.spec ++++++
--- /var/tmp/diff_new_pack.wRyQeg/_old 2020-02-19 18:39:59.634100646 +0100
+++ /var/tmp/diff_new_pack.wRyQeg/_new 2020-02-19 18:39:59.638100651 +0100
@@ -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,13 +17,11 @@
%global pkg_name megaparsec
-%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 7.0.4
+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
@@ -37,20 +35,14 @@
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.
+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}
@@ -68,9 +60,6 @@
%install
%ghc_lib_install
-%check
-%cabal_test
-
%post devel
%ghc_pkg_recache
@@ -81,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.4.tar.gz -> megaparsec-8.0.0.tar.gz ++++++
++++ 7767 lines of diff (skipped)