Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-vector-binary-instances for
openSUSE:Factory checked in at 2021-11-11 21:37:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vector-binary-instances (Old)
and /work/SRC/openSUSE:Factory/.ghc-vector-binary-instances.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vector-binary-instances"
Thu Nov 11 21:37:47 2021 rev:6 rq:930450 version:0.2.5.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-vector-binary-instances/ghc-vector-binary-instances.changes
2021-04-26 16:40:35.786171355 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-vector-binary-instances.new.1890/ghc-vector-binary-instances.changes
2021-11-11 21:38:39.792986726 +0100
@@ -1,0 +2,6 @@
+Mon Nov 1 08:24:02 UTC 2021 - [email protected]
+
+- Update vector-binary-instances to version 0.2.5.2 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
vector-binary-instances.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vector-binary-instances.spec ++++++
--- /var/tmp/diff_new_pack.srjedR/_old 2021-11-11 21:38:40.144986983 +0100
+++ /var/tmp/diff_new_pack.srjedR/_new 2021-11-11 21:38:40.144986983 +0100
@@ -25,6 +25,7 @@
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-rpm-macros
@@ -61,6 +62,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ vector-binary-instances.cabal ++++++
Cabal-version: 3.0
Name: vector-binary-instances
Version: 0.2.5.2
x-revision: 1
Synopsis: Instances of Data.Binary for vector
Description:
Instances for Binary for the types defined in the vector package,
making it easy to serialize vectors to and from disk. We use the
generic interface to vectors, so all vector types are supported.
Specific instances are provided for unboxed, boxed and storable
vectors.
.
To serialize a vector:
.
> *Data.Vector.Binary> let v = Data.Vector.fromList [1..10]
> *Data.Vector.Binary> v
> fromList [1,2,3,4,5,6,7,8,9,10] :: Data.Vector.Vector
> *Data.Vector.Binary> encode v
> Chunk "\NUL\NUL\NUL\NUL\NUL...\NUL\NUL\NUL\t\NUL\NUL\NUL\NUL\n" Empty
.
Which you can in turn compress before writing to disk:
.
> compress . encode $ v
> Chunk "\US\139\b\NUL\NUL\N...\229\240,\254:\NUL\NUL\NUL" Empty
.
Try the cereal-vector package if you are looking for Data.Serialize
instances.
-- URL for the project homepage or repository.
Homepage: https://github.com/bos/vector-binary-instances
bug-reports: https://github.com/bos/vector-binary-instances/issues
License: BSD-3-Clause
License-file: LICENSE
Author: Don Stewart
Maintainer: [email protected], [email protected], Ben Gamari
<[email protected]>
Tested-With: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.0.2,
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
Stability: Experimental
Category: Data
Build-type: Simple
Library
Ghc-options: -Wall
-- Modules exported by the library.
Exposed-modules:
Data.Vector.Binary
-- Packages needed in order to build this package.
Build-depends:
base > 3 && < 4.17,
vector >= 0.6 && < 0.13,
binary >= 0.5 && < 0.11
Default-Language: Haskell2010
Benchmark benchmarks
Type: exitcode-stdio-1.0
Main-is: Benchmarks.hs
Build-depends:
base >= 4.7,
vector-binary-instances,
vector,
bytestring,
binary,
tasty-bench,
deepseq
hs-source-dirs: benchmarks
Default-Language: Haskell2010
Test-Suite tests
Type: exitcode-stdio-1.0
Main-is: test/Main.hs
Build-depends:
base,
vector-binary-instances,
vector,
binary,
tasty,
tasty-quickcheck
Default-Language: Haskell2010
source-repository head
type: git
location: https://github.com/bos/vector-binary-instances