Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-base-prelude for
openSUSE:Factory checked in at 2022-02-23 16:26:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-prelude (Old)
and /work/SRC/openSUSE:Factory/.ghc-base-prelude.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base-prelude"
Wed Feb 23 16:26:04 2022 rev:15 rq:956893 version:1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-prelude/ghc-base-prelude.changes
2020-12-22 11:35:25.557256367 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-base-prelude.new.1958/ghc-base-prelude.changes
2022-02-23 16:26:50.359509666 +0100
@@ -1,0 +2,22 @@
+Tue Feb 15 14:43:39 UTC 2022 - Peter Simons <[email protected]>
+
+- Update base-prelude to version 1.6.
+ # 1.6
+
+ * Restrict to min GHC 8.6
+ * Add Contravariant
+ * Add OverloadedLabels and Records
+ * Add STM.orElse
+
+ # 1.5
+
+ * Exclude Data.Semigroup.Option
+ * Restrict to min GHC 8.4
+ * Add focused preludes for data types and operators
+
+ # 1.4
+
+ * Restrict to min GHC 8.0 and give preference to MonadFail
+ * Add IsList, Generic1 and export all of System.IO
+
+-------------------------------------------------------------------
Old:
----
base-prelude-1.4.tar.gz
New:
----
base-prelude-1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base-prelude.spec ++++++
--- /var/tmp/diff_new_pack.BMqfku/_old 2022-02-23 16:26:50.903509685 +0100
+++ /var/tmp/diff_new_pack.BMqfku/_new 2022-02-23 16:26:50.907509685 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base-prelude
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,9 @@
%global pkg_name base-prelude
Name: ghc-%{pkg_name}
-Version: 1.4
+Version: 1.6
Release: 0
-Summary: The most complete prelude formed solely from the "base" package
+Summary: Featureful preludes formed solely from the "base" package
License: MIT
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
@@ -36,6 +36,10 @@
This package will never have any dependencies other than "base".
+Besides a rich prelude it provides limited ones like "BasePrelude.DataTypes",
+which only exports the data-types defined across the "base" package, and
+"BasePrelude.Operators", which only exports the common operators.
+
/Versioning policy/
The versioning policy of this package deviates from PVP in the sense that its
++++++ base-prelude-1.4.tar.gz -> base-prelude-1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/CHANGELOG.md
new/base-prelude-1.6/CHANGELOG.md
--- old/base-prelude-1.4/CHANGELOG.md 2020-06-13 12:05:52.000000000 +0200
+++ new/base-prelude-1.6/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,21 @@
+# 1.6
+
+* Restrict to min GHC 8.6
+* Add Contravariant
+* Add OverloadedLabels and Records
+* Add STM.orElse
+
+# 1.5
+
+* Exclude Data.Semigroup.Option
+* Restrict to min GHC 8.4
+* Add focused preludes for data types and operators
+
+# 1.4
+
+* Restrict to min GHC 8.0 and give preference to MonadFail
+* Add IsList, Generic1 and export all of System.IO
+
# 1.3
* Give preference to Semigroup definitions over Monoid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/Setup.hs
new/base-prelude-1.6/Setup.hs
--- old/base-prelude-1.4/Setup.hs 2020-06-13 12:05:52.000000000 +0200
+++ new/base-prelude-1.6/Setup.hs 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-import Distribution.Simple
-main = defaultMain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/base-prelude.cabal
new/base-prelude-1.6/base-prelude.cabal
--- old/base-prelude-1.4/base-prelude.cabal 2020-06-13 12:05:52.000000000
+0200
+++ new/base-prelude-1.6/base-prelude.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,61 +1,47 @@
-name:
- base-prelude
-version:
- 1.4
-synopsis:
- The most complete prelude formed solely from the "base" package
+cabal-version: 3.0
+
+name: base-prelude
+version: 1.6
+synopsis: Featureful preludes formed solely from the "base" package
description:
A library which aims to reexport all the non-conflicting and
most general definitions from the \"base\" package.
This includes APIs for applicatives, arrows, monoids, foldables,
traversables,
exceptions, generics, ST, MVars and STM.
- .
+
This package will never have any dependencies other than \"base\".
- .
+
+ Besides a rich prelude it provides limited ones like "BasePrelude.DataTypes",
+ which only exports the data-types defined across the \"base\" package,
+ and "BasePrelude.Operators", which only exports the common operators.
+
/Versioning policy/
- .
+
The versioning policy of this package deviates from PVP in the sense
that its exports in part are transitively determined by the version of
\"base\".
Therefore it's recommended for the users of \"base-prelude\" to specify
the bounds of \"base\" as well.
-category:
- Prelude
-homepage:
- https://github.com/nikita-volkov/base-prelude
-bug-reports:
- https://github.com/nikita-volkov/base-prelude/issues
-author:
- Nikita Volkov <[email protected]>
-maintainer:
- Nikita Volkov <[email protected]>
-copyright:
- (c) 2014, Nikita Volkov
-license:
- MIT
-license-file:
- LICENSE
-build-type:
- Simple
-extra-source-files:
- CHANGELOG.md
-cabal-version:
- >=1.10
-
+category: Prelude
+homepage: https://github.com/nikita-volkov/base-prelude
+bug-reports: https://github.com/nikita-volkov/base-prelude/issues
+author: Nikita Volkov <[email protected]>
+maintainer: Nikita Volkov <[email protected]>
+copyright: (c) 2014, Nikita Volkov
+license: MIT
+license-file: LICENSE
+build-type: Simple
+extra-source-files: CHANGELOG.md
source-repository head
- type:
- git
- location:
- git://github.com/nikita-volkov/base-prelude.git
-
+ type: git
+ location: git://github.com/nikita-volkov/base-prelude.git
library
- hs-source-dirs:
- library
- other-modules:
+ hs-source-dirs: library
+ default-language: Haskell2010
exposed-modules:
BasePrelude
+ BasePrelude.DataTypes
+ BasePrelude.Operators
build-depends:
- base >= 4.9 && < 5
- default-language:
- Haskell2010
+ base >=4.12 && <5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/library/BasePrelude/DataTypes.hs
new/base-prelude-1.6/library/BasePrelude/DataTypes.hs
--- old/base-prelude-1.4/library/BasePrelude/DataTypes.hs 1970-01-01
01:00:00.000000000 +0100
+++ new/base-prelude-1.6/library/BasePrelude/DataTypes.hs 2001-09-09
03:46:40.000000000 +0200
@@ -0,0 +1,51 @@
+-- |
+-- A module that reexports only the data types
+-- defined across various modules of the \"base\" package.
+--
+-- By data types we mean that it is the ones we use
+-- to define data structures.
+-- It is not abstraction integration wrappers,
+-- like 'Data.Semigroup.First'.
+-- It is not resource types like 'System.IO.Handle'.
+module BasePrelude.DataTypes
+ ( -- * From "Prelude"
+ Prelude.Bool (..),
+ Prelude.Char,
+ Prelude.Double,
+ Prelude.Either (..),
+ Prelude.Float,
+ Prelude.Integer,
+ Prelude.Maybe (..),
+ Prelude.String,
+
+ -- * From "Data.Int"
+ Data.Int.Int,
+ Data.Int.Int16,
+ Data.Int.Int32,
+ Data.Int.Int64,
+ Data.Int.Int8,
+
+ -- * From "Data.Word"
+ Data.Word.Word,
+ Data.Word.Word16,
+ Data.Word.Word32,
+ Data.Word.Word64,
+ Data.Word.Word8,
+
+ -- * From "Data.Ratio"
+ Data.Ratio.Rational,
+
+ -- * From "Numeric.Natural"
+ Numeric.Natural.Natural,
+
+ -- * From "Data.List.NonEmpty"
+ Data.List.NonEmpty.NonEmpty (..),
+ )
+where
+
+import qualified Data.Int
+import qualified Data.List.NonEmpty
+import qualified Data.Ratio
+import qualified Data.Word
+import qualified Numeric.Natural
+import qualified Prelude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/library/BasePrelude/Operators.hs
new/base-prelude-1.6/library/BasePrelude/Operators.hs
--- old/base-prelude-1.4/library/BasePrelude/Operators.hs 1970-01-01
01:00:00.000000000 +0100
+++ new/base-prelude-1.6/library/BasePrelude/Operators.hs 2001-09-09
03:46:40.000000000 +0200
@@ -0,0 +1,79 @@
+-- |
+-- A collection of common operators provided across
+-- various modules of the \"base\" package.
+module BasePrelude.Operators
+ ( -- * From "Control.Applicative"
+ (Control.Applicative.*>),
+ (Control.Applicative.<*),
+ (Control.Applicative.<*>),
+ (Control.Applicative.<|>),
+
+ -- * From "Control.Monad"
+ (Control.Monad.<=<),
+ (Control.Monad.=<<),
+ (Control.Monad.>=>),
+ (Control.Monad.>>),
+ (Control.Monad.>>=),
+
+ -- * From "Data.Bits"
+ (Data.Bits..&.),
+ (Data.Bits..|.),
+
+ -- * From "Data.Bool"
+ (Data.Bool.&&),
+ (Data.Bool.||),
+ (Data.Eq./=),
+ (Data.Eq.==),
+
+ -- * From "Data.Function"
+ (Data.Function.$),
+ (Data.Function.&),
+ (Data.Function..),
+
+ -- * From "Data.Functor"
+ (Data.Functor.$>),
+ (Data.Functor.<$),
+ (Data.Functor.<$>),
+ (Data.Functor.<&>),
+
+ -- * From "Data.Functor.Contravariant"
+ (Data.Functor.Contravariant.>$),
+ (Data.Functor.Contravariant.>$<),
+ (Data.Functor.Contravariant.>$$<),
+ (Data.Functor.Contravariant.$<),
+
+ -- * From "Data.Ord"
+ (Data.Ord.<),
+ (Data.Ord.<=),
+ (Data.Ord.>),
+ (Data.Ord.>=),
+
+ -- * From "Data.Ratio"
+ (Data.Ratio.%),
+
+ -- * From "Data.Semigroup"
+ (Data.Semigroup.<>),
+
+ -- * From "Prelude"
+ (Prelude.$!),
+ (Prelude.*),
+ (Prelude.+),
+ (Prelude.-),
+ (Prelude./),
+ (Prelude.^),
+ (Prelude.^^),
+ )
+where
+
+import qualified Control.Applicative
+import qualified Control.Monad
+import qualified Data.Bits
+import qualified Data.Bool
+import qualified Data.Eq
+import qualified Data.Function
+import qualified Data.Functor
+import qualified Data.Functor.Contravariant
+import qualified Data.Ord
+import qualified Data.Ratio
+import qualified Data.Semigroup
+import qualified Prelude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-prelude-1.4/library/BasePrelude.hs
new/base-prelude-1.6/library/BasePrelude.hs
--- old/base-prelude-1.4/library/BasePrelude.hs 2020-06-13 12:05:52.000000000
+0200
+++ new/base-prelude-1.6/library/BasePrelude.hs 2001-09-09 03:46:40.000000000
+0200
@@ -1,23 +1,19 @@
-- |
--- This module reexports most of the definitions from the \"base\" package,
--- which are meant to be imported unqualified.
+-- Reexports of most of the definitions from the \"base\" package,
+-- which it is a common practice to import unqualified.
--
-- For details check out the source.
module BasePrelude
-(
- module Exports,
-)
+ ( module Exports,
+ )
where
--- Reexports
--------------------------
-
import Control.Applicative as Exports
import Control.Arrow as Exports hiding (first, second)
import Control.Category as Exports
import Control.Concurrent as Exports
import Control.Exception as Exports
-import Control.Monad as Exports hiding (mapM_, sequence_, forM_, msum, mapM,
sequence, forM, fail)
+import Control.Monad as Exports hiding (fail, forM, forM_, mapM, mapM_, msum,
sequence, sequence_)
import Control.Monad.Fail as Exports
import Control.Monad.Fix as Exports hiding (fix)
import Control.Monad.IO.Class as Exports
@@ -33,23 +29,24 @@
import Data.Either as Exports
import Data.Fixed as Exports
import Data.Foldable as Exports hiding (toList)
-import Data.Function as Exports hiding ((.), id)
+import Data.Function as Exports hiding (id, (.))
import Data.Functor as Exports
import Data.Functor.Classes as Exports
import Data.Functor.Compose as Exports
+import Data.Functor.Contravariant as Exports
import Data.Functor.Identity as Exports
-import Data.Int as Exports
import Data.IORef as Exports
+import Data.Int as Exports
import Data.Ix as Exports
import Data.List as Exports hiding (all, and, any, concat, concatMap, elem,
find, foldl, foldl', foldl1, foldr, foldr1, mapAccumL, mapAccumR, maximum,
maximumBy, minimum, minimumBy, notElem, or, product, sum)
-import Data.List.NonEmpty as Exports (NonEmpty(..))
+import Data.List.NonEmpty as Exports (NonEmpty (..))
import Data.Maybe as Exports
-import Data.Monoid as Exports hiding ((<>), First(..), Last(..))
+import Data.Monoid as Exports hiding (First (..), Last (..), (<>))
import Data.Ord as Exports
import Data.Proxy as Exports
import Data.Ratio as Exports
-import Data.Semigroup as Exports
import Data.STRef as Exports
+import Data.Semigroup as Exports hiding (Option)
import Data.String as Exports
import Data.Traversable as Exports
import Data.Tuple as Exports
@@ -62,13 +59,14 @@
import Foreign.Ptr as Exports
import Foreign.StablePtr as Exports
import Foreign.Storable as Exports
-import GHC.Conc as Exports hiding (withMVar, threadWaitWriteSTM,
threadWaitWrite, threadWaitReadSTM, threadWaitRead)
-import GHC.Exts as Exports (lazy, inline, sortWith, groupWith, IsList(..))
+import GHC.Conc as Exports hiding (orElse, threadWaitRead, threadWaitReadSTM,
threadWaitWrite, threadWaitWriteSTM, withMVar)
+import GHC.Exts as Exports (IsList (..), groupWith, inline, lazy, sortWith)
import GHC.Generics as Exports (Generic, Generic1)
import GHC.IO.Exception as Exports
+import GHC.OverloadedLabels as Exports
+import GHC.Records as Exports
import Numeric as Exports
import Numeric.Natural as Exports
-import Prelude as Exports hiding (concat, foldr, mapM_, sequence_, foldl1,
maximum, minimum, product, sum, all, and, any, concatMap, elem, foldl, foldr1,
notElem, or, mapM, sequence, id, (.), fail)
import System.Environment as Exports
import System.Exit as Exports
import System.IO as Exports
@@ -78,7 +76,8 @@
import System.Mem.StableName as Exports
import System.Timeout as Exports
import Text.ParserCombinators.ReadP as Exports (ReadP, ReadS, readP_to_S,
readS_to_P)
-import Text.ParserCombinators.ReadPrec as Exports (ReadPrec, readPrec_to_P,
readP_to_Prec, readPrec_to_S, readS_to_Prec)
-import Text.Printf as Exports (printf, hPrintf)
-import Text.Read as Exports (Read(..), readMaybe, readEither)
+import Text.ParserCombinators.ReadPrec as Exports (ReadPrec, readP_to_Prec,
readPrec_to_P, readPrec_to_S, readS_to_Prec)
+import Text.Printf as Exports (hPrintf, printf)
+import Text.Read as Exports (Read (..), readEither, readMaybe)
import Unsafe.Coerce as Exports
+import Prelude as Exports hiding (all, and, any, concat, concatMap, elem,
fail, foldl, foldl1, foldr, foldr1, id, mapM, mapM_, maximum, minimum, notElem,
or, product, sequence, sequence_, sum, (.))