Hello community,
here is the log from the commit of package ghc-case-insensitive for
openSUSE:Factory checked in at 2016-03-26 15:25:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-case-insensitive (Old)
and /work/SRC/openSUSE:Factory/.ghc-case-insensitive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-case-insensitive"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-case-insensitive/ghc-case-insensitive.changes
2015-10-08 08:24:39.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-case-insensitive.new/ghc-case-insensitive.changes
2016-03-26 15:26:05.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Mar 16 09:12:05 UTC 2016 - [email protected]
+
+- update to 1.2.0.6
+* Add Semigroup s => Semigroup (CI s) instance
+
+-------------------------------------------------------------------
Old:
----
case-insensitive-1.2.0.5.tar.gz
New:
----
case-insensitive-1.2.0.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-case-insensitive.spec ++++++
--- /var/tmp/diff_new_pack.5VaNR5/_old 2016-03-26 15:26:06.000000000 +0100
+++ /var/tmp/diff_new_pack.5VaNR5/_new 2016-03-26 15:26:06.000000000 +0100
@@ -19,7 +19,7 @@
%global pkg_name case-insensitive
Name: ghc-case-insensitive
-Version: 1.2.0.5
+Version: 1.2.0.6
Release: 0
Summary: Case insensitive string comparison
License: BSD-3-Clause
@@ -35,6 +35,7 @@
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-hashable-devel
+BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-text-devel
# End cabal-rpm deps
++++++ case-insensitive-1.2.0.5.tar.gz -> case-insensitive-1.2.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/case-insensitive-1.2.0.5/CHANGELOG
new/case-insensitive-1.2.0.6/CHANGELOG
--- old/case-insensitive-1.2.0.5/CHANGELOG 2015-10-01 10:50:04.000000000
+0200
+++ new/case-insensitive-1.2.0.6/CHANGELOG 2016-03-15 14:46:07.000000000
+0100
@@ -1,3 +1,9 @@
+1.2.0.6
+
+* Add Travis CI support
+* Add Semigroup s => Semigroup (CI s) instance
+
+
1.2.0.5
* Support HUnit-1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/case-insensitive-1.2.0.5/Data/CaseInsensitive/Internal.hs
new/case-insensitive-1.2.0.6/Data/CaseInsensitive/Internal.hs
--- old/case-insensitive-1.2.0.5/Data/CaseInsensitive/Internal.hs
2015-10-01 10:50:04.000000000 +0200
+++ new/case-insensitive-1.2.0.6/Data/CaseInsensitive/Internal.hs
2016-03-15 14:46:07.000000000 +0100
@@ -30,19 +30,20 @@
--------------------------------------------------------------------------------
-- from base:
-import Data.Bool ( (||) )
-import Data.Char ( Char, toLower )
-import Data.Eq ( Eq, (==) )
-import Data.Function ( on )
-import Data.Monoid ( Monoid, mempty, mappend )
-import Data.Ord ( Ord, compare )
-import Data.String ( IsString, fromString )
-import Data.Data ( Data )
-import Data.Typeable ( Typeable )
-import Data.Word ( Word8 )
-import Prelude ( (.), fmap, (&&), (+), (<=), otherwise )
-import Text.Read ( Read, readPrec )
-import Text.Show ( Show, showsPrec )
+import Data.Bool ( (||) )
+import Data.Char ( Char, toLower )
+import Data.Eq ( Eq, (==) )
+import Data.Function ( on )
+import Data.Monoid ( Monoid, mempty, mappend )
+import Data.Ord ( Ord, compare )
+import Data.String ( IsString, fromString )
+import Data.Data ( Data )
+import Data.Typeable ( Typeable )
+import Data.Word ( Word8 )
+import Prelude ( (.), fmap, (&&), (+), (<=), otherwise )
+import Text.Read ( Read, readPrec )
+import Text.Show ( Show, showsPrec )
+import Data.Semigroup ( Semigroup, (<>) )
import qualified Data.List as L ( map )
@@ -109,6 +110,9 @@
instance (IsString s, FoldCase s) => IsString (CI s) where
fromString = mk . fromString
+instance Semigroup s => Semigroup (CI s) where
+ CI o1 l1 <> CI o2 l2 = CI (o1 <> o2) (l1 <> l2)
+
instance Monoid s => Monoid (CI s) where
mempty = CI mempty mempty
CI o1 l1 `mappend` CI o2 l2 = CI (o1 `mappend` o2) (l1 `mappend` l2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/case-insensitive-1.2.0.5/case-insensitive.cabal
new/case-insensitive-1.2.0.6/case-insensitive.cabal
--- old/case-insensitive-1.2.0.5/case-insensitive.cabal 2015-10-01
10:50:04.000000000 +0200
+++ new/case-insensitive-1.2.0.6/case-insensitive.cabal 2016-03-15
14:46:07.000000000 +0100
@@ -1,5 +1,5 @@
name: case-insensitive
-version: 1.2.0.5
+version: 1.2.0.6
cabal-version: >=1.8
build-type: Simple
license: BSD3
@@ -16,6 +16,14 @@
type like: 'String', 'ByteString', 'Text',
etc.. Comparisons of values of the resulting type will be
insensitive to cases.
+tested-with:
+ GHC==7.0.4,
+ GHC==7.2.2
+ GHC==7.4.2,
+ GHC==7.6.3,
+ GHC==7.8.4,
+ GHC==7.10.3,
+ GHC==8.0.1
extra-source-files: README.markdown CHANGELOG pg2189.txt
@@ -25,11 +33,13 @@
Library
ghc-options: -Wall
- build-depends: base >= 3 && < 4.9
+ build-depends: base >= 3 && < 4.10
, bytestring >= 0.9 && < 0.11
, text >= 0.3 && < 1.3
, deepseq >= 1.1 && < 1.5
, hashable >= 1.0 && < 1.3
+ if !impl(ghc >= 8.0)
+ build-depends: semigroups >= 0.18 && < 0.19
exposed-modules: Data.CaseInsensitive, Data.CaseInsensitive.Unsafe
other-modules: Data.CaseInsensitive.Internal
@@ -39,7 +49,7 @@
hs-source-dirs: test
build-depends: case-insensitive
- , base >= 3 && < 4.9
+ , base >= 3 && < 4.10
, bytestring >= 0.9 && < 0.11
, text >= 0.3 && < 1.3
, HUnit >= 1.2.2 && < 1.4
@@ -56,7 +66,7 @@
ghc-options: -Wall -O2
build-depends: case-insensitive
- , base >= 3 && < 4.9
+ , base >= 3 && < 4.10
, bytestring >= 0.9 && < 0.11
, criterion >= 0.6.1 && < 1.2
, deepseq >= 1.1 && < 1.5