update to 0.2.5.1

This commit is contained in:
Jens Petersen 2019-02-21 12:30:12 +08:00
parent 2440133389
commit 92041315fb
4 changed files with 7 additions and 89 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/vector-binary-instances-0.2.3.4.tar.gz
/vector-binary-instances-0.2.3.5.tar.gz
/vector-binary-instances-0.2.4.tar.gz
/vector-binary-instances-0.2.5.1.tar.gz

View File

@ -7,15 +7,14 @@
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.4
Release: 3%{?dist}
Version: 0.2.5.1
Release: 1%{?dist}
Summary: Binary and Serialize instances for vector
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -55,7 +54,6 @@ development files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -93,6 +91,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.2.5.1-1
- update to 0.2.5.1
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.4-3
- refresh to cabal-rpm-0.13

View File

@ -1 +1 @@
SHA512 (vector-binary-instances-0.2.4.tar.gz) = a01b7c279fed49bd82d40bb1ef4f552161347aab4853db04e7f412f684095aecdf93be2050f1c712357a85f002b3735a394b946d9875a6aa5045d7eeede9a240
SHA512 (vector-binary-instances-0.2.5.1.tar.gz) = a16202b8ca3f88df82c27b37511087008579296363c73fe09ab19b00dee0fbaf98699b79b08d7e7410fcd062c03f2c5d1560f6b1c9ebf1ab8290596a35758be0

View File

@ -1,84 +0,0 @@
Name: vector-binary-instances
Version: 0.2.4
x-revision: 1
Synopsis: Instances of Data.Binary and Data.Serialize 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
-- 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: BSD3
License-file: LICENSE
Author: Don Stewart
Maintainer: dons00@gmail.com, bos@serpentine.com, Ben Gamari <ben@smart-cactus.org>
Tested-With: GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
-- A copyright notice.
-- Copyright:
-- Stability of the pakcage (experimental, provisional, stable...)
Stability: Experimental
Category: Data
Build-type: Simple
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.8
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.12,
vector >= 0.6 && < 0.13,
binary >= 0.5 && < 0.10
Benchmark benchmarks
Type: exitcode-stdio-1.0
Main-is: Benchmarks.hs
Build-depends:
base,
vector-binary-instances,
vector,
bytestring,
binary,
criterion,
deepseq
hs-source-dirs: benchmarks
Test-Suite tests
Type: exitcode-stdio-1.0
Main-is: test/Main.hs
Build-depends:
base,
vector-binary-instances,
vector,
binary,
tasty,
tasty-quickcheck
source-repository head
type: git
location: https://github.com/bos/vector-binary-instances