Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-tree-diff for openSUSE:Factory 
checked in at 2022-10-13 15:43:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tree-diff (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-tree-diff.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-tree-diff"

Thu Oct 13 15:43:23 2022 rev:9 rq:1008536 version:0.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tree-diff/ghc-tree-diff.changes      
2022-08-01 21:31:14.785802346 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tree-diff.new.2275/ghc-tree-diff.changes    
2022-10-13 15:43:40.074916277 +0200
@@ -1,0 +2,8 @@
+Sun Aug 21 14:01:51 UTC 2022 - Peter Simons <[email protected]>
+
+- Update tree-diff to version 0.2.2.
+  ## 0.2.2
+
+  - Add instances for base and primitive's `ByteArray`s.
+
+-------------------------------------------------------------------

Old:
----
  tree-diff-0.2.1.1.tar.gz
  tree-diff.cabal

New:
----
  tree-diff-0.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-tree-diff.spec ++++++
--- /var/tmp/diff_new_pack.BREx2e/_old  2022-10-13 15:43:40.822917737 +0200
+++ /var/tmp/diff_new_pack.BREx2e/_new  2022-10-13 15:43:40.826917745 +0200
@@ -19,13 +19,12 @@
 %global pkg_name tree-diff
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2.1.1
+Version:        0.2.2
 Release:        0
 Summary:        Diffing of (expression) trees
 License:        GPL-2.0-or-later
 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-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -92,7 +91,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ tree-diff-0.2.1.1.tar.gz -> tree-diff-0.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2.1.1/ChangeLog.md 
new/tree-diff-0.2.2/ChangeLog.md
--- old/tree-diff-0.2.1.1/ChangeLog.md  2001-09-09 03:46:40.000000000 +0200
+++ new/tree-diff-0.2.2/ChangeLog.md    2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,7 @@
+## 0.2.2
+
+- Add instances for base and primitive's `ByteArray`s.
+
 ## 0.2.1.1
 
 - Support `base-4.16` (GHC-9.2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2.1.1/src/Data/TreeDiff/Class.hs 
new/tree-diff-0.2.2/src/Data/TreeDiff/Class.hs
--- old/tree-diff-0.2.1.1/src/Data/TreeDiff/Class.hs    2001-09-09 
03:46:40.000000000 +0200
+++ new/tree-diff-0.2.2/src/Data/TreeDiff/Class.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -106,7 +106,11 @@
 import Data.These (These (..))
 
 -- primitive
--- import qualified Data.Primitive as Prim
+import qualified Data.Primitive as Prim
+
+#if MIN_VERSION_base(4,17,0)
+import Data.Array.Byte (ByteArray (..))
+#endif
 
 -- $setup
 -- >>> :set -XDeriveGeneric
@@ -593,4 +597,14 @@
 -- primitive
 -------------------------------------------------------------------------------
 
--- TODO: add instances
+-- | @since 0.2.2
+instance ToExpr Prim.ByteArray where
+    toExpr ba = App "Prim.byteArrayFromList" [toExpr (Prim.foldrByteArray (:) 
[] ba :: [Word8])]
+
+#if MIN_VERSION_base(4,17,0)
+-- | @since 0.2.2
+instance ToExpr ByteArray where
+    toExpr (ByteArray ba) = App "byteArrayFromList" [toExpr 
(Prim.foldrByteArray (:) [] (Prim.ByteArray ba) :: [Word8])]
+#endif
+
+-- TODO: add more instances
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2.1.1/tree-diff.cabal 
new/tree-diff-0.2.2/tree-diff.cabal
--- old/tree-diff-0.2.1.1/tree-diff.cabal       2001-09-09 03:46:40.000000000 
+0200
+++ new/tree-diff-0.2.2/tree-diff.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               tree-diff
-version:            0.2.1.1
+version:            0.2.2
 synopsis:           Diffing of (expression) trees.
 category:           Data, Testing
 description:
@@ -54,8 +54,9 @@
      || ==8.6.5
      || ==8.8.4
      || ==8.10.4
-     || ==9.0.1
-     || ==9.2.1
+     || ==9.0.2
+     || ==9.2.4
+     || ==9.4.1
   , GHCJS ==8.4
 
 extra-source-files:
@@ -84,39 +85,39 @@
 
   -- GHC boot libraries
   build-depends:
-    , base        >=4.5      && <4.17
+    , base        >=4.5      && <4.18
     , bytestring  ^>=0.9.2.1 || ^>=0.10.0.2 || ^>=0.11.0.0
     , containers  ^>=0.4.2.1 || ^>=0.5.0.0 || ^>=0.6.0.1
     , deepseq     ^>=1.3.0.0 || ^>=1.4.0.0
     , parsec      ^>=3.1.13.0
     , pretty      ^>=1.1.1.0
     , text        ^>=1.2.3.0 || ^>=2.0
-    , time        ^>=1.4 || ^>=1.5.0.1 || ^>=1.6.0.1 || ^>=1.8.0.2 || ^>=1.9.3 
|| ^>=1.10 || ^>=1.11 || ^>=1.12
+    , time        >=1.4      && <1.5 || >=1.5.0.1 && <1.6 || >=1.6.0.1 && <1.7 
|| >=1.8.0.2 && <1.9 || >=1.9.3 && <1.13
 
   build-depends:
-    , aeson                 ^>=1.4.6.0 || ^>=1.5.6.0 || ^>=2.0.0.0
+    , aeson                 ^>=1.4.6.0 || ^>=1.5.6.0 || ^>=2.0.0.0 || 
^>=2.1.0.0
     , ansi-terminal         >=0.10       && <0.12
     , ansi-wl-pprint        ^>=0.6.8.2
-    , base-compat           ^>=0.10.5 || ^>=0.11.0 || ^>=0.12
+    , base-compat           >=0.10.5     && <0.11 || >=0.11.0 && <0.13
     , bytestring-builder    ^>=0.10.8.2.0
     , hashable              ^>=1.2.7.0 || ^>=1.3.0.0 || ^>=1.4.0.1
     , parsers               ^>=0.12.10
     , primitive             ^>=0.7.1.0
     , QuickCheck            ^>=2.14.2
     , scientific            ^>=0.3.6.2
-    , semialign             >=1.1        && <1.3
+    , semialign             ^>=1.2.0.1
     , strict                ^>=0.4.0.1
     , tagged                ^>=0.8.6
     , these                 ^>=1.1.1.1
     , unordered-containers  ^>=0.2.8.0
     , uuid-types            ^>=1.0.3
-    , vector                ^>=0.12
+    , vector                ^>=0.12.0.0 || ^>=0.13.0.0
 
   if impl(ghc <7.5)
     build-depends: ghc-prim
 
   if !impl(ghc >=8.0)
-    build-depends: semigroups ^>=0.19.1 || ^>=0.20
+    build-depends: semigroups >=0.19.1 && <0.21
 
   if !impl(ghc >=7.8)
     build-depends: generic-deriving >=1.13.1 && <1.15
@@ -185,5 +186,5 @@
 
   -- extra dependencies
   build-depends:
-    , criterion  ^>=1.5.9.0
+    , criterion  ^>=1.6.0.0
     , Diff       ^>=0.4.0

Reply via email to