Hello community,
here is the log from the commit of package ghc-stm-containers for
openSUSE:Factory checked in at 2016-09-05 21:20:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-stm-containers (Old)
and /work/SRC/openSUSE:Factory/.ghc-stm-containers.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-stm-containers"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-stm-containers/ghc-stm-containers.changes
2016-07-27 16:10:58.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-stm-containers.new/ghc-stm-containers.changes
2016-09-05 21:21:00.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Aug 17 18:42:20 UTC 2016 - [email protected]
+
+- Update to version 0.2.15 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
+Mon Jul 25 11:19:22 UTC 2016 - [email protected]
+
+- Update to version 0.2.14 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
stm-containers-0.2.13.tar.gz
New:
----
stm-containers-0.2.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-stm-containers.spec ++++++
--- /var/tmp/diff_new_pack.3LdvYj/_old 2016-09-05 21:21:01.000000000 +0200
+++ /var/tmp/diff_new_pack.3LdvYj/_new 2016-09-05 21:21:01.000000000 +0200
@@ -19,15 +19,14 @@
%global pkg_name stm-containers
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.13
+Version: 0.2.15
Release: 0
Summary: Containers for STM
License: MIT
-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-base-prelude-devel
BuildRequires: ghc-focus-devel
BuildRequires: ghc-hashable-devel
@@ -46,7 +45,6 @@
BuildRequires: ghc-placeholders-devel
BuildRequires: ghc-unordered-containers-devel
%endif
-# End cabal-rpm deps
%description
This library is based on an STM-specialized implementation of a Hash Array
@@ -71,20 +69,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
++++++ stm-containers-0.2.13.tar.gz -> stm-containers-0.2.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/stm-containers-0.2.13/library/STMContainers/Bimap.hs
new/stm-containers-0.2.15/library/STMContainers/Bimap.hs
--- old/stm-containers-0.2.13/library/STMContainers/Bimap.hs 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/Bimap.hs 2016-08-12
09:32:51.000000000 +0200
@@ -9,6 +9,7 @@
insert2,
delete1,
delete2,
+ deleteAll,
lookup1,
lookup2,
focus1,
@@ -114,6 +115,15 @@
delete2 k (Bimap m1 m2) = (inline delete1) k (Bimap m2 m1)
-- |
+-- Delete all the associations.
+{-# INLINE deleteAll #-}
+deleteAll :: Bimap a b -> STM ()
+deleteAll (Bimap m1 m2) =
+ do
+ Map.deleteAll m1
+ Map.deleteAll m2
+
+-- |
-- Focus on a right value by a left value with a strategy.
--
-- This function allows to perform composite operations in a single access
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/stm-containers-0.2.13/library/STMContainers/HAMT/Nodes.hs
new/stm-containers-0.2.15/library/STMContainers/HAMT/Nodes.hs
--- old/stm-containers-0.2.13/library/STMContainers/HAMT/Nodes.hs
2016-05-24 07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/HAMT/Nodes.hs
2016-08-12 09:32:51.000000000 +0200
@@ -173,3 +173,7 @@
Nodes nodes -> size nodes
Leaf _ _ -> pure 1
Leaves _ x -> pure (SizedArray.size x)
+
+deleteAll :: Nodes e -> STM ()
+deleteAll tvar =
+ writeTVar tvar WordArray.empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/stm-containers-0.2.13/library/STMContainers/HAMT.hs
new/stm-containers-0.2.15/library/STMContainers/HAMT.hs
--- old/stm-containers-0.2.13/library/STMContainers/HAMT.hs 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/HAMT.hs 2016-08-12
09:32:51.000000000 +0200
@@ -36,3 +36,7 @@
{-# INLINE stream #-}
stream :: HAMT e -> ListT STM e
stream = Nodes.stream 0
+
+{-# INLINE deleteAll #-}
+deleteAll :: HAMT e -> STM ()
+deleteAll = Nodes.deleteAll
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/stm-containers-0.2.13/library/STMContainers/Map.hs
new/stm-containers-0.2.15/library/STMContainers/Map.hs
--- old/stm-containers-0.2.13/library/STMContainers/Map.hs 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/Map.hs 2016-08-12
09:32:51.000000000 +0200
@@ -6,6 +6,7 @@
newIO,
insert,
delete,
+ deleteAll,
lookup,
focus,
null,
@@ -56,6 +57,12 @@
delete k (Map h) = HAMT.focus Focus.deleteM k h
-- |
+-- Delete all the associations.
+{-# INLINE deleteAll #-}
+deleteAll :: Map k v -> STM ()
+deleteAll (Map h) = HAMT.deleteAll h
+
+-- |
-- Focus on an item by a key with a strategy.
--
-- This function allows to perform composite operations in a single access
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/stm-containers-0.2.13/library/STMContainers/Multimap.hs
new/stm-containers-0.2.15/library/STMContainers/Multimap.hs
--- old/stm-containers-0.2.13/library/STMContainers/Multimap.hs 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/Multimap.hs 2016-08-12
09:32:51.000000000 +0200
@@ -9,6 +9,7 @@
insert,
delete,
deleteByKey,
+ deleteAll,
lookup,
lookupByKey,
focus,
@@ -102,6 +103,12 @@
Map.delete k m
-- |
+-- Delete all the associations.
+{-# INLINE deleteAll #-}
+deleteAll :: Multimap k v -> STM ()
+deleteAll (Multimap h) = Map.deleteAll h
+
+-- |
-- Focus on an item with a strategy by a value and a key.
--
-- This function allows to perform simultaneous lookup and modification.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/stm-containers-0.2.13/library/STMContainers/Set.hs
new/stm-containers-0.2.15/library/STMContainers/Set.hs
--- old/stm-containers-0.2.13/library/STMContainers/Set.hs 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/library/STMContainers/Set.hs 2016-08-12
09:32:51.000000000 +0200
@@ -6,6 +6,7 @@
newIO,
insert,
delete,
+ deleteAll,
lookup,
focus,
null,
@@ -52,6 +53,12 @@
delete e = HAMT.focus Focus.deleteM e . hamt
-- |
+-- Delete all the associations.
+{-# INLINE deleteAll #-}
+deleteAll :: Set e -> STM ()
+deleteAll = HAMT.deleteAll . hamt
+
+-- |
-- Lookup an element.
{-# INLINE lookup #-}
lookup :: (Element e) => e -> Set e -> STM Bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/stm-containers-0.2.13/stm-containers.cabal
new/stm-containers-0.2.15/stm-containers.cabal
--- old/stm-containers-0.2.13/stm-containers.cabal 2016-05-24
07:55:09.000000000 +0200
+++ new/stm-containers-0.2.15/stm-containers.cabal 2016-08-12
09:32:51.000000000 +0200
@@ -1,7 +1,7 @@
name:
stm-containers
version:
- 0.2.13
+ 0.2.15
synopsis:
Containers for STM
description:
@@ -63,7 +63,7 @@
-- data:
hashable < 2,
-- control:
- list-t >= 0.2 && < 0.5,
+ list-t >= 0.2 && < 2,
focus >= 0.1.2 && < 0.2,
transformers >= 0.3 && < 0.6,
-- general:
@@ -71,7 +71,7 @@
base-prelude < 2,
base < 4.10
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
@@ -95,7 +95,7 @@
-- data:
hashable < 1.3,
-- control:
- list-t >= 0.2 && < 0.5,
+ list-t,
focus >= 0.1.2 && < 0.2,
transformers,
-- debugging:
@@ -107,7 +107,7 @@
base-prelude,
base
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
@@ -130,7 +130,7 @@
loch-th == 0.2.*,
placeholders == 0.1.*,
-- general:
- list-t >= 0.2 && < 0.5,
+ list-t,
focus >= 0.1.2 && < 0.2,
unordered-containers == 0.2.*,
free >= 4.6 && < 5,
@@ -140,7 +140,7 @@
base-prelude,
base
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
@@ -155,7 +155,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -164,7 +164,7 @@
criterion == 1.1.*,
-- data:
text < 1.3,
- list-t >= 0.2 && < 0.5,
+ list-t,
focus >= 0.1.2 && < 0.2,
hashable < 1.3,
hashtables >= 1.1 && < 1.3,
@@ -189,7 +189,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -198,7 +198,7 @@
mwc-random-monad == 0.7.*,
-- data:
text < 1.3,
- list-t >= 0.2 && < 0.5,
+ list-t,
focus >= 0.1.2 && < 0.2,
unordered-containers == 0.2.*,
hashable < 1.3,
@@ -223,7 +223,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls,
FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs,
GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash,
MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude,
NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp,
QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables,
StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies,
TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures,
DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances,
FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase,
LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf,
NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards,
ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards,
ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections,
TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -233,7 +233,7 @@
-- data:
containers >= 0.5.2 && < 0.6,
text < 1.3,
- list-t >= 0.2 && < 0.5,
+ list-t,
focus >= 0.1.2 && < 0.2,
unordered-containers == 0.2.*,
hashable < 1.3,