commit ghc-pinch for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-pinch for openSUSE:Factory 
checked in at 2017-09-15 22:04:36

Comparing /work/SRC/openSUSE:Factory/ghc-pinch (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pinch.new (New)


Package is "ghc-pinch"

Fri Sep 15 22:04:36 2017 rev:6 rq:525160 version:0.3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pinch/ghc-pinch.changes  2017-06-21 
13:55:48.863026609 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pinch.new/ghc-pinch.changes 2017-09-15 
22:04:38.900835319 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-pinch.spec ++
--- /var/tmp/diff_new_pack.STSPv4/_old  2017-09-15 22:04:39.560742338 +0200
+++ /var/tmp/diff_new_pack.STSPv4/_new  2017-09-15 22:04:39.564741774 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:An alternative implementation of Thrift for Haskell
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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
 BuildRequires:  ghc-array-devel
@@ -36,7 +36,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-hspec-devel
@@ -59,7 +58,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -87,11 +86,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGES.md README.md examples
 
 %changelog




commit ghc-pinch for openSUSE:Factory

2017-06-21 Thread root
Hello community,

here is the log from the commit of package ghc-pinch for openSUSE:Factory 
checked in at 2017-06-21 13:55:46

Comparing /work/SRC/openSUSE:Factory/ghc-pinch (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pinch.new (New)


Package is "ghc-pinch"

Wed Jun 21 13:55:46 2017 rev:5 rq:504675 version:0.3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pinch/ghc-pinch.changes  2017-06-04 
01:58:29.151585744 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pinch.new/ghc-pinch.changes 2017-06-21 
13:55:48.863026609 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:33 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.2.0.
+
+---

Old:

  pinch-0.3.1.0.tar.gz

New:

  pinch-0.3.2.0.tar.gz



Other differences:
--
++ ghc-pinch.spec ++
--- /var/tmp/diff_new_pack.Y2PbQo/_old  2017-06-21 13:55:51.686628315 +0200
+++ /var/tmp/diff_new_pack.Y2PbQo/_new  2017-06-21 13:55:51.686628315 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pinch
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.1.0
+Version:0.3.2.0
 Release:0
 Summary:An alternative implementation of Thrift for Haskell
 License:BSD-3-Clause

++ pinch-0.3.1.0.tar.gz -> pinch-0.3.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.1.0/CHANGES.md new/pinch-0.3.2.0/CHANGES.md
--- old/pinch-0.3.1.0/CHANGES.md2017-05-14 02:10:22.0 +0200
+++ new/pinch-0.3.2.0/CHANGES.md2017-06-03 23:33:39.0 +0200
@@ -1,3 +1,9 @@
+0.3.2.0 (2017-06-03)
+
+
+-   Compact: Fixed bug which caused incorrect encoding of doubles.
+
+
 0.3.1.0 (2017-05-13)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.1.0/pinch.cabal 
new/pinch-0.3.2.0/pinch.cabal
--- old/pinch-0.3.1.0/pinch.cabal   2017-05-14 02:12:31.0 +0200
+++ new/pinch-0.3.2.0/pinch.cabal   2017-06-03 23:33:27.0 +0200
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:   pinch
-version:0.3.1.0
+version:0.3.2.0
 cabal-version:  >= 1.10
 build-type: Simple
 license:BSD3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.1.0/src/Pinch/Internal/Builder.hs 
new/pinch-0.3.2.0/src/Pinch/Internal/Builder.hs
--- old/pinch-0.3.1.0/src/Pinch/Internal/Builder.hs 2016-07-13 
06:08:03.0 +0200
+++ new/pinch-0.3.2.0/src/Pinch/Internal/Builder.hs 2017-06-03 
23:33:00.0 +0200
@@ -21,7 +21,9 @@
 , int16BE
 , int32BE
 , int64BE
+, int64LE
 , doubleBE
+, doubleLE
 , byteString
 ) where
 
@@ -116,11 +118,22 @@
 int64BE = primFixed BP.int64BE
 {-# INLINE int64BE #-}
 
+-- | Serialize a signed 64-bit integer in little endian format.
+int64LE :: Int64 -> Builder
+int64LE = primFixed BP.int64LE
+{-# INLINE int64LE #-}
+
 -- | Serialize a signed 64-bit floating point number in big endian format.
 doubleBE :: Double -> Builder
 doubleBE = primFixed BP.doubleBE
 {-# INLINE doubleBE #-}
 
+-- | Serialize a signed 64-bit floating point number in little endian format.
+doubleLE :: Double -> Builder
+doubleLE = primFixed BP.doubleLE
+{-# INLINE doubleLE #-}
+
+
 -- | Inlcude the given ByteString as-is in the builder.
 --
 -- Note that because this operation is applied lazily, we will maintain a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.1.0/src/Pinch/Internal/Parser.hs 
new/pinch-0.3.2.0/src/Pinch/Internal/Parser.hs
--- old/pinch-0.3.1.0/src/Pinch/Internal/Parser.hs  2017-01-12 
17:34:48.0 +0100
+++ new/pinch-0.3.2.0/src/Pinch/Internal/Parser.hs  2017-06-03 
23:33:00.0 +0200
@@ -22,7 +22,9 @@
 , int16
 , int32
 , int64
+, int64LE
 , double
+, doubleLE
 , take
 ) where
 
@@ -177,12 +179,34 @@
  fromIntegral (b `BU.unsafeIndex` 7)
 {-# INLINE int64 #-}
 
+-- | Produces a signed 64-bit integer (parsed in little endian byte ordering)
+-- and advances the parser.
+int64LE :: Parser Int64
+int64LE = mk <$> take 8
+  where
+{-# INLINE mk #-}
+mk b = fromIntegral $
+(fromIntegral (b `BU.unsafeIndex` 7) `w64ShiftL` 56) .|.
+(fromIntegral (b `BU.unsafeIndex` 6) `w64ShiftL` 48) .|.
+(fromIntegral (b `BU.unsafeIndex` 5) `w64ShiftL` 40) .|.
+(fromIntegral (b `BU.unsafeIndex` 4) `w64ShiftL` 32) .|.
+(fromIntegral (b `BU.unsafeIndex` 3) `w64ShiftL` 24) .|.
+(fromIntegral (b `BU.unsafeIndex` 2) `w64ShiftL` 16) .|.
+(fromIntegral (b `BU.unsafeIndex` 1) 

commit ghc-pinch for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-pinch for openSUSE:Factory 
checked in at 2017-06-04 01:58:25

Comparing /work/SRC/openSUSE:Factory/ghc-pinch (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pinch.new (New)


Package is "ghc-pinch"

Sun Jun  4 01:58:25 2017 rev:4 rq:499720 version:0.3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pinch/ghc-pinch.changes  2017-02-03 
17:39:37.596349183 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pinch.new/ghc-pinch.changes 2017-06-04 
01:58:29.151585744 +0200
@@ -1,0 +2,5 @@
+Thu May 18 09:52:17 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.1.0 with cabal2obs.
+
+---

Old:

  pinch-0.3.0.2.tar.gz

New:

  pinch-0.3.1.0.tar.gz



Other differences:
--
++ ghc-pinch.spec ++
--- /var/tmp/diff_new_pack.6prhMn/_old  2017-06-04 01:58:29.687510032 +0200
+++ /var/tmp/diff_new_pack.6prhMn/_new  2017-06-04 01:58:29.687510032 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pinch
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.0.2
+Version:0.3.1.0
 Release:0
 Summary:An alternative implementation of Thrift for Haskell
 License:BSD-3-Clause

++ pinch-0.3.0.2.tar.gz -> pinch-0.3.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.0.2/CHANGES.md new/pinch-0.3.1.0/CHANGES.md
--- old/pinch-0.3.0.2/CHANGES.md2017-01-13 08:22:13.0 +0100
+++ new/pinch-0.3.1.0/CHANGES.md2017-05-14 02:10:22.0 +0200
@@ -1,3 +1,9 @@
+0.3.1.0 (2017-05-13)
+
+
+-   Support GHC 8.2 (#14).
+
+
 0.3.0.2 (2017-01-12)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.0.2/pinch.cabal 
new/pinch-0.3.1.0/pinch.cabal
--- old/pinch-0.3.0.2/pinch.cabal   2017-01-13 08:23:21.0 +0100
+++ new/pinch-0.3.1.0/pinch.cabal   2017-05-14 02:12:31.0 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.14.1.
+-- This file has been generated from package.yaml by hpack version 0.15.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   pinch
-version:0.3.0.2
+version:0.3.1.0
 cabal-version:  >= 1.10
 build-type: Simple
 license:BSD3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.0.2/src/Pinch/Internal/Pinchable.hs 
new/pinch-0.3.1.0/src/Pinch/Internal/Pinchable.hs
--- old/pinch-0.3.0.2/src/Pinch/Internal/Pinchable.hs   2017-01-12 
17:34:48.0 +0100
+++ new/pinch-0.3.1.0/src/Pinch/Internal/Pinchable.hs   2017-05-14 
02:08:40.0 +0200
@@ -122,12 +122,13 @@
 unpinch :: Value (Tag a) -> Parser a
 
 default pinch
-:: (Generic a, GPinchable (Rep a)) => a -> Value (GTag (Rep a))
+:: (Generic a, Tag a ~ GTag (Rep a), GPinchable (Rep a))
+=> a -> Value (Tag a)
 pinch = genericPinch
 
 default unpinch
-:: (Generic a, GPinchable (Rep a))
-=> Value (GTag (Rep a)) -> Parser a
+:: (Generic a, Tag a ~ GTag (Rep a), GPinchable (Rep a))
+=> Value (Tag a) -> Parser a
 unpinch = genericUnpinch
 
 




commit ghc-pinch for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package ghc-pinch for openSUSE:Factory 
checked in at 2017-01-31 12:44:47

Comparing /work/SRC/openSUSE:Factory/ghc-pinch (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pinch.new (New)


Package is "ghc-pinch"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pinch/ghc-pinch.changes  2016-11-02 
12:46:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pinch.new/ghc-pinch.changes 2017-02-03 
17:39:37.596349183 +0100
@@ -1,0 +2,5 @@
+Wed Jan 18 09:00:12 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.0.2 with cabal2obs.
+
+---

Old:

  pinch-0.3.0.1.tar.gz

New:

  pinch-0.3.0.2.tar.gz



Other differences:
--
++ ghc-pinch.spec ++
--- /var/tmp/diff_new_pack.tkCS06/_old  2017-02-03 17:39:38.120275027 +0100
+++ /var/tmp/diff_new_pack.tkCS06/_new  2017-02-03 17:39:38.124274461 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pinch
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name pinch
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.0.1
+Version:0.3.0.2
 Release:0
 Summary:An alternative implementation of Thrift for Haskell
 License:BSD-3-Clause
@@ -92,6 +92,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md examples
+%doc CHANGES.md README.md examples
 
 %changelog

++ pinch-0.3.0.1.tar.gz -> pinch-0.3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.0.1/CHANGES.md new/pinch-0.3.0.2/CHANGES.md
--- old/pinch-0.3.0.1/CHANGES.md2016-07-13 06:11:26.0 +0200
+++ new/pinch-0.3.0.2/CHANGES.md2017-01-13 08:22:13.0 +0100
@@ -1,3 +1,9 @@
+0.3.0.2 (2017-01-12)
+
+
+-   Bump upper bound for vector (#11).
+
+
 0.3.0.1 (2016-07-12)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.3.0.1/pinch.cabal 
new/pinch-0.3.0.2/pinch.cabal
--- old/pinch-0.3.0.1/pinch.cabal   2016-07-13 06:11:11.0 +0200
+++ new/pinch-0.3.0.2/pinch.cabal   2017-01-13 08:23:21.0 +0100
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.14.0.
+-- This file has been generated from package.yaml by hpack version 0.14.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:   pinch
-version:0.3.0.1
+version:0.3.0.2
 cabal-version:  >= 1.10
 build-type: Simple
 license:BSD3
@@ -53,7 +53,7 @@
 containers >= 0.5 && < 0.6,
 text >= 1.2 && < 1.3,
 unordered-containers >= 0.2 && < 0.3,
-vector >= 0.10 && < 0.12,
+vector >= 0.10 && < 0.13,
 array >= 0.5,
 deepseq >= 1.3 && < 1.5,
 ghc-prim,
@@ -89,7 +89,7 @@
 containers >= 0.5 && < 0.6,
 text >= 1.2 && < 1.3,
 unordered-containers >= 0.2 && < 0.3,
-vector >= 0.10 && < 0.12,
+vector >= 0.10 && < 0.13,
 hspec >= 2.0,
 hspec-discover >= 2.1,
 pinch,




commit ghc-pinch for openSUSE:Factory

2016-11-02 Thread h_root
Hello community,

here is the log from the commit of package ghc-pinch for openSUSE:Factory 
checked in at 2016-11-02 12:46:58

Comparing /work/SRC/openSUSE:Factory/ghc-pinch (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pinch.new (New)


Package is "ghc-pinch"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pinch/ghc-pinch.changes  2016-10-22 
13:16:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pinch.new/ghc-pinch.changes 2016-11-02 
12:46:58.0 +0100
@@ -1,0 +2,5 @@
+Thu Sep 15 06:41:03 UTC 2016 - psim...@suse.com
+
+- Update to version 0.3.0.1 revision 0 with cabal2obs.
+
+---

Old:

  pinch-0.2.0.2.tar.gz

New:

  pinch-0.3.0.1.tar.gz



Other differences:
--
++ ghc-pinch.spec ++
--- /var/tmp/diff_new_pack.jvV1cH/_old  2016-11-02 12:47:00.0 +0100
+++ /var/tmp/diff_new_pack.jvV1cH/_new  2016-11-02 12:47:00.0 +0100
@@ -19,11 +19,11 @@
 %global pkg_name pinch
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.0.2
+Version:0.3.0.1
 Release:0
 Summary:An alternative implementation of Thrift for Haskell
 License:BSD-3-Clause
-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
@@ -71,19 +71,15 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
 %cabal_test
 
-
 %post devel
 %ghc_pkg_recache
 

++ pinch-0.2.0.2.tar.gz -> pinch-0.3.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.2.0.2/CHANGES.md new/pinch-0.3.0.1/CHANGES.md
--- old/pinch-0.2.0.2/CHANGES.md2016-07-13 06:05:47.0 +0200
+++ new/pinch-0.3.0.1/CHANGES.md2016-07-13 06:11:26.0 +0200
@@ -1,15 +1,27 @@
-0.2.0.2
-===
+0.3.0.1 (2016-07-12)
+
 
 -   Compile on 32-bit systems.
 
-0.2.0.1
-===
+0.3.0.0 (2016-06-02)
+
+
+-   Add support for the Thrift Compact Protocol (#2).
+-   Add support for returning the leftover ByteString when parsing Thrift
+payloads (#3).
+
+0.2.0.2 (2016-07-12)
+
+
+-   Compile on 32-bit systems.
+
+0.2.0.1 (2016-05-23)
+
 
 -   Build with GHC 8.
 
-0.2.0.0
-===
+0.2.0.0 (2015-12-27)
+
 
 Breaking changes:
 
@@ -27,19 +39,19 @@
 -   Improve serialization and deserialization performance further by changing
 the intermediate representation of lists, sets, and maps.
 
-0.1.0.2
-===
+0.1.0.2 (2015-12-27)
+
 
 -   Loosen `vector` version constraint.
 
-0.1.0.1
-===
+0.1.0.1 (2015-11-15)
+
 
 -   Fixed recursion in C pre-processor expansion. This can break the build on
 some systems.
 
-0.1.0.0
-===
+0.1.0.0 (2015-11-15)
+
 
 -   Initial release.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.2.0.2/README.md new/pinch-0.3.0.1/README.md
--- old/pinch-0.2.0.2/README.md 2016-07-13 06:05:47.0 +0200
+++ new/pinch-0.3.0.1/README.md 2016-07-13 06:08:03.0 +0200
@@ -69,11 +69,17 @@
 
 For more information, check the documentation and the examples.
 
+Supported Protocols
+---
+
+The following Thrift protocols are supported:
+
+-   Binary
+-   Compact
+
 Caveats
 ---
 
--   Only the Thrift Binary Protocol is supported right now. (Pull
-requests welcome.)
 -   There is no code generation or template haskell support yet so types from
 the Thrift file will have to be translated by hand.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinch-0.2.0.2/bench/pinch-bench/Bench.hs 
new/pinch-0.3.0.1/bench/pinch-bench/Bench.hs
--- old/pinch-0.2.0.2/bench/pinch-bench/Bench.hs2016-07-13 
06:05:47.0 +0200
+++ new/pinch-0.3.0.1/bench/pinch-bench/Bench.hs2016-07-13 
06:08:03.0 +0200
@@ -152,38 +152,57 @@
 main :: IO ()
 main = defaultMain
 [ bgroup "A"
-[ env (generate :: IO A) $ \a -> bench "encode" $ whnf encode a
-, env generateEncodedA $ \bs -> bench "decode" $
-nf (P.decode P.binaryProtocol :: ByteString -> Either String A) bs
+[ env (generate :: IO A) $ \a -> bgroup "encode"
+[ bench "binary"  $ whnf (P.encode P.binaryProtocol) a
+, bench "compact" $ whnf (P.encode P.compactProtocol) a
+]
+, bgroup