Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-profunctors for openSUSE:Factory
checked in at 2025-07-02 12:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-profunctors (Old)
and /work/SRC/openSUSE:Factory/.ghc-profunctors.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-profunctors"
Wed Jul 2 12:08:11 2025 rev:23 rq:1288399 version:5.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-profunctors/ghc-profunctors.changes
2023-04-04 21:22:45.561991690 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-profunctors.new.7067/ghc-profunctors.changes
2025-07-02 12:08:54.997251159 +0200
@@ -1,0 +2,8 @@
+Tue Jun 17 11:50:52 UTC 2025 - Peter Simons <[email protected]>
+
+- Update profunctors to version 5.6.3.
+ 5.6.3 [2025.06.17]
+ ------------------
+ * Drop support for pre-8.0 versions of GHC.
+
+-------------------------------------------------------------------
Old:
----
profunctors-5.6.2.tar.gz
profunctors.cabal
New:
----
profunctors-5.6.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-profunctors.spec ++++++
--- /var/tmp/diff_new_pack.8Gkob5/_old 2025-07-02 12:08:57.005334971 +0200
+++ /var/tmp/diff_new_pack.8Gkob5/_new 2025-07-02 12:08:57.013335305 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-profunctors
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name profunctors
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
-Version: 5.6.2
+Version: 5.6.3
Release: 0
Summary: Profunctors
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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-orphans-devel
@@ -77,7 +76,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ profunctors-5.6.2.tar.gz -> profunctors-5.6.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/.hlint.yaml
new/profunctors-5.6.3/.hlint.yaml
--- old/profunctors-5.6.2/.hlint.yaml 2001-09-09 03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/.hlint.yaml 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,5 @@
+- arguments: [-XCPP]
+
- extensions:
- default: false # all extension are banned by default
- name:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/CHANGELOG.markdown
new/profunctors-5.6.3/CHANGELOG.markdown
--- old/profunctors-5.6.2/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/profunctors-5.6.3/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,7 @@
+5.6.3 [2025.06.17]
+------------------
+* Drop support for pre-8.0 versions of GHC.
+
5.6.2 [2021.02.17]
------------------
* Add `Semigroup` and `Monoid` instances for `Forget`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/profunctors.cabal
new/profunctors-5.6.3/profunctors.cabal
--- old/profunctors-5.6.2/profunctors.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/profunctors-5.6.3/profunctors.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,6 +1,6 @@
name: profunctors
category: Control, Categories
-version: 5.6.2
+version: 5.6.3
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
@@ -12,14 +12,19 @@
copyright: Copyright (C) 2011-2015 Edward A. Kmett
synopsis: Profunctors
description: Profunctors.
-tested-with: GHC == 7.8.4
- , GHC == 7.10.3
- , GHC == 8.0.2
+tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
- , GHC == 8.8.3
- , GHC == 8.10.1
+ , GHC == 8.8.4
+ , GHC == 8.10.7
+ , GHC == 9.0.2
+ , GHC == 9.2.8
+ , GHC == 9.4.8
+ , GHC == 9.6.6
+ , GHC == 9.8.4
+ , GHC == 9.10.1
+ , GHC == 9.12.2
build-type: Simple
extra-source-files:
.ghci
@@ -31,22 +36,18 @@
source-repository head
type: git
- location: git://github.com/ekmett/profunctors.git
+ location: https://github.com/ekmett/profunctors.git
library
build-depends:
- base >= 4.7 && < 5,
- base-orphans >= 0.8.4 && < 0.9,
+ base >= 4.9 && < 5,
+ base-orphans >= 0.8.4 && < 0.10,
bifunctors >= 5.5.9 && < 6,
comonad >= 5.0.8 && < 6,
contravariant >= 1.5.3 && < 2,
distributive >= 0.5.2 && < 1,
tagged >= 0.8.6.1 && < 1,
- transformers >= 0.3 && < 0.6
-
- if !impl(ghc >= 8.0)
- build-depends: semigroups >= 0.18.5 && < 0.20
-
+ transformers >= 0.3 && < 0.7
exposed-modules:
Data.Profunctor
Data.Profunctor.Adjunction
@@ -65,10 +66,7 @@
Data.Profunctor.Unsafe
Data.Profunctor.Yoneda
- ghc-options: -Wall -O2
-
- if impl(ghc>=8.0)
- ghc-options: -Wno-trustworthy-safe
+ ghc-options: -Wall -O2 -Wno-trustworthy-safe
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Choice.hs
new/profunctors-5.6.3/src/Data/Profunctor/Choice.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Choice.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Choice.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeOperators #-}
@@ -43,13 +42,7 @@
import Data.Profunctor.Types
import Data.Profunctor.Unsafe
import Data.Tagged
-
-#if __GLASGOW_HASKELL__ < 710
-import Data.Traversable
-import Prelude hiding (id,(.),sequence)
-#else
import Prelude hiding (id,(.))
-#endif
------------------------------------------------------------------------------
-- Choice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Mapping.hs
new/profunctors-5.6.3/src/Data/Profunctor/Mapping.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Mapping.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Mapping.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DeriveFunctor #-}
@@ -36,9 +35,6 @@
import Data.Profunctor.Traversing
import Data.Profunctor.Types
import Data.Profunctor.Unsafe
-#if __GLASGOW_HASKELL__ < 710
-import Control.Applicative
-#endif
class (Traversing p, Closed p) => Mapping p where
-- | Laws:
@@ -68,21 +64,7 @@
instance (Monad m, Distributive m) => Mapping (Kleisli m) where
map' (Kleisli f) = Kleisli (collect f)
-#if __GLASGOW_HASKELL__ >= 710
roam f = Kleisli #. genMap f .# runKleisli
-#else
- -- We could actually use this implementation everywhere, but it's kind of a
- -- warty mess, and there have been rumblings of WrappedMonad deprecation.
- -- If/when GHC 7.8 moves out of the support window, this will vanish in a
- -- puff of cleanup.
- roam f = (Kleisli . (unwrapMonad .)) #. genMapW f .# ((WrapMonad .) .
runKleisli)
- where
- genMapW
- :: (Monad m, Distributive m)
- => ((a -> b) -> s -> t)
- -> (a -> WrappedMonad m b) -> s -> WrappedMonad m t
- genMapW abst amb s = WrapMonad $ (\ab -> abst ab s) <$> distribute
(unwrapMonad #. amb)
-#endif
genMap :: Distributive f => ((a -> b) -> s -> t) -> (a -> f b) -> s -> f t
genMap abst afb s = fmap (\ab -> abst ab s) (distribute afb)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Monad.hs
new/profunctors-5.6.3/src/Data/Profunctor/Monad.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Monad.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Monad.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeOperators #-}
@@ -57,11 +56,7 @@
proreturn :: Profunctor p => p :-> t p
projoin :: Profunctor p => t (t p) :-> t p
-#if __GLASGOW_HASKELL__ < 710
-instance (Functor f, Monad f) => ProfunctorMonad (Tannen f) where
-#else
instance Monad f => ProfunctorMonad (Tannen f) where
-#endif
proreturn = Tannen . return
projoin (Tannen m) = Tannen $ m >>= runTannen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Rep.hs
new/profunctors-5.6.3/src/Data/Profunctor/Rep.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Rep.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Rep.hs 2001-09-09
03:46:40.000000000 +0200
@@ -196,7 +196,9 @@
go (xf',xa') = sieve pf xf' <*> sieve pa xa'
instance (Monad (Rep p), Representable p) => Monad (Prep p) where
+#if !(MIN_VERSION_base(4,11,0))
return a = Prep () $ tabulate $ const $ return a
+#endif
Prep xa pa >>= f = Prep xa $ tabulate $ sieve pa >=> \a -> case f a of
Prep xb pb -> sieve pb xb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Traversing.hs
new/profunctors-5.6.3/src/Data/Profunctor/Traversing.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Traversing.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Traversing.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DeriveFunctor #-}
@@ -33,12 +32,6 @@
import Data.Traversable
import Data.Tuple (swap)
-#if __GLASGOW_HASKELL__ < 710
-import Data.Monoid (Monoid)
-import Data.Foldable
-import Prelude hiding (mapM)
-#endif
-
firstTraversing :: Traversing p => p a b -> p (a, c) (b, c)
firstTraversing = dimap swap swap . traverse'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Types.hs
new/profunctors-5.6.3/src/Data/Profunctor/Types.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Types.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Types.hs 2001-09-09
03:46:40.000000000 +0200
@@ -45,10 +45,6 @@
import Data.Traversable
import Prelude hiding (id,(.))
-#if !(MIN_VERSION_base(4,8,0))
-import Data.Monoid (Monoid(..))
-#endif
-
#if !(MIN_VERSION_base(4,11,0))
import Data.Semigroup (Semigroup(..))
#endif
@@ -97,9 +93,6 @@
Star f <|> Star g = Star $ \a -> f a <|> g a
instance Monad f => Monad (Star f a) where
-#if __GLASGOW_HASKELL__ < 710
- return a = Star $ \_ -> return a
-#endif
Star m >>= f = Star $ \ e -> do
a <- m e
runStar (f a) e
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/profunctors-5.6.2/src/Data/Profunctor/Unsafe.hs
new/profunctors-5.6.3/src/Data/Profunctor/Unsafe.hs
--- old/profunctors-5.6.2/src/Data/Profunctor/Unsafe.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/profunctors-5.6.3/src/Data/Profunctor/Unsafe.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE ScopedTypeVariables #-}
-----------------------------------------------------------------------------
@@ -41,9 +40,6 @@
import Data.Bifunctor.Sum (Sum(..))
import Data.Bifunctor.Tannen (Tannen(..))
import Data.Coerce (Coercible, coerce)
-#if __GLASGOW_HASKELL__ < 710
-import Data.Functor
-#endif
import Data.Functor.Contravariant (Contravariant(..))
import Data.Tagged
import Prelude hiding (id,(.))